* [PATCH] arm64: dts: rockchip: Enable touchscreen on UNIHIKER M10 V1.2
@ 2026-10-10 23:29 Miotsuki Mizuno
0 siblings, 0 replies; only message in thread
From: Miotsuki Mizuno @ 2026-10-10 23:29 UTC (permalink / raw)
To: heiko
Cc: conor+dt, devicetree, krzk+dt, linux-arm-kernel, linux-kernel,
linux-rockchip, robh
Describe the onboard NS2009 resistive touchscreen at I2C2 address 0x48.
Use the tested inverted Y direction and raw Z1 contact threshold of 150.
Retain the native 12-bit ADC coordinate range.
The I2C2 controller is enabled by a separate board preparation patch.
This device node is independent of the display binding and DTS changes,
and depends on the separately submitted NS2009 binding and driver.
Link: https://lore.kernel.org/r/20261009144729.85832-1-founder@crepuse.com
Signed-off-by: Mizuno Miotsuki <founder@crepuse.com>
---
This board patch depends on the common I2C2 preparation commit and the
separately submitted NS2009 vendor-prefix/binding series. Those NS2009
dependencies are not in the pinned Rockchip tree; only the validation
branch imports them unchanged. The display series has no such dependency.
The prerequisite I2C2 board patch was submitted separately:
https://lore.kernel.org/r/20261010232831.26908-1-founder@crepuse.com
Validation: native DTS build passed, but native dt-validate -m reports
an unmatched NS2009 compatible. With submitted dependencies, target
CHECK_DTBS=y, direct dt-validate and binding example checks passed.
The exact combined DTB booted normally; the tester confirmed touch
direction and operation. Capture: nine down/up pairs, 208 frames, no
SYN_DROPPED, final released. One E0 ff ff invalid sample (-EIO) was
recorded; this is disclosed for review of the pending NS2009 support.
Deep suspend and calibrated five-point coverage are not claimed.
arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts b/arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts
index 0c03f118378a..7ae3cc8a86e0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts
@@ -134,6 +134,13 @@ &emmc {
&i2c2 {
clock-frequency = <400000>;
status = "okay";
+
+ touchscreen@48 {
+ compatible = "nsiway,ns2009";
+ reg = <0x48>;
+ touchscreen-min-pressure = <150>;
+ touchscreen-inverted-y;
+ };
};
&io_domains {
base-commit: f4f7ecd2e0e8debcbab4789717cc79d570d665e3
--
2.56.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-10 23:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10 23:29 [PATCH] arm64: dts: rockchip: Enable touchscreen on UNIHIKER M10 V1.2 Miotsuki Mizuno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®