diff options
| author | Luca Weiss <luca.weiss@fairphone.com> | 2025-03-12 12:14:59 +0100 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2025-03-14 11:58:23 -0500 |
| commit | 6c6d55f41c1b54b16d35f16c02fe99cc0ad019e0 (patch) | |
| tree | 48cc38606d72fb76f7fbc95c372f37de48188e30 | |
| parent | 515551e65635b988f2afa9e8683a6b57d6cfba36 (diff) | |
arm64: dts: qcom: qcm6490-fairphone-fp5: Add touchscreen node
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>
| -rw-r--r-- | arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts index 356cee8aeba9..0f1c83822f66 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts @@ -1069,7 +1069,17 @@ &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 { |
