]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: qcm6490-fairphone-fp5: Add touchscreen node
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 12 Mar 2025 11:14:59 +0000 (12:14 +0100)
committerBjorn Andersson <andersson@kernel.org>
Fri, 14 Mar 2025 16:58:23 +0000 (11:58 -0500)
Add a node for the GT9897 touchscreen found on this smartphone connected
via SPI.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20250312-fp5-touchscreen-v2-1-4bed270e0065@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts

index 356cee8aeba90e21c11f46df924ed180bfce3160..0f1c83822f66f95b05d851a5d28b418ff048b09d 100644 (file)
 &spi13 {
        status = "okay";
 
-       /* Goodix touchscreen @ 0 */
+       touchscreen@0 {
+               compatible = "goodix,gt9897";
+               reg = <0>;
+               interrupts-extended = <&tlmm 81 IRQ_TYPE_LEVEL_LOW>;
+               reset-gpios = <&tlmm 105 GPIO_ACTIVE_LOW>;
+               avdd-supply = <&vreg_l3c>;
+               vddio-supply = <&vreg_l2c>;
+               spi-max-frequency = <1000000>;
+               touchscreen-size-x = <1224>;
+               touchscreen-size-y = <2700>;
+       };
 };
 
 &tlmm {