Skip to contentSkip to conversation

arm: sun8i-h3-nanopi-m1-plus: enable HDMI

PATCH In review Corentin Labbe 2 participants 2 messages Jan 22, 2019 – Jan 23, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm: sun8i-h3-nanopi-m1-plus: enable HDMI

This patch enable HDMI output on sun8i-h3-nanopi-m1-plus.

---
Change since v1:
- removed status=okay from hdmi_out

 arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts +25 -0
index 65cba1050802..4ec94d72f021 100644
@@ -67,6 +67,21 @@
 		pinctrl-names = "default";
 		reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
 	};
+
+	connector {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_con_in: endpoint {
+				remote-endpoint = <&hdmi_out_con>;
+			};
+		};
+	};
+};
+
+&de {
+	status = "okay";
 };
 
 &ehci1 {
@@ -94,6 +109,16 @@
 	};
 };
 
+&hdmi {
+	status = "okay";
+};
+
+&hdmi_out {
+	hdmi_out_con: endpoint {
+		remote-endpoint = <&hdmi_con_in>;
+	};
+};
+
 &ir {
 	pinctrl-names = "default";
 	pinctrl-0 = <&ir_pins_a>;
Signature · 1 line
2.19.2