1 From d83532fe7eb9cc7b8cc39dd9f2bbd9873d4e390b Mon Sep 17 00:00:00 2001
2 From: "pi-cheng.chen" <pi-cheng.chen@linaro.org>
3 Date: Mon, 8 Jun 2015 20:29:20 +0800
4 Subject: [PATCH 32/76] dt-bindings: mediatek: Add MT8173 cpufreq driver
7 This patch adds device tree binding document for MT8173 cpufreq driver.
9 Signed-off-by: Pi-Cheng Chen <pi-cheng.chen@linaro.org>
11 .../devicetree/bindings/cpufreq/cpufreq-mt8173.txt | 127 ++++++++++++++++++++
12 1 file changed, 127 insertions(+)
13 create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mt8173.txt
15 diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-mt8173.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-mt8173.txt
17 index 0000000..7708a65
19 +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-mt8173.txt
22 +Mediatek MT8173 cpufreq driver
25 +Mediatek MT8173 cpufreq driver for CPU frequency scaling.
28 +- clocks: A list of phandle + clock-specifier pairs for the clocks listed in clock names.
29 +- clock-names: Should contain the following:
30 + "cpu" - The multiplexer for clock input of CPU cluster.
31 + "intermediate" - A parent of "cpu" clock which is used as "intermediate" clock
32 + source (usually MAINPLL) when the original CPU PLL is under
33 + transition and not stable yet.
34 +- operating-points: Table of frequencies and voltage CPU could be transitioned into,
35 + Frequency should be in KHz units and voltage should be in microvolts.
36 +- proc-supply: Regulator for Vproc of CPU cluster.
39 +- sram-supply: Regulator for Vsram of CPU cluster. When present, the cpufreq driver
40 + needs to do "voltage trace" to step by step scale up/down Vproc and
41 + Vsram to fit SoC specific needs. When absent, the voltage scaling
42 + flow is handled by hardware, hence no software "voltage trace" is
48 + device_type = "cpu";
49 + compatible = "arm,cortex-a53";
51 + enable-method = "psci";
52 + cpu-idle-states = <&CPU_SLEEP_0>;
53 + clocks = <&infracfg CLK_INFRA_CA53SEL>,
54 + <&apmixedsys CLK_APMIXED_MAINPLL>;
55 + clock-names = "cpu", "intermediate";
56 + operating-points = <
69 + device_type = "cpu";
70 + compatible = "arm,cortex-a53";
72 + enable-method = "psci";
73 + cpu-idle-states = <&CPU_SLEEP_0>;
74 + clocks = <&infracfg CLK_INFRA_CA53SEL>,
75 + <&apmixedsys CLK_APMIXED_MAINPLL>;
76 + clock-names = "cpu", "intermediate";
77 + operating-points = <
90 + device_type = "cpu";
91 + compatible = "arm,cortex-a57";
93 + enable-method = "psci";
94 + cpu-idle-states = <&CPU_SLEEP_0>;
95 + clocks = <&infracfg CLK_INFRA_CA57SEL>,
96 + <&apmixedsys CLK_APMIXED_MAINPLL>;
97 + clock-names = "cpu", "intermediate";
98 + operating-points = <
111 + device_type = "cpu";
112 + compatible = "arm,cortex-a57";
114 + enable-method = "psci";
115 + cpu-idle-states = <&CPU_SLEEP_0>;
116 + clocks = <&infracfg CLK_INFRA_CA57SEL>,
117 + <&apmixedsys CLK_APMIXED_MAINPLL>;
118 + clock-names = "cpu", "intermediate";
119 + operating-points = <
132 + proc-supply = <&mt6397_vpca15_reg>;
136 + proc-supply = <&mt6397_vpca15_reg>;
140 + proc-supply = <&da9211_vcpu_reg>;
141 + sram-supply = <&mt6397_vsramca7_reg>;
145 + proc-supply = <&da9211_vcpu_reg>;
146 + sram-supply = <&mt6397_vsramca7_reg>;