Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: touchscreen: ilitek_ts_i2c: Absorb ili2xxx bindings

While Linux uses a different driver, the Ilitek
ILI210x/ILI2117/ILI2120/ILI251x touchscreen controller Device Tree
binding documentation is very similar.

- Drop the fixed reg value, as some controllers use a different
address,
- Make reset-gpios optional, as it is not always wired.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/0c5f06c9d262c1720b40d068b6eefe58ca406601.1638539806.git.geert+renesas@glider.be

authored by

Geert Uytterhoeven and committed by
Rob Herring
644291eb ee77ef0d

+5 -29
-27
Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt
··· 1 - Ilitek ILI210x/ILI2117/ILI2120/ILI251x touchscreen controller 2 - 3 - Required properties: 4 - - compatible: 5 - ilitek,ili210x for ILI210x 6 - ilitek,ili2117 for ILI2117 7 - ilitek,ili2120 for ILI2120 8 - ilitek,ili251x for ILI251x 9 - 10 - - reg: The I2C address of the device 11 - 12 - - interrupts: The sink for the touchscreen's IRQ output 13 - See ../interrupt-controller/interrupts.txt 14 - 15 - Optional properties for main touchpad device: 16 - 17 - - reset-gpios: GPIO specifier for the touchscreen's reset pin (active low) 18 - 19 - Example: 20 - 21 - touchscreen@41 { 22 - compatible = "ilitek,ili251x"; 23 - reg = <0x41>; 24 - interrupt-parent = <&gpio4>; 25 - interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 26 - reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>; 27 - };
+5 -2
Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml
··· 15 15 properties: 16 16 compatible: 17 17 enum: 18 + - ilitek,ili210x 19 + - ilitek,ili2117 20 + - ilitek,ili2120 18 21 - ilitek,ili2130 19 22 - ilitek,ili2131 20 23 - ilitek,ili2132 ··· 25 22 - ilitek,ili2322 26 23 - ilitek,ili2323 27 24 - ilitek,ili2326 25 + - ilitek,ili251x 28 26 - ilitek,ili2520 29 27 - ilitek,ili2521 30 28 31 29 reg: 32 - const: 0x41 30 + maxItems: 1 33 31 34 32 interrupts: 35 33 maxItems: 1 ··· 54 50 - compatible 55 51 - reg 56 52 - interrupts 57 - - reset-gpios 58 53 59 54 examples: 60 55 - |