mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Enable touchscreen on UNIHIKER M10 V1.2
@ 2026-10-12 12:17 Miotsuki Mizuno
  2026-10-12 12:17 ` [PATCH v2 1/1] arm64: dts: rockchip: " Miotsuki Mizuno
  0 siblings, 1 reply; 2+ messages in thread
From: Miotsuki Mizuno @ 2026-10-12 12:17 UTC (permalink / raw)
  To: heiko
  Cc: conor+dt, devicetree, krzk+dt, linux-arm-kernel, linux-kernel,
	linux-rockchip, robh

Describe the onboard NS2009 at I2C2 address 0x48, with inverted Y and
the tested raw Z1 contact threshold of 150.

This patch depends on the separate common I2C2 board patch and the
still-unmerged NS2009 vendor-prefix/binding series (now prepared as v3).
The driver is a runtime dependency. It does not depend on display support.

Changes since v1:
- Normalize author/sender identity and preserve it in the patch body.
- Recheck against the expanded, closed NS2009 binding in an independent
  dependency validation tree.

The DTS diff is unchanged. Prior physical operation was confirmed and
one capture recorded nine press/release pairs, 208 frames and no dropped
events. One invalid sample was recorded and is not hidden.

Mizuno Miotsuki (1):
  arm64: dts: rockchip: Enable touchscreen on UNIHIKER M10 V1.2

 arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts | 7 +++++++
 1 file changed, 7 insertions(+)


base-commit: d6c0b613da7796745d9ae71d0d0b87cb48ca25c6
-- 
2.56.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v2 1/1] arm64: dts: rockchip: Enable touchscreen on UNIHIKER M10 V1.2
  2026-10-12 12:17 [PATCH v2 0/1] Enable touchscreen on UNIHIKER M10 V1.2 Miotsuki Mizuno
@ 2026-10-12 12:17 ` Miotsuki Mizuno
  0 siblings, 0 replies; 2+ messages in thread
From: Miotsuki Mizuno @ 2026-10-12 12:17 UTC (permalink / raw)
  To: heiko
  Cc: conor+dt, devicetree, krzk+dt, linux-arm-kernel, linux-kernel,
	linux-rockchip, robh

From: Mizuno Miotsuki <founder@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@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@48 {
+		compatible = "nsiway,ns2009";
+		reg = <0x48>;
+		touchscreen-min-pressure = <150>;
+		touchscreen-inverted-y;
+	};
 };
 
 &io_domains {
-- 
2.56.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-12 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 12:17 [PATCH v2 0/1] Enable touchscreen on UNIHIKER M10 V1.2 Miotsuki Mizuno
2026-10-12 12:17 ` [PATCH v2 1/1] arm64: dts: rockchip: " 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®