xref: /freebsd/sys/contrib/device-tree/Bindings/input/ilitek,ili2xxx.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotIlitek ILI210x/ILI2117/ILI2120/ILI251x touchscreen controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible:
5*c66ec88fSEmmanuel Vadot    ilitek,ili210x for ILI210x
6*c66ec88fSEmmanuel Vadot    ilitek,ili2117 for ILI2117
7*c66ec88fSEmmanuel Vadot    ilitek,ili2120 for ILI2120
8*c66ec88fSEmmanuel Vadot    ilitek,ili251x for ILI251x
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot- reg: The I2C address of the device
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot- interrupts: The sink for the touchscreen's IRQ output
13*c66ec88fSEmmanuel Vadot    See ../interrupt-controller/interrupts.txt
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotOptional properties for main touchpad device:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot- reset-gpios: GPIO specifier for the touchscreen's reset pin (active low)
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample:
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	touchscreen@41 {
22*c66ec88fSEmmanuel Vadot		compatible = "ilitek,ili251x";
23*c66ec88fSEmmanuel Vadot		reg = <0x41>;
24*c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio4>;
25*c66ec88fSEmmanuel Vadot		interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
26*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
27*c66ec88fSEmmanuel Vadot	};
28