Skip to contentSkip to conversation

ARM: dts: sun7i: Enable HDMI support on the Olimex EVB

PATCH New codekipper at gmail.com 2 participants 3 messages Jan 30, 2018 – Feb 1, 2018

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

PATCH 1/1 ARM: dts: sun7i: Enable HDMI support on the Olimex EVB

From: Marcus Cooper <[email protected]>

Enable the display pipeline and HDMI output on the Olimex A20-SOM-EVB.

---
 arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts +25 -0
index 64c8ef9a2756..07906d4f8758 100644
@@ -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";
@@ -79,6 +90,10 @@
 	status = "okay";
 };
 
+&de {
+	status = "okay";
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -107,6 +122,16 @@
 	};
 };
 
+&hdmi {
+	status = "okay";
+};
+
+&hdmi_out {
+	hdmi_out_con: endpoint {
+	remote-endpoint = <&hdmi_con_in>;
+	};
+};
+
 &i2c0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c0_pins_a>;
Signature · 1 line
2.16.1
#1 lore raw

PATCH 1/1 ARM: dts: sun7i: Enable HDMI support on the Olimex EVB

Quoted 47 lines · codekipper at gmail.com

From: Marcus Cooper <[email protected]>

Enable the display pipeline and HDMI output on the Olimex A20-SOM-EVB.

---
 arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts +15 -0
index 64c8ef9a2756..07906d4f8758 100644
@@ -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";
@@ -79,6 +90,10 @@
 	status = "okay";
 };
 
+&de {
+	status = "okay";
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -107,6 +122,16 @@
 	};
 };
 

arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts line 134

Quoted 10 lines
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts +10 -0
+&hdmi {
+	status = "okay";
+};
+
+&hdmi_out {
+	hdmi_out_con: endpoint {
+	remote-endpoint = <&hdmi_con_in>;
+	};
+};
+

The indentation is not correct here.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180131/fa02445a/attachment.sig>
#2 lore raw

PATCH 1/1 ARM: dts: sun7i: Enable HDMI support on the Olimex EVB

Quoted 48 lines · Maxime Ripard
Quoted 47 lines · codekipper at gmail.com

From: Marcus Cooper <[email protected]>

Enable the display pipeline and HDMI output on the Olimex A20-SOM-EVB.

---
 arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts +15 -0
index 64c8ef9a2756..07906d4f8758 100644
@@ -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";
@@ -79,6 +90,10 @@
      status = "okay";
 };
 
+&de {
+     status = "okay";
+};
+
 &ehci0 {
      status = "okay";
 };
@@ -107,6 +122,16 @@
      };
 };
 
Quoted 12 lines

arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts line 134

Quoted 10 lines
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts +10 -0
+&hdmi {
+     status = "okay";
+};
+
+&hdmi_out {
+     hdmi_out_con: endpoint {
+     remote-endpoint = <&hdmi_con_in>;
+     };
+};
+

The indentation is not correct here.

ACK

Quoted 7 lines

Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com