arm64: dts: rockchip: Enable touchscreen on UNIHIKER M10 V1.2
Subsystems (2)
PATCH 1/1 arm64: dts: rockchip: Enable touchscreen on UNIHIKER M10 V1.2
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.
---
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/[email protected]
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(+)
arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts +7 -0
@@ -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
Signature · 1 line
2.56.0