ARM64: dts: meson-gx: Add HDMI_5V regulator on selected boards
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 20 Nov 2017 14:19:55 +0000 (15:19 +0100)
committerKevin Hilman <khilman@baylibre.com>
Wed, 6 Dec 2017 18:41:33 +0000 (10:41 -0800)
On reference boards and derivatives, the HDMI Logic is powered by an external
5V regulator.
This regulator was set by the Vendor U-Boot, add the regulator and set it always-on for now.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts

index 7d4b95e499935db8bd0ec7637bcac4492973f388..aeb6d21a3becacd7eb414da1fcbb1556ceb9e2cc 100644 (file)
                reg = <0x0 0x0 0x0 0x80000000>;
        };
 
+       hdmi_5v: regulator-hdmi-5v {
+               compatible = "regulator-fixed";
+
+               regulator-name = "HDMI_5V";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+
+               gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-always-on;
+       };
+
        vddio_boot: regulator-vddio_boot {
                compatible = "regulator-fixed";
                regulator-name = "VDDIO_BOOT";
index dc9c3b8216c2b563b3297875c763d32e38654ff5..9671f1e3c74a991b98b167f83062d63db4c1ad9d 100644 (file)
                reg = <0x0 0x0 0x0 0x80000000>;
        };
 
+       hdmi_5v: regulator-hdmi-5v {
+               compatible = "regulator-fixed";
+
+               regulator-name = "HDMI_5V";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+
+               gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-always-on;
+       };
+
        vcc_3v3: regulator-vcc_3v3 {
                compatible = "regulator-fixed";
                regulator-name = "VCC_3V3";
index ff09df1fd5a3233b4d84d7b8a5fb01839db7c0e2..7005068346a092fba518df030a8e5072af2a0fa6 100644 (file)
                reg = <0x0 0x0 0x0 0x80000000>;
        };
 
+       hdmi_5v: regulator-hdmi-5v {
+               compatible = "regulator-fixed";
+
+               regulator-name = "HDMI_5V";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+
+               gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-always-on;
+       };
+
        vddio_boot: regulator-vddio_boot {
                compatible = "regulator-fixed";
                regulator-name = "VDDIO_BOOT";
index 34a41b26a4ed2b93f3e7801cfca458ec62f9fe0b..d2595c08ebe7d5b89e0920ca55e8c292f5e988e2 100644 (file)
                };
        };
 
+       hdmi_5v: regulator-hdmi-5v {
+               compatible = "regulator-fixed";
+
+               regulator-name = "HDMI_5V";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+
+               gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-always-on;
+       };
+
        vcc_3v3: regulator-vcc_3v3 {
                compatible = "regulator-fixed";
                regulator-name = "VCC_3V3";