Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sunxi: Add regulator-boot-on to usb host port regulator nodes

u-boot will have turned on the power to the usb host ports, so mark them
as regulator-boot-on, this stops the power on the ports from temporarily
getting turned off during boot, causing issues with e.g. usb powered
harddisks.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

authored by

Hans de Goede and committed by
Maxime Ripard
b5977f38 0760bace

+2
+2
arch/arm/boot/dts/sunxi-common-regulators.dtsi
··· 108 108 regulator-name = "usb1-vbus"; 109 109 regulator-min-microvolt = <5000000>; 110 110 regulator-max-microvolt = <5000000>; 111 + regulator-boot-on; 111 112 enable-active-high; 112 113 gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>; 113 114 status = "disabled"; ··· 121 120 regulator-name = "usb2-vbus"; 122 121 regulator-min-microvolt = <5000000>; 123 122 regulator-max-microvolt = <5000000>; 123 + regulator-boot-on; 124 124 enable-active-high; 125 125 gpio = <&pio 7 3 GPIO_ACTIVE_HIGH>; 126 126 status = "disabled";