From 52a477e5f967fd69e8c640d12ab20c65052794e3 Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Fri, 27 Nov 2026 09:19:52 +0530 Subject: [PATCH 1/8] FROMLIST: usb: typec: mux: gpio-sbu: Enable optional vcc supply Some GPIO-controlled SBU muxes need their supply to be enabled before the AUX path can be switched reliably. One such platform is Qualcomm Eliza EVK, which uses an onsemi FSUSB43L10X mux. Enable an optional vcc regulator during probe so boards that describe a vcc-supply can power the mux before registering the Type-C switch and mux devices. Keep existing designs without a vcc-supply property working by treating the missing optional supply as success. Return probe errors other than the absent optional supply so deferred probe and regulator failures are still reported. Link: https://lore.kernel.org/all/20261127-eliza_evk_display-v2-2-e4223634aa2c@oss.qualcomm.com/ Signed-off-by: Vishnu Saini --- drivers/usb/typec/mux/gpio-sbu-mux.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/typec/mux/gpio-sbu-mux.c b/drivers/usb/typec/mux/gpio-sbu-mux.c index b1aa976aca240..426eeea9fba8f 100644 --- a/drivers/usb/typec/mux/gpio-sbu-mux.c +++ b/drivers/usb/typec/mux/gpio-sbu-mux.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -104,6 +105,7 @@ static int gpio_sbu_mux_probe(struct platform_device *pdev) struct typec_mux_desc mux_desc = { }; struct device *dev = &pdev->dev; struct gpio_sbu_mux *sbu_mux; + int ret; sbu_mux = devm_kzalloc(dev, sizeof(*sbu_mux), GFP_KERNEL); if (!sbu_mux) @@ -111,6 +113,10 @@ static int gpio_sbu_mux_probe(struct platform_device *pdev) mutex_init(&sbu_mux->lock); + ret = devm_regulator_get_enable_optional(dev, "vcc"); + if (ret && ret != -ENODEV) + return dev_err_probe(dev, ret, "failed to enable vcc supply\n"); + sbu_mux->enable_gpio = devm_gpiod_get_optional(dev, "enable", GPIOD_OUT_LOW); if (IS_ERR(sbu_mux->enable_gpio)) From 05f1d7eae7aec093cfa2b52a2c89d9efc06ee1d1 Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Fri, 27 Nov 2026 14:19:23 +0530 Subject: [PATCH 2/8] FROMLIST: arm64: dts: qcom: eliza-evk: Enable HDMI output Enable HDMI output on Qualcomm Eliza EVK through the LT9611UXD DSI-to-HDMI bridge connected to the DSI0 B2B connector. The bridge is on I2C8, with reset and interrupt lines wired to TLMM GPIO16 and GPIO13. Add the HDMI connector, fixed 3.3 V display regulator, bridge node and DSI0 endpoint wiring needed for the HDMI DSI0 B2B connector path. The HDMI DSI0 B2B connector path expects SW3.5 to be off. Link: https://lore.kernel.org/all/20261127-eliza_disp_all-v1-1-a18be7f65fd4@oss.qualcomm.com/ Signed-off-by: Vishnu Saini --- arch/arm64/boot/dts/qcom/eliza-evk.dtsi | 90 +++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi index 6ca68359a8651..86a208b17f911 100644 --- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi +++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi @@ -7,6 +7,7 @@ / { aliases { + i2c8 = &i2c8; serial0 = &uart13; }; @@ -220,6 +221,27 @@ }; }; }; + + hdmi_0_connector: hdmi-0-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_0_connector_out: endpoint { + remote-endpoint = <&hdmi_bridge_out>; + }; + }; + }; + + vreg_disp_3p3: regulator-disp-3p3 { + compatible = "regulator-fixed"; + regulator-name = "vreg_disp_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pm8550vs_g_gpios 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-boot-on; + }; }; &i2c4 { @@ -238,6 +260,45 @@ }; }; +&i2c8 { + status = "okay"; + + hdmi_bridge: hdmi-bridge@41 { + compatible = "lontium,lt9611uxd"; + reg = <0x41>; + + interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 16 GPIO_ACTIVE_LOW>; + + vcc-supply = <&vreg_disp_3p3>; + vdd-supply = <&vreg_l8b>; + + pinctrl-0 = <&bridge_irq_pin>, <&bridge_rst_pin>; + pinctrl-names = "default"; + + hdmi_bridge_ports: ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + hdmi_bridge_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + + port@2 { + reg = <2>; + + hdmi_bridge_out: endpoint { + remote-endpoint = <&hdmi_0_connector_out>; + }; + }; + }; + }; +}; + &iris { status = "okay"; }; @@ -518,6 +579,18 @@ }; &tlmm { + bridge_irq_pin: bridge-irq-state { + pins = "gpio13"; + function = "gpio"; + bias-disable; + }; + + bridge_rst_pin: bridge-rst-state { + pins = "gpio16"; + function = "gpio"; + bias-disable; + }; + m2_w_disable1: m2-w-disable1-state { pins = "gpio35"; function = "gpio"; @@ -545,3 +618,20 @@ &mdss_dp0 { status = "okay"; }; + +&mdss_dsi0 { + vdda-supply = <&vreg_l4b>; + + status = "okay"; +}; + +&mdss_dsi0_out { + remote-endpoint = <&hdmi_bridge_in>; + data-lanes = <0 1 2 3>; +}; + +&mdss_dsi0_phy { + vdds-supply = <&vreg_l2b>; + + status = "okay"; +}; From e889aaa6dfb751bd51a1b7303951d054e9115179 Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Fri, 27 Nov 2026 14:19:24 +0530 Subject: [PATCH 3/8] FROMLIST: arm64: dts: qcom: eliza-evk: Add DLC0697 DSI0 overlay Add a DT overlay for Qualcomm Eliza EVK to enable the DLC0697 panel on the DSI0 B2B connector. The overlay disables the default HDMI bridge path and connects DSI0 to the DLC panel. It also describes the panel reset, TE and backlight GPIOs and uses the display bias and VDDIO supplies provided by the base board. The DLC0697 DSI0 B2B connector path expects SW3.5 to be off. Link: https://lore.kernel.org/all/20261127-eliza_disp_all-v1-2-a18be7f65fd4@oss.qualcomm.com/ Signed-off-by: Vishnu Saini --- arch/arm64/boot/dts/qcom/Makefile | 3 + .../boot/dts/qcom/eliza-evk-dlc0697-dsi0.dtso | 75 +++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/eliza-evk-dlc0697-dsi0.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 988e0c10b5146..d87aea43d5004 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -14,7 +14,10 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8094-sony-xperia-kitakami-karin_windy.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096sg-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb +eliza-cqs-evk-emmc-dlc0697-dsi0-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-dlc0697-dsi0.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc.dtb +dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-dlc0697-dsi0.dtb +dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-dlc0697-dsi0.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-ufs.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += glymur-asus-zenbook-a14-ux3407na.dtb diff --git a/arch/arm64/boot/dts/qcom/eliza-evk-dlc0697-dsi0.dtso b/arch/arm64/boot/dts/qcom/eliza-evk-dlc0697-dsi0.dtso new file mode 100644 index 0000000000000..a0a68d3976637 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/eliza-evk-dlc0697-dsi0.dtso @@ -0,0 +1,75 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + backlight_dlc: backlight-dlc { + compatible = "gpio-backlight"; + gpios = <&pm7550_gpios 2 GPIO_ACTIVE_HIGH>; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_0_connector { + status = "disabled"; +}; + +&mdss_dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "dlc,dlc0697", "ilitek,ili7807s"; + reg = <0>; + backlight = <&backlight_dlc>; + reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>; + avdd-supply = <&vreg_disp_3p3>; + avee-supply = <&vreg_disp_3p3>; + vddi-supply = <&vreg_l8b>; + pinctrl-0 = <&dlc_panel_rst_n>, <&dlc_panel_te_pin>; + pinctrl-1 = <&dlc_panel_rst_n_suspend>; + pinctrl-names = "default", "sleep"; + + port { + panel_in_dlc: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&panel_in_dlc>; +}; + +&tlmm { + dlc_panel_rst_n: dlc-panel-rst-n-state { + pins = "gpio12"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + }; + + dlc_panel_rst_n_suspend: dlc-panel-rst-n-suspend-state { + pins = "gpio12"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + dlc_panel_te_pin: dlc-panel-te-state { + pins = "gpio17"; + function = "mdp_vsync"; + drive-strength = <2>; + bias-pull-down; + }; +}; From 056d0ffea081db70684bd2c5b540170e279a89fe Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Fri, 27 Nov 2026 14:19:25 +0530 Subject: [PATCH 4/8] FROMLIST: dt-bindings: leds: qcom-lpg: Add PM7550 PWM compatible PM7550 provides an LPG block that can be used as a PWM controller for display backlight control on Qualcomm Eliza EVK boards. Add the PM7550 PWM compatible with the PM8350C PWM fallback so board DTs can describe the controller. Link: https://lore.kernel.org/all/20261127-eliza_disp_all-v1-3-a18be7f65fd4@oss.qualcomm.com/ Signed-off-by: Vishnu Saini --- Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml index 3da0fe532e748..cf2c78f7f6c54 100644 --- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml @@ -42,6 +42,7 @@ properties: - const: qcom,pm8150l-lpg - items: - enum: + - qcom,pm7550-pwm - qcom,pm8550-pwm - qcom,pmh0101-pwm - const: qcom,pm8350c-pwm From e0a8bd19d105c215ca7dde4fb20a416351ce7dc5 Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Fri, 27 Nov 2026 14:19:26 +0530 Subject: [PATCH 5/8] FROMLIST: leds: qcom-lpg: Add PM7550 PWM compatible PM7550 provides an LPG block compatible with the PM8350C PWM programming model. Add the PM7550 PWM compatible to the LPG OF match table and reuse the existing PM8350C PWM data. Link: https://lore.kernel.org/all/20261127-eliza_disp_all-v1-4-a18be7f65fd4@oss.qualcomm.com/ Signed-off-by: Vishnu Saini --- drivers/leds/rgb/leds-qcom-lpg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/rgb/leds-qcom-lpg.c b/drivers/leds/rgb/leds-qcom-lpg.c index 24ffe079f2215..d3d08c227a778 100644 --- a/drivers/leds/rgb/leds-qcom-lpg.c +++ b/drivers/leds/rgb/leds-qcom-lpg.c @@ -1827,6 +1827,7 @@ static const struct of_device_id lpg_of_table[] = { { .compatible = "qcom,pm660l-lpg", .data = &pm660l_lpg_data }, { .compatible = "qcom,pm8150b-lpg", .data = &pm8150b_lpg_data }, { .compatible = "qcom,pm8150l-lpg", .data = &pm8150l_lpg_data }, + { .compatible = "qcom,pm7550-pwm", .data = &pm8350c_pwm_data }, { .compatible = "qcom,pm8350c-pwm", .data = &pm8350c_pwm_data }, { .compatible = "qcom,pm8916-pwm", .data = &pm8916_pwm_data }, { .compatible = "qcom,pm8941-lpg", .data = &pm8941_lpg_data }, From b0a6537268ce21daf8e79a80ce3941c0b30f2292 Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Fri, 27 Nov 2026 14:19:27 +0530 Subject: [PATCH 6/8] FROMLIST: arm64: dts: qcom: eliza-evk: Add AUO G133HAN01 LVDS overlay Add a DT overlay for Qualcomm Eliza EVK to enable the AUO G133HAN01 LVDS panel on the DSI0 B2B connector. The LVDS daughter card uses an SN65DSI84 DSI-to-LVDS bridge on I2C4 and shares the display bias, reset and interrupt lines with the base HDMI path, so the overlay disables HDMI and connects DSI0 to the bridge. Add the PM7550 PWM node used for the LVDS backlight PWM output. The LVDS DSI0 B2B connector path expects SW3.5 to be off. Link: https://lore.kernel.org/all/20261127-eliza_disp_all-v1-5-a18be7f65fd4@oss.qualcomm.com/ Signed-off-by: Vishnu Saini --- arch/arm64/boot/dts/qcom/Makefile | 3 + .../eliza-evk-lvds-auo,g133han01-dsi0.dtso | 126 ++++++++++++++++++ arch/arm64/boot/dts/qcom/eliza-evk.dtsi | 1 + arch/arm64/boot/dts/qcom/pm7550-eliza.dtsi | 7 + 4 files changed, 137 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/eliza-evk-lvds-auo,g133han01-dsi0.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index d87aea43d5004..498b7c39a5477 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -15,9 +15,12 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096sg-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb eliza-cqs-evk-emmc-dlc0697-dsi0-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-dlc0697-dsi0.dtbo +eliza-cqs-evk-emmc-lvds-auo,g133han01-dsi0-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-lvds-auo,g133han01-dsi0.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-dlc0697-dsi0.dtb +dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-lvds-auo,g133han01-dsi0.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-dlc0697-dsi0.dtbo +dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-lvds-auo,g133han01-dsi0.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-ufs.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += glymur-asus-zenbook-a14-ux3407na.dtb diff --git a/arch/arm64/boot/dts/qcom/eliza-evk-lvds-auo,g133han01-dsi0.dtso b/arch/arm64/boot/dts/qcom/eliza-evk-lvds-auo,g133han01-dsi0.dtso new file mode 100644 index 0000000000000..3da0dc3c0de80 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/eliza-evk-lvds-auo,g133han01-dsi0.dtso @@ -0,0 +1,126 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&{/} { + backlight_lvds: backlight-lvds { + compatible = "pwm-backlight"; + pwms = <&pm7550_pwm 3 100000>; + brightness-levels = <0 255>; + num-interpolated-steps = <255>; + default-brightness-level = <153>; + enable-gpios = <&pm7550_gpios 2 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&lvds_bl_pwm>; + }; + + panel_lvds: panel-lvds { + compatible = "auo,g133han01"; + backlight = <&backlight_lvds>; + power-supply = <&vreg_disp_3p3>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dual-lvds-odd-pixels; + panel_lvds_in_odd: endpoint { + remote-endpoint = <&sn65dsi84_lvds_a>; + }; + }; + + port@1 { + reg = <1>; + dual-lvds-even-pixels; + panel_lvds_in_even: endpoint { + remote-endpoint = <&sn65dsi84_lvds_b>; + }; + }; + }; + }; + + vreg_lvds_1p8: regulator-lvds-1p8 { + compatible = "regulator-fixed"; + regulator-name = "vreg_lvds_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vreg_disp_3p3>; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_0_connector { + status = "disabled"; +}; + +&i2c4 { + #address-cells = <1>; + #size-cells = <0>; + + bridge@2c { + compatible = "ti,sn65dsi84"; + reg = <0x2c>; + enable-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>; + interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; + vcc-supply = <&vreg_lvds_1p8>; + pinctrl-0 = <&bridge_irq_pin>, <&bridge_rst_pin>; + pinctrl-names = "default"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + sn65dsi84_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + data-lanes = <1 2 3 4>; + }; + }; + + port@2 { + reg = <2>; + sn65dsi84_lvds_a: endpoint { + remote-endpoint = <&panel_lvds_in_odd>; + }; + }; + + port@3 { + reg = <3>; + sn65dsi84_lvds_b: endpoint { + remote-endpoint = <&panel_lvds_in_even>; + }; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&sn65dsi84_in>; +}; + +&pm7550_gpios { + lvds_bl_pwm: lvds-bl-pwm-state { + pins = "gpio9"; + function = "func1"; + bias-disable; + output-low; + power-source = <0>; + }; +}; + +&pm7550_pwm { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi index 86a208b17f911..6e094c5c75973 100644 --- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi +++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi @@ -7,6 +7,7 @@ / { aliases { + i2c4 = &i2c4; i2c8 = &i2c8; serial0 = &uart13; }; diff --git a/arch/arm64/boot/dts/qcom/pm7550-eliza.dtsi b/arch/arm64/boot/dts/qcom/pm7550-eliza.dtsi index 9b907f69264b2..3a7dc47ced5ae 100644 --- a/arch/arm64/boot/dts/qcom/pm7550-eliza.dtsi +++ b/arch/arm64/boot/dts/qcom/pm7550-eliza.dtsi @@ -57,5 +57,12 @@ interrupt-controller; #interrupt-cells = <2>; }; + + pm7550_pwm: pwm { + compatible = "qcom,pm7550-pwm", "qcom,pm8350c-pwm"; + #pwm-cells = <2>; + + status = "disabled"; + }; }; }; From 257d5eb303ab6ec4c47c7e192c4c7d9a42a5470a Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Fri, 27 Nov 2026 14:19:28 +0530 Subject: [PATCH 7/8] FROMLIST: arm64: dts: qcom: eliza-evk: Add RPi 7-inch DSI0 overlay Add a DT overlay for Qualcomm Eliza EVK to enable the Raspberry Pi 7-inch DSI panel on the DSI0 22-pin connector. The overlay disables the default HDMI bridge path, routes DSI0 to the panel and describes the panel regulator/backlight controller and Goodix touch controller on I2C8. The Raspberry Pi DSI0 22-pin connector path expects SW3.5 to be on. Link: https://lore.kernel.org/all/20261127-eliza_disp_all-v1-6-a18be7f65fd4@oss.qualcomm.com/ Signed-off-by: Vishnu Saini --- arch/arm64/boot/dts/qcom/Makefile | 3 + .../eliza-evk-raspberrypi-dsi0-7inch.dtso | 87 +++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/eliza-evk-raspberrypi-dsi0-7inch.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 498b7c39a5477..95250f4d641b3 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -16,11 +16,14 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8096sg-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb eliza-cqs-evk-emmc-dlc0697-dsi0-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-dlc0697-dsi0.dtbo eliza-cqs-evk-emmc-lvds-auo,g133han01-dsi0-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-lvds-auo,g133han01-dsi0.dtbo +eliza-cqs-evk-emmc-raspberrypi-dsi0-7inch-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-raspberrypi-dsi0-7inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-dlc0697-dsi0.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-lvds-auo,g133han01-dsi0.dtb +dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-raspberrypi-dsi0-7inch.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-dlc0697-dsi0.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-lvds-auo,g133han01-dsi0.dtbo +dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-raspberrypi-dsi0-7inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-ufs.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += glymur-asus-zenbook-a14-ux3407na.dtb diff --git a/arch/arm64/boot/dts/qcom/eliza-evk-raspberrypi-dsi0-7inch.dtso b/arch/arm64/boot/dts/qcom/eliza-evk-raspberrypi-dsi0-7inch.dtso new file mode 100644 index 0000000000000..33cb9947f463b --- /dev/null +++ b/arch/arm64/boot/dts/qcom/eliza-evk-raspberrypi-dsi0-7inch.dtso @@ -0,0 +1,87 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + display_bl_dsi0: backlight-dsi0 { + compatible = "pwm-backlight"; + power-supply = <®_display_dsi0>; + pwms = <&rpi_mcu_dsi0 0 255 0>; + }; + + reg_display_dsi0: regulator-display-dsi0 { + compatible = "regulator-fixed"; + regulator-name = "rpi-display-dsi0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + reg_touch_dsi0: regulator-touch-dsi0 { + compatible = "regulator-fixed"; + regulator-name = "rpi-touch-dsi0"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&rpi_mcu_dsi0 1 GPIO_ACTIVE_HIGH>; + startup-delay-us = <50000>; + enable-active-high; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_0_connector { + status = "disabled"; +}; + +&i2c8 { + #address-cells = <1>; + #size-cells = <0>; + + rpi_mcu_dsi0: gpio@45 { + compatible = "raspberrypi,touchscreen-panel-regulator-v2"; + reg = <0x45>; + gpio-controller; + #gpio-cells = <2>; + #pwm-cells = <3>; + }; + + touchscreen0@5d { + compatible = "goodix,gt911"; + reg = <0x5d>; + AVDD28-supply = <®_touch_dsi0>; + touchscreen-size-x = <720>; + touchscreen-size-y = <1280>; + }; +}; + +&mdss_dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "raspberrypi,dsi-7inch", "ilitek,ili9881c"; + reg = <0>; + reset-gpios = <&rpi_mcu_dsi0 0 GPIO_ACTIVE_LOW>; + power-supply = <®_display_dsi0>; + backlight = <&display_bl_dsi0>; + + port { + panel_in_dsi0: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&panel_in_dsi0>; + data-lanes = <0 1>; +}; From 9a4ae3c2bf02a5d7c3f4e3fabc60d13db3fbc0a6 Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Fri, 27 Nov 2026 14:19:29 +0530 Subject: [PATCH 8/8] FROMLIST: arm64: dts: qcom: eliza-evk: Add Waveshare 8-inch DSI0 overlay Add a DT overlay for Qualcomm Eliza EVK to enable the Waveshare 8-inch DSI touch panel on the DSI0 22-pin connector. The overlay disables the default HDMI bridge path, routes DSI0 to the panel and describes the Waveshare GPIO/backlight controller and Goodix touch controller on I2C8. The Waveshare DSI0 22-pin connector path expects SW3.5 to be on. Link: https://lore.kernel.org/all/20261127-eliza_disp_all-v1-7-a18be7f65fd4@oss.qualcomm.com/ Signed-off-by: Vishnu Saini --- arch/arm64/boot/dts/qcom/Makefile | 3 + .../qcom/eliza-evk-waveshare-dsi0-8inch.dtso | 87 +++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/eliza-evk-waveshare-dsi0-8inch.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 95250f4d641b3..5f4373ebca43b 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -17,13 +17,16 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb eliza-cqs-evk-emmc-dlc0697-dsi0-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-dlc0697-dsi0.dtbo eliza-cqs-evk-emmc-lvds-auo,g133han01-dsi0-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-lvds-auo,g133han01-dsi0.dtbo eliza-cqs-evk-emmc-raspberrypi-dsi0-7inch-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-raspberrypi-dsi0-7inch.dtbo +eliza-cqs-evk-emmc-waveshare-dsi0-8inch-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-waveshare-dsi0-8inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-dlc0697-dsi0.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-lvds-auo,g133han01-dsi0.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-raspberrypi-dsi0-7inch.dtb +dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-waveshare-dsi0-8inch.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-dlc0697-dsi0.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-lvds-auo,g133han01-dsi0.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-raspberrypi-dsi0-7inch.dtbo +dtb-$(CONFIG_ARCH_QCOM) += eliza-evk-waveshare-dsi0-8inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-ufs.dtb dtb-$(CONFIG_ARCH_QCOM) += eliza-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += glymur-asus-zenbook-a14-ux3407na.dtb diff --git a/arch/arm64/boot/dts/qcom/eliza-evk-waveshare-dsi0-8inch.dtso b/arch/arm64/boot/dts/qcom/eliza-evk-waveshare-dsi0-8inch.dtso new file mode 100644 index 0000000000000..1a61d28187fe5 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/eliza-evk-waveshare-dsi0-8inch.dtso @@ -0,0 +1,87 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + reg_panel_avdd_dsi0: regulator-panel-avdd-dsi0 { + compatible = "regulator-fixed"; + gpio = <&wsgpio_dsi0 0 GPIO_ACTIVE_HIGH>; + regulator-name = "panel-avdd-dsi0"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + enable-active-high; + }; + + reg_panel_iovcc_dsi0: regulator-panel-iovcc-dsi0 { + compatible = "regulator-fixed"; + gpio = <&wsgpio_dsi0 4 GPIO_ACTIVE_HIGH>; + regulator-name = "panel-iovcc-dsi0"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + enable-active-high; + }; + + reg_panel_vcc_dsi0: regulator-panel-vcc-dsi0 { + compatible = "regulator-fixed"; + regulator-name = "panel-vcc-dsi0"; + gpios = <&wsgpio_dsi0 8 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_0_connector { + status = "disabled"; +}; + +&i2c8 { + #address-cells = <1>; + #size-cells = <0>; + + wsgpio_dsi0: gpio@45 { + compatible = "waveshare,dsi-touch-gpio"; + reg = <0x45>; + gpio-controller; + #gpio-cells = <2>; + }; + + touchscreen0@5d { + compatible = "goodix,gt9271"; + reg = <0x5d>; + reset-gpios = <&wsgpio_dsi0 9 GPIO_ACTIVE_HIGH>; + }; +}; + +&mdss_dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "waveshare,8.0-dsi-touch-a", "jadard,jd9365da-h3"; + reg = <0>; + backlight = <&wsgpio_dsi0>; + reset-gpios = <&wsgpio_dsi0 1 GPIO_ACTIVE_LOW>; + vccio-supply = <®_panel_iovcc_dsi0>; + vdd-supply = <®_panel_avdd_dsi0>; + + port { + panel0_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&panel0_in>; +};