]> git.itanic.dy.fi Git - linux-stable/commitdiff
arm64: dts: meson-sm1-odroid: add missing enable gpio and supply for tf_io regulator
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 7 Jun 2021 06:54:29 +0000 (08:54 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 14 Jun 2021 07:57:45 +0000 (09:57 +0200)
As described in the schematics of Odroid-C4 and Odroid-HC4, the TF_IO regulator
is enabled by the GPIOE_2 GPIO and gets it's supply from VCC_5V.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20210607065435.577334-2-narmstrong@baylibre.com
arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi

index d14716b3d0f1ea91e1d41a198578b6808f943932..af40ba461074ad23a9ed64eca683ec2f00bf76ca 100644 (file)
@@ -46,6 +46,11 @@ tf_io: gpio-regulator-tf_io {
                regulator-name = "TF_IO";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
+               vin-supply = <&vcc_5v>;
+
+               enable-gpio = <&gpio GPIOE_2 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-always-on;
 
                gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>;
                gpios-states = <0>;