diff options
author | Jeffrey Lin <jeffrey.lin@rad-ic.com> | 2016-03-31 17:03:33 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-05-27 17:08:31 -0700 |
commit | 48a2b783483b3ed9565348736a5148a11cfffad6 (patch) | |
tree | 9d31f915fe99b8768f9b3c94931466af2542331d /Documentation/devicetree/bindings/input | |
parent | 72fb4765ac9eea56a94282f29cdc70706f21494e (diff) | |
download | linux-stable-48a2b783483b3ed9565348736a5148a11cfffad6.tar.gz linux-stable-48a2b783483b3ed9565348736a5148a11cfffad6.tar.bz2 linux-stable-48a2b783483b3ed9565348736a5148a11cfffad6.zip |
Input: add Raydium I2C touchscreen driver
This adds support for Raydium I2C touch controllers compatible with
RM32380.
Signed-off-by: Jeffrey Lin <jeffrey.lin@rad-ic.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
-rw-r--r-- | Documentation/devicetree/bindings/input/raydium_i2c_ts.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt b/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt new file mode 100644 index 000000000000..5b6232db7c61 --- /dev/null +++ b/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt @@ -0,0 +1,20 @@ +Raydium I2C touchscreen + +Required properties: +- compatible: must be "raydium,rm32380" +- reg: The I2C address of the device +- interrupt-parent: the phandle for the interrupt controller +- interrupts: interrupt to which the chip is connected + See ../interrupt-controller/interrupts.txt +Optional properties: +- avdd-supply: analog power supply needed to power device +- vccio-supply: IO Power source +- reset-gpios: reset gpio the chip is connected to. + +Example: + touchscreen@39 { + compatible = "raydium,rm32380"; + reg = <0x39>; + interrupt-parent = <&gpio>; + interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>; + }; |