From: Johan Hovold Date: Fri, 5 Aug 2022 09:23:17 +0000 (+0200) Subject: arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add alternate touchpad X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ca1ce7207e53cfe69aee5002eb3795069668da53;p=linux.git arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add alternate touchpad Add support for the alternate (second-source) touchpad found on some X13s laptops. Note that alternate touchpad is kept disabled for now. The boot firmware should determine which device is actually populated and enable only the corresponding node. Signed-off-by: Johan Hovold Reviewed-by: Manivannan Sadhasivam Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220805092317.4985-8-johan+linaro@kernel.org --- 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 77ac693a1186c..16c6e4d920bb5 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -221,6 +221,22 @@ status = "okay"; + touchpad@15 { + compatible = "hid-over-i2c"; + reg = <0x15>; + + hid-descr-addr = <0x1>; + interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <&vreg_misc_3p3>; + + pinctrl-names = "default"; + pinctrl-0 = <&tpad_default>; + + wakeup-source; + + status = "disabled"; + }; + touchpad@2c { compatible = "hid-over-i2c"; reg = <0x2c>;