1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-11 17:10:13 +00:00

arm64: dts: qcom: sdm845-shift-axolotl: fix touchscreen properties

The touchscreen properties previously upstreamed was based on downstream
touchscreen driver. We ended up adapting upstream edt_ft5x06 driver to
support the touchscreen controller used in this device. Update the
touchscreen properties to match with the upstream edt_ft5x06
driver.

Also, the touchscreen controller used in this device is ft5452 and not
fts8719. Fix the compatible string accordingly.

The wakeup-source property was removed as it prevents the touchscreen's
regulators and irq from being disabled when the device is suspended and
could lead to unexpected battery drain. Once low power mode and
tap-to-wake functionality is properly implemented and tested to be
working, we can add it back, if needed.

Signed-off-by: Joel Selvaraj <foss@joelselvaraj.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251021-shift-axolotl-fix-touchscreen-dts-v2-1-e94727f0aa7e@joelselvaraj.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Joel Selvaraj 2025-10-21 01:20:49 -05:00 committed by Bjorn Andersson
parent ab9a2c821a
commit e19dc81263

View File

@ -434,20 +434,19 @@
status = "okay";
touchscreen@38 {
compatible = "focaltech,fts8719";
compatible = "focaltech,ft5452";
reg = <0x38>;
wakeup-source;
interrupt-parent = <&tlmm>;
interrupts = <125 IRQ_TYPE_EDGE_FALLING>;
vdd-supply = <&vreg_l28a_3p0>;
vcc-i2c-supply = <&vreg_l14a_1p88>;
pinctrl-names = "default", "suspend";
interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&tlmm 99 GPIO_ACTIVE_LOW>;
vcc-supply = <&vreg_l28a_3p0>;
iovcc-supply = <&vreg_l14a_1p88>;
pinctrl-0 = <&ts_int_active &ts_reset_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
pinctrl-names = "default", "suspend";
reset-gpio = <&tlmm 99 GPIO_ACTIVE_HIGH>;
irq-gpio = <&tlmm 125 GPIO_TRANSITORY>;
touchscreen-size-x = <1080>;
touchscreen-size-y = <2160>;
};