summaryrefslogtreecommitdiffstats
path: root/patches/linux-3.12/0291-ARM-dts-omap3-n900-Specify-regulator-info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/linux-3.12/0291-ARM-dts-omap3-n900-Specify-regulator-info.patch')
-rw-r--r--patches/linux-3.12/0291-ARM-dts-omap3-n900-Specify-regulator-info.patch108
1 files changed, 108 insertions, 0 deletions
diff --git a/patches/linux-3.12/0291-ARM-dts-omap3-n900-Specify-regulator-info.patch b/patches/linux-3.12/0291-ARM-dts-omap3-n900-Specify-regulator-info.patch
new file mode 100644
index 0000000..e635f1a
--- /dev/null
+++ b/patches/linux-3.12/0291-ARM-dts-omap3-n900-Specify-regulator-info.patch
@@ -0,0 +1,108 @@
+From: Sebastian Reichel <sre@debian.org>
+Date: Wed, 23 Oct 2013 00:49:38 +0200
+Subject: [PATCH] ARM: dts: omap3-n900: Specify regulator info
+
+Add regulator names and voltage information to
+the Nokia N900 DTS file.
+
+Signed-off-by: Sebastian Reichel <sre@debian.org>
+Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
+---
+ arch/arm/boot/dts/omap3-n900.dts | 84 ++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 84 insertions(+)
+
+diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
+index c7e0d2d..0a45af3 100644
+--- a/arch/arm/boot/dts/omap3-n900.dts
++++ b/arch/arm/boot/dts/omap3-n900.dts
+@@ -142,6 +142,90 @@
+ #include "twl4030.dtsi"
+ #include "twl4030_omap3.dtsi"
+
++&vaux1 {
++ regulator-name = "V28";
++ regulator-min-microvolt = <2800000>;
++ regulator-max-microvolt = <2800000>;
++ regulator-always-on; /* due battery cover sensor */
++};
++
++&vaux2 {
++ regulator-name = "VCSI";
++ regulator-min-microvolt = <1800000>;
++ regulator-max-microvolt = <1800000>;
++};
++
++&vaux3 {
++ regulator-name = "VMMC2_30";
++ regulator-min-microvolt = <2800000>;
++ regulator-max-microvolt = <3000000>;
++};
++
++&vaux4 {
++ regulator-name = "VCAM_ANA_28";
++ regulator-min-microvolt = <2800000>;
++ regulator-max-microvolt = <2800000>;
++};
++
++&vmmc1 {
++ regulator-name = "VMMC1";
++ regulator-min-microvolt = <1850000>;
++ regulator-max-microvolt = <3150000>;
++};
++
++&vmmc2 {
++ regulator-name = "V28_A";
++ regulator-min-microvolt = <2800000>;
++ regulator-max-microvolt = <3000000>;
++ regulator-always-on; /* due VIO leak to AIC34 VDDs */
++};
++
++&vpll1 {
++ regulator-name = "VPLL";
++ regulator-min-microvolt = <1800000>;
++ regulator-max-microvolt = <1800000>;
++ regulator-always-on;
++};
++
++&vpll2 {
++ regulator-name = "VSDI_CSI";
++ regulator-min-microvolt = <1800000>;
++ regulator-max-microvolt = <1800000>;
++ regulator-always-on;
++};
++
++&vsim {
++ regulator-name = "VMMC2_IO_18";
++ regulator-min-microvolt = <1800000>;
++ regulator-max-microvolt = <1800000>;
++};
++
++&vio {
++ regulator-name = "VIO";
++ regulator-min-microvolt = <1800000>;
++ regulator-max-microvolt = <1800000>;
++
++};
++
++&vintana1 {
++ regulator-name = "VINTANA1";
++ /* fixed to 1500000 */
++ regulator-always-on;
++};
++
++&vintana2 {
++ regulator-name = "VINTANA2";
++ regulator-min-microvolt = <2750000>;
++ regulator-max-microvolt = <2750000>;
++ regulator-always-on;
++};
++
++&vintdig {
++ regulator-name = "VINTDIG";
++ /* fixed to 1500000 */
++ regulator-always-on;
++};
++
+ &twl {
+ twl_audio: audio {
+ compatible = "ti,twl4030-audio";