ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator
authorHans de Goede <[email protected]>
Thu, 13 Nov 2014 09:31:43 +0000 (10:31 +0100)
committerMaxime Ripard <[email protected]>
Sun, 23 Nov 2014 15:53:41 +0000 (16:53 +0100)
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 <[email protected]>
Tested-by: Bruno PrĂ©mont <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
arch/arm/boot/dts/sunxi-common-regulators.dtsi

index be5cfa335ae4e2b0a9c299e2c06d1ab43ea8bce8..d8876634f965e47e99e6554d0fccca2c88f4afc4 100644 (file)
@@ -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";