diff options
author | Ranjani Vaidyanathan <ra5478@freescale.com> | 2013-08-16 12:19:16 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:01:16 -0500 |
commit | f2c66915dcc5a6ce309ed3c78efd930786373125 (patch) | |
tree | 36744bccbbd6f3672314d97db123640bc756b264 /Documentation | |
parent | 2a7b3ac19150caeee1eac35e2dcc2fefd6155d0a (diff) |
ENGR00273792-1 Cpufreq:iMX6x:Improve CPUFREQ driver.
Add support for VDDSOC/VDDPU operating points that track
the VDDARM cap to the device tree.
Add the description for soc-operating-points that need to be added to
the device tree files.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/cpufreq/cpufreq-imx6q.txt | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-imx6q.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-imx6q.txt new file mode 100644 index 000000000000..ae90613f754e --- /dev/null +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-imx6q.txt @@ -0,0 +1,59 @@ +iMX6q/iMX6dl/iMX6sl specific CPUFREQ settings + +iMX6q/iMX6dl/iMX6sl has limitation that a couple of voltage rails (VDDSOC_CAP and VDDPU_CAP) +must track VDDARM_CAP within 50mV: +VDDARM_CAP - VDDSOC_CAP/VDDPU_CAP <= 50mV + +The VDDSOC_CAP and VDDPU_CAP operating points for various VDDARM_CAP settings are listed below. + +Required properties: +- fsl,soc-operating-points: Refer to Documentation/devicetree/bindings/power/opp.txt + for details. It is a voltage frequency tuple. + +- For other entries in the example below please refer to Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt + +Examples: + +cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + compatible = "arm,cortex-a9"; + reg = <0>; + next-level-cache = <&L2>; + operating-points = < + /* kHz uV */ + 1200000 1275000 + 996000 1250000 + 792000 1175000 + 396000 1075000 + >; + fsl,soc-operating-points = < + /* ARM kHz SOC-PU uV */ + 1200000 1275000 + 996000 1250000 + 792000 1175000 + 396000 1175000 + >; + clock-latency = <61036>; /* two CLK32 periods */ + }; + + cpu@1 { + compatible = "arm,cortex-a9"; + reg = <1>; + next-level-cache = <&L2>; + }; + + cpu@2 { + compatible = "arm,cortex-a9"; + reg = <2>; + next-level-cache = <&L2>; + }; + + cpu@3 { + compatible = "arm,cortex-a9"; + reg = <3>; + next-level-cache = <&L2>; + }; +}; |