arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen
authorJob Noorman <job@noorman.info>
Mon, 7 Nov 2022 10:56:04 +0000 (11:56 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 8 Nov 2022 04:06:26 +0000 (22:06 -0600)
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
arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts

index c238fba2fe7c13cd60aef114b58e16b073af08cb..3fb513cad0a92a67ca6ba84974ad52d6ab19b8bd 100644 (file)
        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>;