Skip to content

Commit 7bfb6a4

Browse files
jhovoldandersson
authored andcommitted
arm64: dts: qcom: sc8280xp-x13s: fix touchscreen power on
The Elan eKTH5015M touch controller on the X13s requires a 300 ms delay before sending commands after having deasserted reset during power on. Switch to the Elan specific binding so that the OS can determine the required power-on sequence and make sure that the controller is always detected during boot. Note that the always-on 1.8 V supply (s10b) is not used by the controller directly and should not be described. Fixes: 32c2313 ("arm64: dts: qcom: sc8280xp: add Lenovo Thinkpad X13s devicetree") Cc: [email protected] # 6.0 Tested-by: Steev Klimaszewski <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 8e99e77 commit 7bfb6a4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -655,15 +655,16 @@
655655

656656
status = "okay";
657657

658-
/* FIXME: verify */
659658
touchscreen@10 {
660-
compatible = "hid-over-i2c";
659+
compatible = "elan,ekth5015m", "elan,ekth6915";
661660
reg = <0x10>;
662661

663-
hid-descr-addr = <0x1>;
664662
interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
665-
vdd-supply = <&vreg_misc_3p3>;
666-
vddl-supply = <&vreg_s10b>;
663+
reset-gpios = <&tlmm 99 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
664+
no-reset-on-power-off;
665+
666+
vcc33-supply = <&vreg_misc_3p3>;
667+
vccio-supply = <&vreg_misc_3p3>;
667668

668669
pinctrl-names = "default";
669670
pinctrl-0 = <&ts0_default>;
@@ -1496,8 +1497,8 @@
14961497
reset-n-pins {
14971498
pins = "gpio99";
14981499
function = "gpio";
1499-
output-high;
1500-
drive-strength = <16>;
1500+
drive-strength = <2>;
1501+
bias-disable;
15011502
};
15021503
};
15031504

0 commit comments

Comments
 (0)