ARM: dts: rockchip: Enable HDMI output for XPI-3128
authorAlex Bee <knaerzche@gmail.com>
Fri, 22 Dec 2023 17:42:20 +0000 (18:42 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 25 Jan 2024 20:38:41 +0000 (21:38 +0100)
Add an hdmi-connector node and enable the hdmi, display-subsystem and vop
nodes.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Link: https://lore.kernel.org/r/20231222174220.55249-30-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts

index 03a97881519a6ac7d3c88d2df7f1e8f9aae2ef07..21c1678f4e916b17e9130b5d3736d0d989d67863 100644 (file)
                regulator-boot-on;
        };
 
+       hdmi-connnector {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi_connector_in: endpoint {
+                               remote-endpoint = <&hdmi_connector_out>;
+                       };
+               };
+       };
+
        /*
         * This is a vbus-supply, which also supplies the GL852G usb hub,
         * thus has to be always-on
        cpu-supply = <&vdd_arm>;
 };
 
+&display_subsystem {
+       status = "okay";
+};
+
 &emmc {
        bus-width = <8>;
        vmmc-supply = <&vcc_io>;
        status = "okay";
 };
 
+&hdmi {
+       status = "okay";
+};
+
+&hdmi_out {
+       hdmi_connector_out: endpoint {
+               remote-endpoint = <&hdmi_connector_in>;
+       };
+};
+
 &mdio {
        phy0: ethernet-phy@1 {
                compatible = "ethernet-phy-ieee802.3-c22";
 &usb2phy_otg {
        status = "okay";
 };
+
+&vop {
+       status = "okay";
+};