replace the TI patch with a smaller patchset
[openwrt/openwrt.git] / target / linux / omap / patches-3.12 / 805-ARM_dts_TWL4030_Add_missing_regulators.patch
diff --git a/target/linux/omap/patches-3.12/805-ARM_dts_TWL4030_Add_missing_regulators.patch b/target/linux/omap/patches-3.12/805-ARM_dts_TWL4030_Add_missing_regulators.patch
new file mode 100644 (file)
index 0000000..22d6f95
--- /dev/null
@@ -0,0 +1,82 @@
+From b86684d70f1e45cae4a85686e6f78d5db341fa85 Mon Sep 17 00:00:00 2001
+From: Sebastian Reichel <sre@debian.org>
+Date: Tue, 22 Oct 2013 22:49:37 +0000
+Subject: ARM: dts: TWL4030: Add missing regulators
+
+The twl4030.dtsi is missing some regulators. This patch adds
+the missing ones and orders the regulators alphabetically.
+
+Signed-off-by: Sebastian Reichel <sre@debian.org>
+Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
+---
+diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
+index ae6a17a..cb5afcd 100644
+--- a/arch/arm/boot/dts/twl4030.dtsi
++++ b/arch/arm/boot/dts/twl4030.dtsi
+@@ -23,6 +23,22 @@
+               compatible = "ti,twl4030-wdt";
+       };
++      vaux1: regulator-vaux1 {
++              compatible = "ti,twl4030-vaux1";
++      };
++
++      vaux2: regulator-vaux2 {
++              compatible = "ti,twl4030-vaux2";
++      };
++
++      vaux3: regulator-vaux3 {
++              compatible = "ti,twl4030-vaux3";
++      };
++
++      vaux4: regulator-vaux4 {
++              compatible = "ti,twl4030-vaux4";
++      };
++
+       vcc: regulator-vdd1 {
+               compatible = "ti,twl4030-vdd1";
+               regulator-min-microvolt = <600000>;
+@@ -35,10 +51,20 @@
+               regulator-max-microvolt = <1800000>;
+       };
+-      vpll2: regulator-vpll2 {
+-              compatible = "ti,twl4030-vpll2";
+-              regulator-min-microvolt = <1800000>;
+-              regulator-max-microvolt = <1800000>;
++      vio: regulator-vio {
++              compatible = "ti,twl4030-vio";
++      };
++
++      vintana1: regulator-vintana1 {
++              compatible = "ti,twl4030-vintana1";
++      };
++
++      vintana2: regulator-vintana2 {
++              compatible = "ti,twl4030-vintana2";
++      };
++
++      vintdig: regulator-vintdig {
++              compatible = "ti,twl4030-vintdig";
+       };
+       vmmc1: regulator-vmmc1 {
+@@ -65,6 +91,16 @@
+               compatible = "ti,twl4030-vusb3v1";
+       };
++      vpll1: regulator-vpll1 {
++              compatible = "ti,twl4030-vpll1";
++      };
++
++      vpll2: regulator-vpll2 {
++              compatible = "ti,twl4030-vpll2";
++              regulator-min-microvolt = <1800000>;
++              regulator-max-microvolt = <1800000>;
++      };
++
+       vsim: regulator-vsim {
+               compatible = "ti,twl4030-vsim";
+               regulator-min-microvolt = <1800000>;
+--
+cgit v0.9.2