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 <bonbons@linux-vserver.org>
Tested-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Hans de Goede 2014-11-13 10:31:43 +01:00 committed by Maxime Ripard
parent a7679b6ce7
commit 0d716ea960
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ reg_ahci_5v: ahci-5v {
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";