summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2022-08-05 11:23:12 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-08-17 19:07:40 +0200
commitffe469eaa2fcc360100bfcc3c4582e83ed4dad57 (patch)
tree4d61e834fdeeba5cea6a871a07af1037630e796b /arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
parentarm64: dts: qcom: sc8280xp-crd: disable touchscreen pull-up (diff)
downloadlinux-ffe469eaa2fcc360100bfcc3c4582e83ed4dad57.tar.xz
linux-ffe469eaa2fcc360100bfcc3c4582e83ed4dad57.zip
arm64: dts: qcom: sc8280xp-crd: move HID pin config
The HID pin configurations belong in the HID nodes rather than i2c bus node. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220805092317.4985-3-johan+linaro@kernel.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sc8280xp-crd.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sc8280xp-crd.dts16
1 files changed, 14 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
index 6edcc10ed762..90e38ce8059f 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
@@ -203,16 +203,20 @@
clock-frequency = <400000>;
pinctrl-names = "default";
- pinctrl-0 = <&qup0_i2c4_default>, <&ts0_default>;
+ pinctrl-0 = <&qup0_i2c4_default>;
status = "okay";
touchscreen@10 {
compatible = "hid-over-i2c";
reg = <0x10>;
+
hid-descr-addr = <0x1>;
interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
vdd-supply = <&vreg_misc_3p3>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&ts0_default>;
};
};
@@ -228,24 +232,32 @@
clock-frequency = <400000>;
pinctrl-names = "default";
- pinctrl-0 = <&qup2_i2c5_default>, <&kybd_default>, <&tpad_default>;
+ pinctrl-0 = <&qup2_i2c5_default>;
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>;
};
keyboard@68 {
compatible = "hid-over-i2c";
reg = <0x68>;
+
hid-descr-addr = <0x1>;
interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
vdd-supply = <&vreg_misc_3p3>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&kybd_default>;
};
};