diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2022-04-22 00:42:41 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-05-03 22:17:02 +0300 |
commit | 88044abcde58ebf810f4be49ee2555ecc333bad4 (patch) | |
tree | 9f5f240277adb22cfbb298df179cd964563edb8e /arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts | |
parent | 02fbeb1649534d564b100a994b05d4eaa167ea19 (diff) | |
download | linux-88044abcde58ebf810f4be49ee2555ecc333bad4.tar.xz |
ARM: dts: qcom: msm8974-FP2: Add support for touchscreen
Configure the touchscreen found on the new display module of the FP2.
To add some detail, FP2 has two different screen/touchscreen variants
("display module"), the old module has Synaptics touchscreen, the new
one this Ilitek touchscreen.
We're only supporting the new display module for now.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220421214243.352469-1-luca@z3ntu.xyz
Diffstat (limited to 'arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts')
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts index 26fc2002e5c3..d0ae19a9874e 100644 --- a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts @@ -57,6 +57,21 @@ }; }; +&blsp1_i2c2 { + status = "okay"; + + touchscreen@41 { + compatible = "ilitek,ili2120"; + reg = <0x41>; + interrupt-parent = <&tlmm>; + interrupts = <28 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 55 GPIO_ACTIVE_LOW>; + + touchscreen-size-x = <1080>; + touchscreen-size-y = <1920>; + }; +}; + &blsp1_uart2 { status = "okay"; }; |