summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-03-24 12:47:44 +0300
committerBjorn Andersson <andersson@kernel.org>2023-03-24 15:58:20 +0300
commit4367d763698c5c7c2c0e540f0508e48b337c7d8a (patch)
tree163b27f73d1543a4db65e416c6652a8a2a21dd71 /arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
parent1681ce3735483ab6897e403a20a7faf5c34c1f09 (diff)
downloadlinux-4367d763698c5c7c2c0e540f0508e48b337c7d8a.tar.xz
arm64: dts: qcom: sc8280xp-x13s: enable alternate touchpad
Enable both touchpad nodes in the devictree and let the HID driver determine which one is actually populated (by attempting to read from each i2c address). Ideally this would not be needed and the boot firmware should instead enable only the node for the populated touchpad, but this is unlikely to ever be realised for the X13s. Note that the pin configuration must currently be moved to the parent i2c-bus node even though only one of these nodes will ever be successfully probed on a specific device (e.g. to allow them to be probed in parallel). Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230324094744.20448-1-johan+linaro@kernel.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
index 0d1e49ddd540..19d5ac6591fa 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
@@ -603,7 +603,7 @@
clock-frequency = <400000>;
pinctrl-names = "default";
- pinctrl-0 = <&i2c21_default>;
+ pinctrl-0 = <&i2c21_default>, <&tpad_default>;
status = "okay";
@@ -616,12 +616,7 @@
vdd-supply = <&vreg_misc_3p3>;
vddl-supply = <&vreg_s10b>;
- pinctrl-names = "default";
- pinctrl-0 = <&tpad_default>;
-
wakeup-source;
-
- status = "disabled";
};
touchpad@2c {
@@ -633,9 +628,6 @@
vdd-supply = <&vreg_misc_3p3>;
vddl-supply = <&vreg_s10b>;
- pinctrl-names = "default";
- pinctrl-0 = <&tpad_default>;
-
wakeup-source;
};