CHROMIUM: exynos: dvfs: fix default slew rate for Maxim 77686 PMIC
authorSonny Rao <sonnyrao@chromium.org>
Fri, 6 Jul 2012 12:05:30 +0000 (05:05 -0700)
committerGerrit <chrome-bot@google.com>
Sat, 7 Jul 2012 01:42:38 +0000 (18:42 -0700)
The device tree specifies the default voltage slew rate for the
Maxim 77686 regulator which is powering the CPU rail, but it is giving
the incorrect value.  The value isn't well specified as it merely points
to a table in the regulator code, but the current value of 2 points to the
55 mv/usec rate instead of the actual default which is 27.5 mv/usec.
This happened to work because the maxim regulator code was incorrectly
ignoring the value coming from the device tree, and choosing the
appropriate default.  Fix the first part by changing the default value
to 1 which is 27.5 mV/uS.

BUG=chrome-os-partner:10891
TEST=none, requires further driver fix to test

Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Change-Id: I192a24d96f0642c58f555c89061df0a5e86508d9
Reviewed-on: https://gerrit.chromium.org/gerrit/26852
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Tested-by: Sonny Rao <sonnyrao@chromium.org>
Commit-Ready: Sonny Rao <sonnyrao@chromium.org>

arch/arm/boot/dts/cros5250-common.dtsi
arch/arm/boot/dts/exynos5250-smdk5250.dts

index 3dbda27..e5559f9 100644 (file)
@@ -45,7 +45,7 @@
                        interrupts = <26 0>;
                        reg = <0x9>;
 
-                       max77686,buck_ramp_delay = <2>;         /* default */
+                       max77686,buck_ramp_delay = <1>;         /* default */
 
                        voltage-regulators {
                                ldo11_reg: LDO11 {
index eb5df65..a8e8577 100644 (file)
@@ -55,7 +55,7 @@
                        interrupts = <26 0>;
                        reg = <0x9>;
 
-                       max77686,buck_ramp_delay = <2>;         /* default */
+                       max77686,buck_ramp_delay = <1>;         /* default */
 
                        voltage-regulators {
                                ldo11_reg: LDO11 {