diff mbox

ARM: dts: sun7i: Enable HDMI support on the Orange Pi mini

Message ID jwvr2pk8xrb.fsf-monnier+diro@gnu.org (mailing list archive)
State New, archived
Headers show

Commit Message

Stefan Monnier Feb. 16, 2018, 8:52 p.m. UTC
From: Stefan Monnier <monnier@iro.umontreal.ca>

Enable the display pipeline and HDMI output for the Orange Pi mini

Signed-off-by: Stefan Monnier <monnier@iro.umontreal.ca>
---
 arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Comments

Maxime Ripard Feb. 19, 2018, 8:07 a.m. UTC | #1
On Fri, Feb 16, 2018 at 03:52:09PM -0500, Stefan Monnier wrote:
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> 
> Enable the display pipeline and HDMI output for the Orange Pi mini
> 
> Signed-off-by: Stefan Monnier <monnier@iro.umontreal.ca>

Applied, thanks!
Maxime
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts b/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts
index 7af4c8fc1865..ce02ab532bc8 100644
--- a/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts
+++ b/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts
@@ -61,6 +61,17 @@ 
 		stdout-path = "serial0:115200n8";
 	};
 
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_con_in: endpoint {
+				remote-endpoint = <&hdmi_out_con>;
+			};
+		};
+	};
+
 	leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
@@ -98,6 +109,10 @@ 
 	status = "okay";
 };
 
+&de {
+	status = "okay";
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -119,6 +134,16 @@ 
 	};
 };
 
+&hdmi {
+	status = "okay";
+};
+
+&hdmi_out {
+	hdmi_out_con: endpoint {
+		remote-endpoint = <&hdmi_con_in>;
+	};
+};
+
 &i2c0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c0_pins_a>;