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>
This commit is contained in:

committed by
Dmitry Torokhov

parent
72fb4765ac
commit
48a2b78348
20
Documentation/devicetree/bindings/input/raydium_i2c_ts.txt
Normal file
20
Documentation/devicetree/bindings/input/raydium_i2c_ts.txt
Normal file
@@ -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>;
|
||||
};
|
Reference in New Issue
Block a user