Messages in this thread Patch in this message | | | From | Sébastien Szymanski <> | Subject | [PATCH 2/2] Input: sx8654 - add device tree bindings | Date | Fri, 6 Mar 2015 19:21:39 +0100 |
| |
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> --- .../devicetree/bindings/input/touchscreen/sx8654.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/sx8654.txt
diff --git a/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt b/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt new file mode 100644 index 0000000..5aaa6b3 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt @@ -0,0 +1,16 @@ +* Semtech SX8654 I2C Touchscreen Controller + +Required properties: +- compatible: must be "semtech,sx8654" +- reg: i2c slave address +- interrupt-parent: the phandle for the interrupt controller +- interrupts: touch controller interrupt + +Example: + + sx8654@48 { + compatible = "semtech,sx8654"; + reg = <0x48>; + interrupt-parent = <&gpio6>; + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + }; -- 2.0.5
| |