Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: cpufreq: mediatek: Add MediaTek CCI property

MediaTek Cache Coherent Interconnect (CCI) uses software devfreq module
for scaling clock frequency and adjust voltage.
The phandle could be linked between CPU and MediaTek CCI for some
MediaTek SoCs, like MT8183 and MT8186.

The reason we need the link status between cpufreq and MediaTek cci is
cpufreq and mediatek cci could share the same regulator in some MediaTek
SoCs. Therefore, to prevent the issue of high frequency and low voltage,
we need to use this to make sure mediatek cci is ready.

Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

authored by

Rex-BC Chen and committed by
Viresh Kumar
818c8321 85f5b3c4

+7
+7
Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt
··· 20 20 Vsram to fit SoC specific needs. When absent, the voltage scaling 21 21 flow is handled by hardware, hence no software "voltage tracking" is 22 22 needed. 23 + - mediatek,cci: 24 + Used to confirm the link status between cpufreq and mediatek cci. Because 25 + cpufreq and mediatek cci could share the same regulator in some MediaTek SoCs. 26 + To prevent the issue of high frequency and low voltage, we need to use this 27 + property to make sure mediatek cci is ready. 28 + For details of mediatek cci, please refer to 29 + Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml 23 30 - #cooling-cells: 24 31 For details, please refer to 25 32 Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml