dt-bindings: add binding for Nsiway NS2009 touchscreen controller

Nsiway NS2009 is a resistive touchscreen controller, with I2C interface
and optional interrupt pin.

Add binding document for it.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
This commit is contained in:
Icenowy Zheng
2017-03-15 23:51:38 +08:00
committed by Heinrich Toews
parent 9918fb6631
commit 2be0a26f8e
@@ -0,0 +1,23 @@
* Nsiway NS2009 Resistive Touchscreen Controller
Required properties:
- compatible : "nsiway,ns2009"
- reg : I2C slave address of the chip (0x48 or 0x49, depends on
the hardware)
Optional properties:
- interrupt-parent : a phandle pointing to the interrupt controller
serving the interrupt for this chip
- interrupts : interrupt specification for the ns2009 pen interrupt
- properties defined in touchscreen.txt
Example:
i2c@00000000 {
ns2009: touchscreen@48 {
compatible = "nsiway,ns2009";
reg = <0x48>;
touchscreen-fuzz-x = <8>;
touchscreen-fuzz-y = <8>;
};
};