diff options
author | Octav Zlatior <octav.zlatior@theobroma-systems.com> | 2015-05-11 17:34:31 +0200 |
---|---|---|
committer | Klaus Goger <klaus.goger@theobroma-systems.com> | 2015-07-30 18:53:00 +0200 |
commit | ef7be38dda56059775c96408938657123b7cc8f8 (patch) | |
tree | 9b96866afb0e31e9f3bf6479c1d92e32cf9d1e52 | |
parent | e9e3fcffe8f77bd1f3f583eec624307568b6ae1e (diff) |
ARM: sun6i: set cpu operating points and ramp-rate
* operating points for different frequencies with voltages set to optimize
power consumption
* clock latency and ramp-rate: these values seem to provide enough time for
the voltage to adjust before frequency changes
Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-pangolin.dts | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-pangolin.dts b/arch/arm/boot/dts/sun6i-a31-pangolin.dts index 249f4b1b6006..06024744bb9f 100644 --- a/arch/arm/boot/dts/sun6i-a31-pangolin.dts +++ b/arch/arm/boot/dts/sun6i-a31-pangolin.dts @@ -81,14 +81,17 @@ &cpu0 { cpu-supply = <&vdd_cpu>; operating-points = < - /* kHz uV */ - 1008000 1200000 - 864000 1200000 - 720000 1100000 - 480000 1000000 - 240000 1000000 - 120000 1000000 + /* kHz uV */ + 1200000 1320000 + 1080000 1220000 + 832000 1120000 + 600000 1020000 + 480000 980000 + 360000 980000 + 240000 980000 + 120000 940000 >; + clock-latency = <300000>; }; &ehci0 { @@ -127,7 +130,7 @@ pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>; /* pull-ups and devices require AXP221 DLDO3 */ - status = "failed"; + status = "okay"; }; &i2c1 { @@ -238,10 +241,11 @@ }; vdd_cpu: dcdc3 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1300000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <1350000>; regulator-always-on; regulator-name = "vdd-cpu"; + regulator-ramp-delay = <50>; }; vdd_system: dcdc4 { |