riscv:dts:drm
authorshengyang.chen <shengyang.chen@starfivetech.com>
Wed, 31 Aug 2022 08:14:50 +0000 (16:14 +0800)
committershengyang.chen <shengyang.chen@starfivetech.com>
Wed, 31 Aug 2022 08:14:50 +0000 (16:14 +0800)
replace dts compatible value for vout

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110-common.dtsi
arch/riscv/boot/dts/starfive/jh7110-evb-dvp-rgb2hdmi.dts
arch/riscv/boot/dts/starfive/jh7110-evb-uart1-rgb2hdmi.dts
arch/riscv/boot/dts/starfive/jh7110.dtsi

index 8de5586..e2d9f63 100644 (file)
        };
 };
 
-&hdmi_output {
+&rgb_output {
        status = "okay";
 
        ports {
        status = "disabled";
 };
 
-&encoder {
+&dsi_output {
        status = "okay";
 
        ports {
index f6d3ee2..ab3eee1 100644 (file)
@@ -17,7 +17,7 @@
        pinctrl-0 = <&dvp_pins>;
 };
 
-&hdmi_output {
+&rgb_output {
        status = "okay";
 };
 
@@ -25,7 +25,7 @@
        status = "okay";
 };
 
-&encoder {
+&dsi_output {
        status = "disabled";
 };
 
index f6d67f5..3580cd0 100644 (file)
@@ -39,7 +39,7 @@
        status = "okay";
 };
 
-&hdmi_output {
+&rgb_output {
        status = "okay";
 };
 
@@ -47,7 +47,7 @@
        status = "okay";
 };
 
-&encoder {
+&dsi_output {
        status = "disabled";
 };
 
index fc25056..5b71fb9 100755 (executable)
                };
 
                display: display-subsystem {
-                       compatible = "verisilicon,display-subsystem";
+                       compatible = "starfive,jh7110-display","verisilicon,display-subsystem";
                        ports = <&dc_out_dpi0>;
                        status = "disabled";
                };
 
                dssctrl: dssctrl@295B0000 {
-                       compatible = "verisilicon,dss-ctrl", "syscon";
+                       compatible = "starfive,jh7110-dssctrl","verisilicon,dss-ctrl", "syscon";
                        reg = <0 0x295B0000 0 0x90>;
                };
 
                        status = "disabled";
                };
 
-               hdmi_output: hdmi-output {
-                       compatible = "verisilicon,hdmi-encoder";
+               rgb_output: rgb-output {
+                       compatible = "starfive,jh7110-rgb_output","verisilicon,rgb-encoder";
                        //verisilicon,dss-syscon = <&dssctrl>;
                        //verisilicon,mux-mask = <0x70 0x380>;
                        //verisilicon,mux-val = <0x40 0x280>;
                };
 
                dc8200: dc8200@29400000 {
-                       compatible = "verisilicon,dc8200";
+                       compatible = "starfive,jh7110-dc8200","verisilicon,dc8200";
                        verisilicon,dss-syscon = <&dssctrl>;//20220624 panel syscon
                        reg = <0x0 0x29400000 0x0 0x100>,
                              <0x0 0x29400800 0x0 0x2000>,
                        power-domains = <&pwrc JH7110_PD_VOUT>;
                };
 
-               encoder: display-encoder {
-                       compatible = "verisilicon,dsi-encoder";
+               dsi_output: dsi-output {
+                       compatible = "starfive,jh7110-display-encoder","verisilicon,dsi-encoder";
                        status = "disabled";
                };
 
                mipi_dphy: mipi-dphy@295e0000{
-                       compatible = "starfive,jh7100-mipi-dphy-tx";
+                       compatible = "starfive,jh7110-mipi-dphy-tx","m31,mipi-dphy-tx";
                        reg = <0x0 0x295e0000 0x0 0x10000>;
                        clocks = <&clkvout JH7110_U0_MIPITX_DPHY_CLK_TXESC>;
                        clock-names = "dphy_txesc";
                };
 
                 mipi_dsi: mipi@295d0000 {
-                       compatible = "cdns,dsi";
+                       compatible = "starfive,jh7100-mipi_dsi","cdns,dsi";
                        reg = <0x0 0x295d0000 0x0 0x10000>;
                        interrupts = <98>;
                        reg-names = "dsi";
                };
 
                hdmi: hdmi@29590000 {
-                       compatible = "rockchip,rk3036-inno-hdmi";
+                       compatible = "starfive,jh7100-hdmi","inno,hdmi";
                        reg = <0x0 0x29590000 0x0 0x4000>;
                        interrupts = <99>;
                        /*interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;*/