[PATCH v2 1/1] arm64: dts: rockchip: Enable touchscreen on UNIHIKER M10 V1.2
Miotsuki Mizuno
founder at crepuse.com
Mon Oct 12 05:17:25 PDT 2026
From: Mizuno Miotsuki <founder at crepuse.com>
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 at crepuse.com>
---
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 at 48 {
+ compatible = "nsiway,ns2009";
+ reg = <0x48>;
+ touchscreen-min-pressure = <150>;
+ touchscreen-inverted-y;
+ };
};
&io_domains {
--
2.56.0
More information about the linux-arm-kernel
mailing list