arm64: dts: ti: verdin-am62: Add DSI display support
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Sat, 12 Aug 2023 19:11:23 +0000 (21:11 +0200)
committerNishanth Menon <nm@ti.com>
Sun, 13 Aug 2023 12:58:55 +0000 (07:58 -0500)
Add MIPI-DSI support to Verdin AM62.

Verdin AM62 has a MIPI DSI interface on the edge connector, this is
provided with a Toshiba TC358778 DPI to MIPI-DSI bridge connected to the
DSS DPI port with a 18-bit width parallel bus.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20230812191123.14779-1-francesco@dolcini.it
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi

index 5db9ef2dc7e5ae8b177637ce8377124db90b7c6b..40992e7e4c3084cca1226d32c5fe8ea0a66ec949 100644 (file)
        };
 };
 
+&dss {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_parallel_rgb>;
+       status = "disabled";
+};
+
+&dss_ports {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       /* VP2: DPI Output */
+       port@1 {
+               reg = <1>;
+
+               dpi_out: endpoint {
+                       remote-endpoint = <&rgb_in>;
+               };
+       };
+};
+
 /* Verdin PWM_1, PWM_2 */
 &epwm0 {
        pinctrl-names = "default";
 
                                rgb_in: endpoint {
                                        data-lines = <18>;
+                                       remote-endpoint = <&dpi_out>;
                                };
                        };