]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: add the dsi controller to rk3576
authorHeiko Stuebner <heiko@sntech.de>
Mon, 7 Jul 2025 16:49:04 +0000 (18:49 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 22 Aug 2025 21:20:58 +0000 (23:20 +0200)
The RK3576 comes with one DSI2 controllers based on the same newer
Synopsis IP as the ones on the RK3588.

Add the necessary node for it.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250707164906.1445288-12-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index 0536aa8c3cb794dc8ee4e009b5803459f80685de..93143e63898e89b61b3667af9e2146dd1227d237 100644 (file)
                        status = "disabled";
                };
 
+               dsi: dsi@27d80000 {
+                       compatible = "rockchip,rk3576-mipi-dsi2";
+                       reg = <0x0 0x27d80000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cru PCLK_DSIHOST0>, <&cru CLK_DSIHOST0>;
+                       clock-names = "pclk", "sys";
+                       power-domains = <&power RK3576_PD_VO0>;
+                       resets = <&cru SRST_P_DSIHOST0>;
+                       reset-names = "apb";
+                       phys = <&mipidcphy PHY_TYPE_DPHY>;
+                       phy-names = "dcphy";
+                       rockchip,grf = <&vo0_grf>;
+                       status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               dsi_in: port@0 {
+                                       reg = <0>;
+                               };
+
+                               dsi_out: port@1 {
+                                       reg = <1>;
+                               };
+                       };
+               };
+
                hdmi: hdmi@27da0000 {
                        compatible = "rockchip,rk3576-dw-hdmi-qp";
                        reg = <0x0 0x27da0000 0x0 0x20000>;