diff mbox series

[1/3] ARM: dts: msm8974-FP2: Add support for touchscreen

Message ID 20220421214243.352469-1-luca@z3ntu.xyz (mailing list archive)
State Accepted
Commit 88044abcde58ebf810f4be49ee2555ecc333bad4
Headers show
Series [1/3] ARM: dts: msm8974-FP2: Add support for touchscreen | expand

Commit Message

Luca Weiss April 21, 2022, 9:42 p.m. UTC
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>
---
 .../boot/dts/qcom-msm8974pro-fairphone-fp2.dts    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

patchwork-bot+linux-arm-msm@kernel.org May 4, 2022, 5:20 p.m. UTC | #1
Hello:

This series was applied to qcom/linux.git (for-next)
by Bjorn Andersson <bjorn.andersson@linaro.org>:

On Thu, 21 Apr 2022 23:42:41 +0200 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [1/3] ARM: dts: msm8974-FP2: Add support for touchscreen
    https://git.kernel.org/qcom/c/88044abcde58
  - [2/3] ARM: dts: msm8974-FP2: Configure charger
    https://git.kernel.org/qcom/c/da281bf9345a
  - [3/3] ARM: dts: msm8974-FP2: Add supplies for remoteprocs
    https://git.kernel.org/qcom/c/fb5e339fb1bc

You are awesome, thank you!
Bjorn Andersson May 4, 2022, 5:21 p.m. UTC | #2
On Thu, 21 Apr 2022 23:42:41 +0200, Luca Weiss wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/3] ARM: dts: msm8974-FP2: Add support for touchscreen
      commit: 88044abcde58ebf810f4be49ee2555ecc333bad4
[2/3] ARM: dts: msm8974-FP2: Configure charger
      commit: da281bf9345a8bcde224976b83d6ad7899830e97
[3/3] ARM: dts: msm8974-FP2: Add supplies for remoteprocs
      commit: fb5e339fb1bc9eb7f34b341d995e4ab39c03588e

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts
index 96427d75ea82..8f07d8e363aa 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 @@  vibrator {
 	};
 };
 
+&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";
 };