[PATCH 2/6] arm64: dts: qcom: talos-lyra-evk: Add DLC DLC0697 panel overlay
flat view
HOTtoday
From: <hidden>
Date: 2026-10-21 15:18:02
Also in:
linux-arm-msm, linux-devicetree, lkml
Subsystem:
arm/qualcomm mailing list, arm/qualcomm support, the rest · Maintainers:
Bjorn Andersson, Konrad Dybcio, Linus Torvalds
From: Shashank Maurya <redacted> Add a DT overlay for Talos Lyra EVK, to enable DLC0697 panel when DLC daughter card connected to DSI0_B2B on carrier card. Configure DLC0697 reset GPIO, supplies, pinctrl states and GPIO backlight controlled through TLMM GPIO 2. Disable the default HDMI bridge and connector in favour of the DSI panel. Signed-off-by: Shashank Maurya <redacted> Signed-off-by: Anand Tiwari <redacted> --- arch/arm64/boot/dts/qcom/Makefile | 4 ++ .../boot/dts/qcom/talos-lyra-evk-dlc0697.dtso | 78 ++++++++++++++++++++++ 2 files changed, 82 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 4f8ca3112fed..5248b6be68f5 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile@@ -476,6 +476,10 @@ dtb-$(CONFIG_ARCH_QCOM) += talos-evk-lvds-auo,g133han01.dtb talos-evk-rpi-display-2-5in-dtbs := \ talos-evk.dtb talos-evk-rpi-display-2-5in.dtbo dtb-$(CONFIG_ARCH_QCOM) += talos-evk-rpi-display-2-5in.dtb + +talos-lyra-evk-dlc0697-dtbs := talos-lyra-evk.dtb talos-lyra-evk-dlc0697.dtbo +dtb-$(CONFIG_ARCH_QCOM) += talos-lyra-evk-dlc0697.dtb +dtb-$(CONFIG_ARCH_QCOM) += talos-lyra-evk-dlc0697.dtbo x1e001de-devkit-el2-dtbs := x1e001de-devkit.dtb x1-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += x1e001de-devkit.dtb x1e001de-devkit-el2.dtb x1e78100-lenovo-thinkpad-t14s-el2-dtbs := x1e78100-lenovo-thinkpad-t14s.dtb x1-el2.dtbo
diff --git a/arch/arm64/boot/dts/qcom/talos-lyra-evk-dlc0697.dtso b/arch/arm64/boot/dts/qcom/talos-lyra-evk-dlc0697.dtso
new file mode 100644
index 000000000000..e50bf69c7b37
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/talos-lyra-evk-dlc0697.dtso@@ -0,0 +1,78 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ +/dts-v1/; +/plugin/; + +#include <dt-bindings/gpio/gpio.h> + +&{/} { + backlight: backlight { + compatible = "gpio-backlight"; + gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>; + default-on; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_connector { + status = "disabled"; +}; + +&mdss_dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "dlc,dlc0697", "ilitek,ili7807s"; + reg = <0>; + + reset-gpios = <&tlmm 118 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + + vddi-supply = <&vreg_s4a>; + avdd-supply = <&vreg_disp_3p3>; + avee-supply = <&vreg_disp_3p3>; + + pinctrl-0 = <&panel_rst_n &panel_te_pin>; + pinctrl-1 = <&panel_rst_n_suspend>; + pinctrl-names = "default", "sleep"; + + port { + panel_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&panel_in>; +}; + +&tlmm { + panel_te_pin: panel-te-pin-state { + pins = "gpio98"; + function = "mdp_vsync"; + drive-strength = <2>; + bias-pull-down; + }; + + panel_rst_n: panel-rst-n-state { + pins = "gpio118"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + }; + + panel_rst_n_suspend: panel-rst-n-suspend-state { + pins = "gpio118"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; +};
--
2.55.0