* [PATCH v2] arm64: dts: qcom: x1e80100-t14s: add another trackpad support
@ 2024-09-17 15:00 srinivas.kandagatla
2024-09-17 15:32 ` Dmitry Baryshkov
2024-09-17 23:32 ` Konrad Dybcio
0 siblings, 2 replies; 4+ messages in thread
From: srinivas.kandagatla @ 2024-09-17 15:00 UTC (permalink / raw)
To: andersson
Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
linux-kernel, abel.vesa, Srinivas Kandagatla
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Trackpad HID device on some of the T14s Product Models 21N2ZC5PUS is
at I2C address 0x2c add this to be able to get it working on these laptops.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
Changes since v1:
- moved pinctrl to parent node so that pinctrl can be claimed globally.
.../dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
index 08ec2419f95f..45a77c1fb6f4 100644
--- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
+++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
@@ -551,6 +551,9 @@ zap-shader {
&i2c0 {
clock-frequency = <400000>;
+ pinctrl-0 = <&tpad_default>;
+ pinctrl-names = "default";
+
status = "okay";
/* ELAN06E2 or ELAN06E3 */
@@ -561,13 +564,19 @@ touchpad@15 {
hid-descr-addr = <0x1>;
interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
- pinctrl-0 = <&tpad_default>;
- pinctrl-names = "default";
-
wakeup-source;
};
- /* TODO: second-sourced SYNA8022 or SYNA8024 touchpad @ 0x2c */
+ /* SYNA8022 or SYNA8024 */
+ touchpad@2c {
+ compatible = "hid-over-i2c";
+ reg = <0x2c>;
+
+ hid-descr-addr = <0x20>;
+ interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
+
+ wakeup-source;
+ };
/* ELAN06F1 or SYNA06F2 */
keyboard@3a {
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: x1e80100-t14s: add another trackpad support
2024-09-17 15:00 [PATCH v2] arm64: dts: qcom: x1e80100-t14s: add another trackpad support srinivas.kandagatla
@ 2024-09-17 15:32 ` Dmitry Baryshkov
2024-09-17 23:32 ` Konrad Dybcio
1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Baryshkov @ 2024-09-17 15:32 UTC (permalink / raw)
To: srinivas.kandagatla
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
devicetree, linux-kernel, abel.vesa
On Tue, Sep 17, 2024 at 11:00:49AM GMT, srinivas.kandagatla@linaro.org wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>
> Trackpad HID device on some of the T14s Product Models 21N2ZC5PUS is
> at I2C address 0x2c add this to be able to get it working on these laptops.
Commit message should describe reasons for moving device-specific
pinctrl to the bus level. Other than that LGTM.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
> Changes since v1:
> - moved pinctrl to parent node so that pinctrl can be claimed globally.
>
> .../dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: x1e80100-t14s: add another trackpad support
2024-09-17 15:00 [PATCH v2] arm64: dts: qcom: x1e80100-t14s: add another trackpad support srinivas.kandagatla
2024-09-17 15:32 ` Dmitry Baryshkov
@ 2024-09-17 23:32 ` Konrad Dybcio
2024-09-18 9:29 ` Johan Hovold
1 sibling, 1 reply; 4+ messages in thread
From: Konrad Dybcio @ 2024-09-17 23:32 UTC (permalink / raw)
To: srinivas.kandagatla, andersson
Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
linux-kernel, abel.vesa
On 17.09.2024 5:00 PM, srinivas.kandagatla@linaro.org wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>
> Trackpad HID device on some of the T14s Product Models 21N2ZC5PUS is
> at I2C address 0x2c add this to be able to get it working on these laptops.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
> Changes since v1:
> - moved pinctrl to parent node so that pinctrl can be claimed globally.
>
> .../dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
> index 08ec2419f95f..45a77c1fb6f4 100644
> --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
> @@ -551,6 +551,9 @@ zap-shader {
> &i2c0 {
> clock-frequency = <400000>;
>
> + pinctrl-0 = <&tpad_default>;
> + pinctrl-names = "default";
You're dropping the QUP pins, please include them too (like in c630.dtsi)
Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: x1e80100-t14s: add another trackpad support
2024-09-17 23:32 ` Konrad Dybcio
@ 2024-09-18 9:29 ` Johan Hovold
0 siblings, 0 replies; 4+ messages in thread
From: Johan Hovold @ 2024-09-18 9:29 UTC (permalink / raw)
To: Srinivas Kandagatla
Cc: andersson, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
linux-kernel, abel.vesa
On Wed, Sep 18, 2024 at 01:32:34AM +0200, Konrad Dybcio wrote:
> On 17.09.2024 5:00 PM, srinivas.kandagatla@linaro.org wrote:
> > From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> >
> > Trackpad HID device on some of the T14s Product Models 21N2ZC5PUS is
> > at I2C address 0x2c add this to be able to get it working on these laptops.
> >
> > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> > ---
> > Changes since v1:
> > - moved pinctrl to parent node so that pinctrl can be claimed globally.
> > &i2c0 {
> > clock-frequency = <400000>;
> >
> > + pinctrl-0 = <&tpad_default>;
> > + pinctrl-names = "default";
>
> You're dropping the QUP pins, please include them too (like in c630.dtsi)
And make sure to CC people that provide feedback on your patches when
respinning.
Johan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-18 9:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17 15:00 [PATCH v2] arm64: dts: qcom: x1e80100-t14s: add another trackpad support srinivas.kandagatla
2024-09-17 15:32 ` Dmitry Baryshkov
2024-09-17 23:32 ` Konrad Dybcio
2024-09-18 9:29 ` Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).