Skip to content

Commit 2be670d

Browse files
joelselvarajandersson
authored andcommitted
arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: introduce touchscreen support
Enable the Novatek NT36672A touchscreen controller used in the Poco F1 (Tianma) panel variant. Reviewed-by: Konrad Dybcio <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Joel Selvaraj <[email protected]> Link: https://lore.kernel.org/r/20250506-pocof1-touchscreen-support-v4-3-bfb53da52945@joelselvaraj.com Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 424246e commit 2be670d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,26 @@
1313
compatible = "tianma,fhd-video", "novatek,nt36672a";
1414
status = "okay";
1515
};
16+
17+
&i2c14 {
18+
status = "okay";
19+
20+
touchscreen@1 {
21+
compatible = "novatek,nt36672a-ts";
22+
reg = <0x01>;
23+
24+
interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_RISING>;
25+
reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
26+
panel = <&display_panel>;
27+
28+
iovcc-supply = <&vreg_l14a_1p8>;
29+
vcc-supply = <&lab>;
30+
31+
pinctrl-0 = <&ts_int_default &ts_reset_default>;
32+
pinctrl-1 = <&ts_int_sleep &ts_reset_sleep>;
33+
pinctrl-names = "default", "sleep";
34+
35+
touchscreen-size-x = <1080>;
36+
touchscreen-size-y = <2246>;
37+
};
38+
};

0 commit comments

Comments
 (0)