Message ID | 20210817041548.1276-3-linux.amoon@gmail.com |
---|---|
State | Not Applicable |
Headers | show |
Series | Meson-8b and Meson-gxbb Fix some missing code | expand |
Hi Anand, On Tue, Aug 17, 2021 at 6:17 AM Anand Moon <linux.amoon@gmail.com> wrote: > > Set P5V0 and vcc_3v3 power source to USB to always on > so that regulator should not enter in suspend state. Neither of these two regulators can be controlled by Linux in any way (there's no GPIO to turn them off, no PWM signal to change the output voltage, etc.). So can you please explain what this patch changes from a functional perspective? Best regards, Martin
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 30ec6a7f20c7..5e5953152452 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -65,6 +65,7 @@ p5v0: regulator-p5v0 { regulator-name = "P5V0"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + regulator-always-on; }; tflash_vdd: regulator-tflash_vdd { @@ -136,6 +137,7 @@ vcc_3v3: regulator-vcc-3v3 { regulator-name = "VCC3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-always-on; vin-supply = <&p5v0>; };
Set P5V0 and vcc_3v3 power source to USB to always on so that regulator should not enter in suspend state. Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Anand Moon <linux.amoon@gmail.com> --- New patch in this series. --- arch/arm/boot/dts/meson8b-odroidc1.dts | 2 ++ 1 file changed, 2 insertions(+)