From: Hans de Goede Date: Thu, 13 Nov 2014 09:31:43 +0000 (+0100) Subject: ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator X-Git-Tag: firefly_0821_release~176^2~2766^2~15^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0d716ea960e55bacbcd1ae93e4c6186dfe4b65a8;p=firefly-linux-kernel-4.4.55.git ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator 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. Reported-by: Bruno Prémont Tested-by: Bruno Prémont Signed-off-by: Hans de Goede Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sunxi-common-regulators.dtsi b/arch/arm/boot/dts/sunxi-common-regulators.dtsi index be5cfa335ae4..d8876634f965 100644 --- a/arch/arm/boot/dts/sunxi-common-regulators.dtsi +++ b/arch/arm/boot/dts/sunxi-common-regulators.dtsi @@ -87,6 +87,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";