devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator
@ 2014-11-13  9:31 Hans de Goede
       [not found] ` <1415871109-28332-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Hans de Goede @ 2014-11-13  9:31 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede,
	Bruno Prémont

This avoids it getting briefly turned off between when the regulator getting
registered and the ahci driver turning it back on, thus avoiding the disk
going into emergency head park mode.

Cc: Bruno Prémont <bonbons-ud5FBsm0p/xEiooADzr8i9i2O/JbrIOy@public.gmane.org>
Reported-and-tested-by: Bruno Prémont <bonbons-ud5FBsm0p/xEiooADzr8i9i2O/JbrIOy@public.gmane.org>
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
 arch/arm/boot/dts/sunxi-common-regulators.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/sunxi-common-regulators.dtsi b/arch/arm/boot/dts/sunxi-common-regulators.dtsi
index c9c5b10..a950671 100644
--- a/arch/arm/boot/dts/sunxi-common-regulators.dtsi
+++ b/arch/arm/boot/dts/sunxi-common-regulators.dtsi
@@ -44,6 +44,7 @@
 		regulator-name = "ahci-5v";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
 		enable-active-high;
 		gpio = <&pio 1 8 0>;
 		status = "disabled";
-- 
2.1.0

-- 
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-11-14 11:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13  9:31 [PATCH 1/7] ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator Hans de Goede
     [not found] ` <1415871109-28332-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-13  9:31   ` [PATCH 2/7] ARM: dts: sun4i: Add simplefb node Hans de Goede
2014-11-13  9:31   ` [PATCH 3/7] ARM: dts: sun5i: " Hans de Goede
2014-11-13  9:31   ` [PATCH 4/7] ARM: dts: sun6i: " Hans de Goede
     [not found]     ` <1415871109-28332-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-13 16:46       ` Maxime Ripard
2014-11-13 17:52         ` Hans de Goede
     [not found]           ` <5464EFF9.9010203-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-14 10:24             ` Maxime Ripard
2014-11-14 10:30               ` Hans de Goede
     [not found]                 ` <5465D9B1.8010707-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-14 11:21                   ` Maxime Ripard
2014-11-13  9:31   ` [PATCH 5/7] ARM: dts: sun7i: " Hans de Goede
2014-11-13  9:31   ` [PATCH 6/7] ARM: dts: sun6i: Add EHCI support for the M9 board Hans de Goede
     [not found]     ` <1415871109-28332-6-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-13 16:47       ` Maxime Ripard
2014-11-13  9:31   ` [PATCH 7/7] ARM: dts: sun6i: Add support for the status led Hans de Goede
     [not found]     ` <1415871109-28332-7-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-13 16:48       ` Maxime Ripard
2014-11-13 16:49   ` [PATCH 1/7] ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).