summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJob Noorman <job@noorman.info>2022-11-07 11:56:04 +0100
committerBjorn Andersson <andersson@kernel.org>2022-11-07 22:06:26 -0600
commit6d9a666d49bf57c6a176e5fcf1b39046ee6a728f (patch)
tree09be4b0ca172b20bf8e6baa2ddc8d4b121b5e212 /arch
parent4420e60416cb9073fb0d2cb6f10d1830e2a84646 (diff)
downloadlwn-6d9a666d49bf57c6a176e5fcf1b39046ee6a728f.tar.gz
lwn-6d9a666d49bf57c6a176e5fcf1b39046ee6a728f.zip
arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen
Add Himax hx83112b touchscreen to the FP3 DT. Signed-off-by: Job Noorman <job@noorman.info> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221107105604.26541-4-job@noorman.info
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
index c238fba2fe7c..3fb513cad0a9 100644
--- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
+++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
@@ -49,6 +49,20 @@
vdda-phy-dpdm-supply = <&pm8953_l13>;
};
+&i2c_3 {
+ status = "okay";
+
+ touchscreen@48 {
+ compatible = "himax,hx83112b";
+ reg = <0x48>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <65 IRQ_TYPE_LEVEL_LOW>;
+ touchscreen-size-x = <1080>;
+ touchscreen-size-y = <2160>;
+ reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
+ };
+};
+
&pm8953_resin {
status = "okay";
linux,code = <KEY_VOLUMEDOWN>;