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: bfbc663d27 ("arm64: dts: rockchip: Add BigTreeTech CB2 and Pi2")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://patch.msgid.link/20260721135450.45286-1-festevam@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
Fabio Estevam 2026-07-21 10:54:50 -03:00 committed by Heiko Stuebner
parent f4fb08d6d7
commit 7707e4555c

View File

@ -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>;
};