ARM64: dts: meson-gx: Add HDMI and CVBS nodes for selected boards
Subsystems (2)
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
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
@@ -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>; + }; }; ðmac {
@@ -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
PATCH 2/4 ARM64: dts: meson-gxl-s905d-p230: Add HDMI nodes
In reply to Neil ArmstrongAdd 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
@@ -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
PATCH 3/4 ARM64: dts: meson-gxl-s905x-khadas-vim: Add HDMI nodes
In reply to Neil ArmstrongAdd 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
@@ -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
PATCH 4/4 ARM64: dts: meson-gxl-s905x-p212: Add HDMI and CVBS nodes
In reply to Neil ArmstrongAdd 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
@@ -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
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