From 22d4b907bf2f55f7c2f1be46f7437eb0d34482d3 Mon Sep 17 00:00:00 2001 From: Gopi Botlagunta Date: Mon, 9 Mar 2026 21:34:55 +0530 Subject: [PATCH] QCLINUX: ARM: dts: msm: add rpi panel support for IQ8 board Add panel and corresponding regulator nodes. Signed-off-by: Mohit Dsor Signed-off-by: Gopi Botlagunta --- arch/arm64/boot/dts/qcom/monaco-evk.dts | 63 +++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/monaco-evk.dts b/arch/arm64/boot/dts/qcom/monaco-evk.dts index 79b6d56c153b7..8d0b2435c95db 100644 --- a/arch/arm64/boot/dts/qcom/monaco-evk.dts +++ b/arch/arm64/boot/dts/qcom/monaco-evk.dts @@ -22,8 +22,24 @@ i2c1 = &i2c1; serial0 = &uart7; serial1 = &uart2; + i2c8 = &i2c8; }; + display_bl: backlight { + compatible = "pwm-backlight"; + power-supply = <®_dsi_touch>; + pwms = <®_backlight 0 50000 0>; + }; + + reg_dsi_touch: regulator-touch { + compatible = "regulator-fixed"; + regulator-min-microvolt = <5500000>; + regulator-max-microvolt = <5500000>; + regulator-name = "rpi-touch"; + gpio = <&expander3 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + chosen { stdout-path = "serial0:115200n8"; }; @@ -426,6 +442,22 @@ }; }; + +&i2c8 { + qcom,load-firmware; + qcom,xfer-mode = <1>; + + status = "okay"; + + reg_backlight: reg_backlight@45 { + compatible = "raspberrypi,touchscreen-panel-regulator-v2"; + reg = <0x45>; + gpio-controller; + #gpio-cells = <2>; + #pwm-cells = <3>; + }; +}; + &gpi_dma0 { status = "okay"; }; @@ -670,6 +702,37 @@ status = "okay"; }; +&mdss_dsi0 { + vdda-supply = <&vreg_l1c>; + status = "okay"; + + panel:panel@0 { + compatible = "raspberrypi,dsi-7inch"; + reg = <0>; + + reset-gpios = <®_backlight 0 GPIO_ACTIVE_LOW>; + power-supply = <®_dsi_touch>; + backlight = <&display_bl>; + + + port { + panel0_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&panel0_in>; + data-lanes = <0 1>; +}; + +&mdss_dsi0_phy { + vdds-supply = <&vreg_l4a>; + status = "okay"; +}; + &psci { reboot-mode { mode-bootloader = <0x10001 0x2>;