[RESEND,v6,3/3] arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen

Message ID 20221107105604.26541-4-job@noorman.info
State New
Headers
Series Add Himax hx83112b touchscreen driver |

Commit Message

Job Noorman Nov. 7, 2022, 10:56 a.m. UTC
  Add Himax hx83112b touchscreen to the FP3 DT.

Signed-off-by: Job Noorman <job@noorman.info>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
  

Comments

Bjorn Andersson Nov. 8, 2022, 4:36 a.m. UTC | #1
On Mon, 7 Nov 2022 11:56:04 +0100, Job Noorman wrote:
> Add Himax hx83112b touchscreen to the FP3 DT.
> 
> 

Applied, thanks!

[3/3] arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen
      commit: 6d9a666d49bf57c6a176e5fcf1b39046ee6a728f

Best regards,
  

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
index 891e314bc782..2920504461d3 100644
--- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
+++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
@@ -49,6 +49,20 @@  &hsusb_phy {
 	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>;