Skip to contentSkip to conversation

ARM64: dts: meson-gx: Add HDMI and CVBS nodes for selected boards

PATCH Applied Neil Armstrong 2 participants 6 messages Jun 8, 2017 – Jun 9, 2017

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

cover ARM64: dts: meson-gx: Add HDMI and CVBS nodes for selected boards

Add the CVBS and HDMI nodes for the following boards :
- Wetek Play2
- Khadas VIM
- Amlogic P230 Reference board
- Amlogic P212 Reference board

Neil Armstrong (4):
ARM64: dts: meson-gxbb-wetek-play2: Add HDMI and CVBS Nodes
ARM64: dts: meson-gxl-s905d-p230: Add HDMI nodes
ARM64: dts: meson-gxl-s905x-khadas-vim: Add HDMI nodes
ARM64: dts: meson-gxl-s905x-p212: Add HDMI and CVBS nodes

 .../boot/dts/amlogic/meson-gxbb-wetek-play2.dts    | 40 ++++++++++++++++++++++
 .../boot/dts/amlogic/meson-gxl-s905d-p230.dts      | 24 +++++++++++++
 .../dts/amlogic/meson-gxl-s905x-khadas-vim.dts     | 23 +++++++++++++
 .../boot/dts/amlogic/meson-gxl-s905x-p212.dts      | 23 +++++++++++++
 4 files changed, 110 insertions(+)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/4 ARM64: dts: meson-gxbb-wetek-play2: Add HDMI and CVBS Nodes

Add HDMI and CVBS nodes for the Wetek Play2 board.

---
 .../boot/dts/amlogic/meson-gxbb-wetek-play2.dts    | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts +40 -0
index 743acb5..e76ac31 100644
@@ -85,6 +85,34 @@
 			gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;
 		};
 	};
+
+	cvbs-connector {
+		compatible = "composite-video-connector";
+
+		port {
+			cvbs_connector_in: endpoint {
+				remote-endpoint = <&cvbs_vdac_out>;
+			};
+		};
+	};
+
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_connector_in: endpoint {
+				remote-endpoint = <&hdmi_tx_tmds_out>;
+			};
+		};
+	};
+};
+
+
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
 };
 
 &ethmac {
@@ -113,6 +141,18 @@
 	};
 };
 
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 &i2c_A {
 	status = "okay";
 	pinctrl-0 = <&i2c_a_pins>;
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/4 ARM64: dts: meson-gxl-s905d-p230: Add HDMI nodes

In reply to Neil Armstrong

Add HDMI nodes for the Amlogic P230 board.

---
 .../boot/dts/amlogic/meson-gxl-s905d-p230.dts      | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +24 -0
index f9fbfda..3e0c023 100644
@@ -84,6 +84,17 @@
 		regulator-min-microvolt = <1800000>;
 		regulator-max-microvolt = <1800000>;
 	};
+
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_connector_in: endpoint {
+				remote-endpoint = <&hdmi_tx_tmds_out>;
+			};
+		};
+	};
 };
 
 /* P230 has exclusive choice between internal or external PHY */
@@ -113,6 +124,19 @@
 	};
 };
 
+
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 &saradc {
 	status = "okay";
 	vref-supply = <&vddio_ao18>;
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/4 ARM64: dts: meson-gxl-s905x-khadas-vim: Add HDMI nodes

In reply to Neil Armstrong

Add HDMI nodes for the Khadas Vim board.

---
 .../dts/amlogic/meson-gxl-s905x-khadas-vim.dts     | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +23 -0
index 6a81f01..72c5a9f 100644
@@ -54,6 +54,29 @@
 			linux,default-trigger = "default-on";
 		};
 	};
+
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_connector_in: endpoint {
+				remote-endpoint = <&hdmi_tx_tmds_out>;
+			};
+		};
+	};
+};
+
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
 };
 
 &i2c_A {
Signature · 1 line
1.9.1
#4 lore raw

PATCH 4/4 ARM64: dts: meson-gxl-s905x-p212: Add HDMI and CVBS nodes

In reply to Neil Armstrong

Add HDMI and CVBS nodes for the Amlogic P212 reference board.

---
 .../boot/dts/amlogic/meson-gxl-s905x-p212.dts      | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dts +23 -0
index db31e09..6ab17c1 100644
@@ -58,6 +58,17 @@
 			};
 		};
 	};
+
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_connector_in: endpoint {
+				remote-endpoint = <&hdmi_tx_tmds_out>;
+			};
+		};
+	};
 };
 
 &cvbs_vdac_port {
@@ -66,6 +77,18 @@
 	};
 };
 
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 /* This UART is brought out to the DB9 connector */
 &uart_AO {
 	status = "okay";
Signature · 1 line
1.9.1
maintainer Applied
#5 lore raw
In reply to Neil Armstrong
Quoted 5 lines · Neil Armstrong

Add the CVBS and HDMI nodes for the following boards :
- Wetek Play2
- Khadas VIM
- Amlogic P230 Reference board
- Amlogic P212 Reference board

Applied to v4.13/dt64.

Thanks,

Kevin