diff options
author | Marek Vasut <marex@denx.de> | 2019-02-06 21:53:00 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-02-06 22:17:41 -0800 |
commit | 41a852e002e65ab7a1e6841b485d72d022e95df2 (patch) | |
tree | a9c5f38d0328664098db4c499ad7085ee8bad0c3 /Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt | |
parent | 0f681d09e66ea6833e6173180ff3892e9026ab71 (diff) | |
download | lwn-41a852e002e65ab7a1e6841b485d72d022e95df2.tar.gz lwn-41a852e002e65ab7a1e6841b485d72d022e95df2.zip |
Input: ili210x - add DT binding document
Add DT binding document for the Ilitek ILI210x and ILI251x
touchscreen controllers.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt')
-rw-r--r-- | Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt b/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt new file mode 100644 index 000000000000..b2a76301e632 --- /dev/null +++ b/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt @@ -0,0 +1,25 @@ +Ilitek ILI210x/ILI251x touchscreen controller + +Required properties: +- compatible: + ilitek,ili210x for ILI210x + ilitek,ili251x for ILI251x + +- reg: The I2C address of the device + +- interrupts: The sink for the touchscreen's IRQ output + See ../interrupt-controller/interrupts.txt + +Optional properties for main touchpad device: + +- reset-gpios: GPIO specifier for the touchscreen's reset pin (active low) + +Example: + + touchscreen@41 { + compatible = "ilitek,ili251x"; + reg = <0x41>; + interrupt-parent = <&gpio4>; + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>; + }; |