aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2017-11-20 09:19:55 -0500
committerKevin Hilman <khilman@baylibre.com>2017-12-06 13:41:33 -0500
commitb409f625a6d55e0f0ebc570d1350c1813e65400a (patch)
treea20ddd7146ad91f468da33fbb2a5c8dff16b3a7a
parent74d1c6e9af69dc6aec07a1dd5c628ae184b15e41 (diff)
ARM64: dts: meson-gx: Add HDMI_5V regulator on selected boards
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>
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi12
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts12
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi12
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts12
4 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
index 7d4b95e49993..aeb6d21a3bec 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
@@ -59,6 +59,18 @@
59 reg = <0x0 0x0 0x0 0x80000000>; 59 reg = <0x0 0x0 0x0 0x80000000>;
60 }; 60 };
61 61
62 hdmi_5v: regulator-hdmi-5v {
63 compatible = "regulator-fixed";
64
65 regulator-name = "HDMI_5V";
66 regulator-min-microvolt = <5000000>;
67 regulator-max-microvolt = <5000000>;
68
69 gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
70 enable-active-high;
71 regulator-always-on;
72 };
73
62 vddio_boot: regulator-vddio_boot { 74 vddio_boot: regulator-vddio_boot {
63 compatible = "regulator-fixed"; 75 compatible = "regulator-fixed";
64 regulator-name = "VDDIO_BOOT"; 76 regulator-name = "VDDIO_BOOT";
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
index dc9c3b8216c2..9671f1e3c74a 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
@@ -72,6 +72,18 @@
72 reg = <0x0 0x0 0x0 0x80000000>; 72 reg = <0x0 0x0 0x0 0x80000000>;
73 }; 73 };
74 74
75 hdmi_5v: regulator-hdmi-5v {
76 compatible = "regulator-fixed";
77
78 regulator-name = "HDMI_5V";
79 regulator-min-microvolt = <5000000>;
80 regulator-max-microvolt = <5000000>;
81
82 gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
83 enable-active-high;
84 regulator-always-on;
85 };
86
75 vcc_3v3: regulator-vcc_3v3 { 87 vcc_3v3: regulator-vcc_3v3 {
76 compatible = "regulator-fixed"; 88 compatible = "regulator-fixed";
77 regulator-name = "VCC_3V3"; 89 regulator-name = "VCC_3V3";
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
index ff09df1fd5a3..7005068346a0 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
@@ -28,6 +28,18 @@
28 reg = <0x0 0x0 0x0 0x80000000>; 28 reg = <0x0 0x0 0x0 0x80000000>;
29 }; 29 };
30 30
31 hdmi_5v: regulator-hdmi-5v {
32 compatible = "regulator-fixed";
33
34 regulator-name = "HDMI_5V";
35 regulator-min-microvolt = <5000000>;
36 regulator-max-microvolt = <5000000>;
37
38 gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
39 enable-active-high;
40 regulator-always-on;
41 };
42
31 vddio_boot: regulator-vddio_boot { 43 vddio_boot: regulator-vddio_boot {
32 compatible = "regulator-fixed"; 44 compatible = "regulator-fixed";
33 regulator-name = "VDDIO_BOOT"; 45 regulator-name = "VDDIO_BOOT";
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
index 34a41b26a4ed..d2595c08ebe7 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
@@ -153,6 +153,18 @@
153 }; 153 };
154 }; 154 };
155 155
156 hdmi_5v: regulator-hdmi-5v {
157 compatible = "regulator-fixed";
158
159 regulator-name = "HDMI_5V";
160 regulator-min-microvolt = <5000000>;
161 regulator-max-microvolt = <5000000>;
162
163 gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
164 enable-active-high;
165 regulator-always-on;
166 };
167
156 vcc_3v3: regulator-vcc_3v3 { 168 vcc_3v3: regulator-vcc_3v3 {
157 compatible = "regulator-fixed"; 169 compatible = "regulator-fixed";
158 regulator-name = "VCC_3V3"; 170 regulator-name = "VCC_3V3";