From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Subject: [PATCH 1/7] ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator Date: Thu, 13 Nov 2014 10:31:43 +0100 Message-ID: <1415871109-28332-1-git-send-email-hdegoede@redhat.com> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Maxime Ripard Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Hans de Goede , =?UTF-8?q?Bruno=20Pr=C3=A9mont?= List-Id: devicetree@vger.kernel.org This avoids it getting briefly turned off between when the regulator gettin= g registered and the ahci driver turning it back on, thus avoiding the disk going into emergency head park mode. Cc: Bruno Pr=C3=A9mont Reported-and-tested-by: Bruno Pr=C3=A9mont Signed-off-by: Hans de Goede --- 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 =3D "ahci-5v"; regulator-min-microvolt =3D <5000000>; regulator-max-microvolt =3D <5000000>; + regulator-boot-on; enable-active-high; gpio =3D <&pio 1 8 0>; status =3D "disabled"; --=20 2.1.0 --=20 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 e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.