From 9e77200356badfda6cec99e37be55fa940f83c7d Mon Sep 17 00:00:00 2001 From: Francesco Dolcini Date: Sat, 12 Aug 2023 21:11:23 +0200 Subject: [PATCH] arm64: dts: ti: verdin-am62: Add DSI display support 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 Link: https://lore.kernel.org/r/20230812191123.14779-1-francesco@dolcini.it Signed-off-by: Nishanth Menon --- arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi index 5db9ef2d..40992e7 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi @@ -815,6 +815,26 @@ }; }; +&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"; @@ -1051,6 +1071,7 @@ rgb_in: endpoint { data-lines = <18>; + remote-endpoint = <&dpi_out>; }; }; -- 2.7.4