Skip to contentSkip to conversation

arm64: dts: rockchip: Fix rk3566-bigtreetech-cb2 touchscreen property

PATCH Applied Fabio Estevam 2 participants 2 messages Jul 21 – Jul 28

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: rockchip: Fix rk3566-bigtreetech-cb2 touchscreen property

The TSC2007 driver uses the ti,max-rt property to specify the maximum touch resistance, but the rk3566-bigtreetech-cb2 device tree uses the undocumented ti,rt-thr property instead.

As a result, the configured value is ignored and the driver falls back to its default maximum resistance value of 4095.

Replace ti,rt-thr with ti,max-rt to preserve the intended resistance threshold of 3000.

Fixes bfbc663d2733 ("arm64: dts: rockchip: Add BigTreeTech CB2 and Pi2")

---
Changes since v1:
- Use the documented ti,max-rt instead. (Sashiko)

 arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi +1 -1
index b6cf03a7ba66..04cf285e6c2a 100644
@@ -569,7 +569,7 @@ tft_tp: touchscreen@48 {
 		reg = <0x48>;
 		status = "okay";
 		ti,x-plate-ohms = <660>;
-		ti,rt-thr = <3000>;
+		ti,max-rt = <3000>;
 		ti,fuzzx = <32>;
 		ti,fuzzy = <16>;
 	};
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Fabio Estevam

The TSC2007 driver uses the ti,max-rt property to specify the maximum touch resistance, but the rk3566-bigtreetech-cb2 device tree uses the undocumented ti,rt-thr property instead.

As a result, the configured value is ignored and the driver falls back to its default maximum resistance value of 4095.

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: Fix rk3566-bigtreetech-cb2 touchscreen property

      commit: 7707e4555cf1d52689621e3206df8ad2debaa0dd

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>