CHROMIUM: dts: spring: Enable TPS65090 regulators in device tree.
authorTodd Broch <tbroch@chromium.org>
Fri, 22 Feb 2013 22:24:19 +0000 (14:24 -0800)
committerChromeBot <chrome-bot@google.com>
Tue, 26 Feb 2013 02:37:16 +0000 (18:37 -0800)
BUG=chrome-os-partner:17813
TEST=manual
1. compile, boot & login to system as root
2. See new regulators in sysfs
   cat /sys/devices/s3c2440-i2c.4/i2c-4/4-001e/cros_ec-tps65090.*/regulator/regulator.*/name

Signed-off-by: Todd Broch <tbroch@chromium.org>
Change-Id: Icf3e55f78d7d7081e303e91df92e3df25c922a31
Reviewed-on: https://gerrit.chromium.org/gerrit/43945
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
arch/arm/boot/dts/exynos5250-spring.dts

index f8e0699..ab1b151 100644 (file)
                                        sbs,poll-retry-count = <1>;
                                };
                        };
+
+                       power-regulator {
+                               compatible = "ti,cros_ec-tps65090";
+
+                               voltage-regulators {
+                                       VFET1 {
+                                               tps65090-control-reg = <0x0f>;
+                                               regulator-name = "vcd_led";
+                                               regulator-min-microvolt = <12000000>;
+                                               regulator-max-microvolt = <12000000>;
+                                       };
+                                       VFET3 {
+                                               tps65090-control-reg = <0x11>;
+                                               regulator-name = "wwan_r";
+                                               regulator-min-microvolt = <3300000>;
+                                               regulator-max-microvolt = <3300000>;
+                                               regulator-always-on;
+                                       };
+                                       VFET6 {
+                                               tps65090-control-reg = <0x14>;
+                                               regulator-name = "lcd_vdd";
+                                               regulator-min-microvolt = <3300000>;
+                                               regulator-max-microvolt = <3300000>;
+                                       };
+                                       VFET7 {
+                                               tps65090-control-reg = <0x15>;
+                                               regulator-name = "ts";
+                                               regulator-min-microvolt = <5000000>;
+                                               regulator-max-microvolt = <5000000>;
+                                       };
+                               };
+                       };
                };
        };