From 0cc45cd256c85e5a3998c54b94bd6b62c7ef1a32 Mon Sep 17 00:00:00 2001 From: Shashank Maurya Date: Thu, 1 Oct 2026 15:04:09 +0530 Subject: [PATCH 1/2] FROMLIST: arm64: dts: qcom: shikra-evk: Add RPI 7-inch DSI panel overlay Add device tree overlay for the Raspberry Pi 7-inch DSI panel on the Shikra IQS EVK. The overlay disables the LT9611 HDMI bridge and HDMI connector, then adds: - RPI panel MCU (gpio@45) on I2C4 as regulator/GPIO expander - ILI9881C-based DSI panel on DSI0 - PWM backlight driven by the MCU - Fixed 5V display regulator Signed-off-by: Shashank Maurya --- arch/arm64/boot/dts/qcom/Makefile | 3 + .../shikra-evk-raspberrypi-dsi-7inch.dtso | 78 +++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/shikra-evk-raspberrypi-dsi-7inch.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index ca522753b846..03985a461f18 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -369,6 +369,9 @@ dtb-$(CONFIG_ARCH_QCOM) += shikra-cqs-evk-hdmi.dtb dtb-$(CONFIG_ARCH_QCOM) += shikra-iqs-evk-dlc-panel.dtb dtb-$(CONFIG_ARCH_QCOM) += shikra-iqs-evk-lvds-auo,g133han01.dtb +shikra-iqs-evk-raspberrypi-dsi-7inch-dtbs := shikra-iqs-evk.dtb shikra-evk-raspberrypi-dsi-7inch.dtbo +dtb-$(CONFIG_ARCH_QCOM) += shikra-iqs-evk-raspberrypi-dsi-7inch.dtb + dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb dtb-$(CONFIG_ARCH_QCOM) += sm4450-qrd.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6115-fxtec-pro1x.dtb diff --git a/arch/arm64/boot/dts/qcom/shikra-evk-raspberrypi-dsi-7inch.dtso b/arch/arm64/boot/dts/qcom/shikra-evk-raspberrypi-dsi-7inch.dtso new file mode 100644 index 000000000000..c701ffd82bcd --- /dev/null +++ b/arch/arm64/boot/dts/qcom/shikra-evk-raspberrypi-dsi-7inch.dtso @@ -0,0 +1,78 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ +/dts-v1/; +/plugin/; + +#include + +&{/} { + display_bl: backlight { + compatible = "pwm-backlight"; + power-supply = <®_dsi_panel>; + pwms = <®_backlight 0 255 0>; + }; + + reg_dsi_panel: regulator-dsi-panel { + compatible = "regulator-fixed"; + regulator-name = "rpi-dsi-panel"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; +}; + +<9611uxd { + status = "disabled"; +}; + +&{/hdmi-connector} { + status = "disabled"; +}; + +&i2c4 { + #address-cells = <1>; + #size-cells = <0>; + + reg_backlight: reg_backlight@45 { + compatible = "raspberrypi,touchscreen-panel-regulator-v2"; + reg = <0x45>; + + gpio-controller; + #gpio-cells = <2>; + #pwm-cells = <3>; + }; +}; + +&mdss_dsi0 { + vdda-supply = <&pm4125_l5>; + + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "raspberrypi,dsi-7inch"; + reg = <0>; + + reset-gpios = <®_backlight 0 GPIO_ACTIVE_LOW>; + power-supply = <®_dsi_panel>; + 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 { + status = "okay"; +}; \ No newline at end of file From c618c70ef778ed45d7c078bd1fe1979fa8515448 Mon Sep 17 00:00:00 2001 From: Shashank Maurya Date: Thu, 1 Oct 2026 15:04:09 +0530 Subject: [PATCH 2/2] FROMLIST: arm64: dts: qcom: shikra-evk: Add Waveshare 8-inch DSI panel overlay Add device tree overlay for the Waveshare 8-inch DSI touchscreen panel on the Shikra IQS EVK. The overlay disables the LT9611 HDMI bridge and HDMI connector, then adds: - Waveshare GPIO expander (gpio@45) on I2C4 - Goodix GT9271 touch controller on I2C4 - JD9365DA-H3 based DSI panel on DSI0 (4 lanes) - Three fixed regulators (AVDD, IOVCC, VCC) controlled by GPIO expander Signed-off-by: Shashank Maurya --- arch/arm64/boot/dts/qcom/Makefile | 2 + .../qcom/shikra-evk-waveshare-dsi-8inch.dtso | 92 +++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/shikra-evk-waveshare-dsi-8inch.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 03985a461f18..3fd593c63976 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -371,6 +371,8 @@ dtb-$(CONFIG_ARCH_QCOM) += shikra-iqs-evk-lvds-auo,g133han01.dtb shikra-iqs-evk-raspberrypi-dsi-7inch-dtbs := shikra-iqs-evk.dtb shikra-evk-raspberrypi-dsi-7inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += shikra-iqs-evk-raspberrypi-dsi-7inch.dtb +shikra-iqs-evk-waveshare-dsi-8inch-dtbs := shikra-iqs-evk.dtb shikra-evk-waveshare-dsi-8inch.dtbo +dtb-$(CONFIG_ARCH_QCOM) += shikra-iqs-evk-waveshare-dsi-8inch.dtb dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb dtb-$(CONFIG_ARCH_QCOM) += sm4450-qrd.dtb diff --git a/arch/arm64/boot/dts/qcom/shikra-evk-waveshare-dsi-8inch.dtso b/arch/arm64/boot/dts/qcom/shikra-evk-waveshare-dsi-8inch.dtso new file mode 100644 index 000000000000..293a28fc1554 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/shikra-evk-waveshare-dsi-8inch.dtso @@ -0,0 +1,92 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ +/dts-v1/; +/plugin/; + +#include + +&{/} { + panel_avdd: regulator-panel-avdd { + compatible = "regulator-fixed"; + regulator-name = "panel-avdd"; + gpios = <&wsgpio 0 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + panel_iovcc: regulator-panel-iovcc { + compatible = "regulator-fixed"; + regulator-name = "panel-iovcc"; + gpios = <&wsgpio 4 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + panel_vcc: regulator-panel-vcc { + compatible = "regulator-fixed"; + regulator-name = "panel-vcc"; + gpios = <&wsgpio 8 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; +}; + +<9611uxd { + status = "disabled"; +}; + +&{/hdmi-connector} { + status = "disabled"; +}; + +&i2c4 { + #address-cells = <1>; + #size-cells = <0>; + + wsgpio: gpio@45 { + compatible = "waveshare,dsi-touch-gpio"; + reg = <0x45>; + gpio-controller; + #gpio-cells = <2>; + }; + + touch: goodix@5d { + compatible = "goodix,gt9271"; + reg = <0x5d>; + reset-gpios = <&wsgpio 9 GPIO_ACTIVE_HIGH>; + }; +}; + +&mdss_dsi0 { + vdda-supply = <&pm8150_l11>; + + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "waveshare,8.0-dsi-touch-a", "jadard,jd9365da-h3"; + reg = <0>; + + reset-gpios = <&wsgpio 1 GPIO_ACTIVE_LOW>; + vccio-supply = <&panel_iovcc>; + vdd-supply = <&panel_avdd>; + backlight = <&wsgpio>; + + port { + panel0_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&panel0_in>; + data-lanes = <0 1 2 3>; +}; + +&mdss_dsi0_phy { + status = "okay"; +}; \ No newline at end of file