input: touchscreen: ili210x: Add DT binding document
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v4 1/10 input: touchscreen: ili210x: Add DT binding document
Add DT binding document for the Ilitek ILI210x and ILI251x touchscreen controllers.
Signed-off-by Marek Vasut <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Henrik Rydberg <[email protected]>
Cc Olivier Sobrie <[email protected]>
Cc Philipp Puschmann <[email protected]>
Cc Rob Herring <[email protected]>
Reviewed-by Rob Herring <[email protected]>
---
V2: New patch
V3: Replace touch@ with touchscreen@
V4: No change
--- .../bindings/input/ilitek,ili2xxx.txt | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt
Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt new file +25 -0
@@ -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>; + };
Signature · 1 line
2.19.2