Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380491

[PATCH] ARM: dts: omap3-n900: Specify peripherals LDO regulators initial mode

From Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] ARM: dts: omap3-n900: Specify peripherals LDO regulators initial mode
Date 2016-04-16 08:40 +0200
Message-ID <ros3E-7Ia-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Without that, regulators are left in the mode last set by the bootloader or
by the kernel the device was rebooted from. This leads to various problems
like non-working peripherals.

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
---
 arch/arm/boot/dts/omap3-n900.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index b3c26a9..1bb36e2 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -329,6 +329,7 @@
 	regulator-name = "V28";
 	regulator-min-microvolt = <2800000>;
 	regulator-max-microvolt = <2800000>;
+	regulator-initial-mode = <0x0e>;
 	regulator-always-on; /* due to battery cover sensor */
 };
 
@@ -336,30 +337,35 @@
 	regulator-name = "VCSI";
 	regulator-min-microvolt = <1800000>;
 	regulator-max-microvolt = <1800000>;
+	regulator-initial-mode = <0x0e>;
 };
 
 &vaux3 {
 	regulator-name = "VMMC2_30";
 	regulator-min-microvolt = <2800000>;
 	regulator-max-microvolt = <3000000>;
+	regulator-initial-mode = <0x0e>;
 };
 
 &vaux4 {
 	regulator-name = "VCAM_ANA_28";
 	regulator-min-microvolt = <2800000>;
 	regulator-max-microvolt = <2800000>;
+	regulator-initial-mode = <0x0e>;
 };
 
 &vmmc1 {
 	regulator-name = "VMMC1";
 	regulator-min-microvolt = <1850000>;
 	regulator-max-microvolt = <3150000>;
+	regulator-initial-mode = <0x0e>;
 };
 
 &vmmc2 {
 	regulator-name = "V28_A";
 	regulator-min-microvolt = <2800000>;
 	regulator-max-microvolt = <3000000>;
+	regulator-initial-mode = <0x0e>;
 	regulator-always-on; /* due VIO leak to AIC34 VDDs */
 };
 
@@ -367,6 +373,7 @@
 	regulator-name = "VPLL";
 	regulator-min-microvolt = <1800000>;
 	regulator-max-microvolt = <1800000>;
+	regulator-initial-mode = <0x0e>;
 	regulator-always-on;
 };
 
@@ -374,6 +381,7 @@
 	regulator-name = "VSDI_CSI";
 	regulator-min-microvolt = <1800000>;
 	regulator-max-microvolt = <1800000>;
+	regulator-initial-mode = <0x0e>;
 	regulator-always-on;
 };
 
@@ -381,6 +389,7 @@
 	regulator-name = "VMMC2_IO_18";
 	regulator-min-microvolt = <1800000>;
 	regulator-max-microvolt = <1800000>;
+	regulator-initial-mode = <0x0e>;
 };
 
 &vio {
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: dts: omap3-n900: Specify peripherals LDO regulators initial mode Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-04-16 08:40 +0200
  Re: [PATCH] ARM: dts: omap3-n900: Specify peripherals LDO regulators  initial mode Sebastian Reichel <sre@kernel.org> - 2016-04-17 02:10 +0200
    Re: [PATCH] ARM: dts: omap3-n900: Specify peripherals LDO regulators  initial mode Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-04-17 08:20 +0200
      Re: [PATCH] ARM: dts: omap3-n900: Specify peripherals LDO regulators  initial mode Sebastian Reichel <sre@kernel.org> - 2016-04-17 14:30 +0200
        [PATCH v1] ARM: dts: omap3-n900: Specify peripherals LDO regulators initial mode Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-04-17 16:40 +0200
          Re: [PATCH v1] ARM: dts: omap3-n900: Specify peripherals LDO  regulators initial mode Sebastian Reichel <sre@kernel.org> - 2016-04-18 07:20 +0200
          Re: [PATCH v1] ARM: dts: omap3-n900: Specify peripherals LDO  regulators initial mode Javier Martinez Canillas <javier@dowhile0.org> - 2016-04-19 23:20 +0200
          Re: [PATCH v1] ARM: dts: omap3-n900: Specify peripherals LDO  regulators initial mode Pavel Machek <pavel@ucw.cz> - 2016-04-24 12:10 +0200
            Re: [PATCH v1] ARM: dts: omap3-n900: Specify peripherals LDO  regulators initial mode Tony Lindgren <tony@atomide.com> - 2016-04-26 19:20 +0200

csiph-web