From fc0cfca6f35292614950859c5231375581133547 Mon Sep 17 00:00:00 2001 From: Todd Broch Date: Fri, 22 Feb 2013 14:24:19 -0800 Subject: [PATCH] CHROMIUM: dts: spring: Enable TPS65090 regulators in device tree. 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 Change-Id: Icf3e55f78d7d7081e303e91df92e3df25c922a31 Reviewed-on: https://gerrit.chromium.org/gerrit/43945 Reviewed-by: Vincent Palatin --- arch/arm/boot/dts/exynos5250-spring.dts | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index f8e06990f848..ab1b1514baf4 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -297,6 +297,38 @@ 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>; + }; + }; + }; }; }; -- 2.20.1