18c2ecf20Sopenharmony_ciAtmel maXTouch touchscreen/touchpad 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: 58c2ecf20Sopenharmony_ci atmel,maxtouch 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci The following compatibles have been used in various products but are 88c2ecf20Sopenharmony_ci deprecated: 98c2ecf20Sopenharmony_ci atmel,qt602240_ts 108c2ecf20Sopenharmony_ci atmel,atmel_mxt_ts 118c2ecf20Sopenharmony_ci atmel,atmel_mxt_tp 128c2ecf20Sopenharmony_ci atmel,mXT224 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci- reg: The I2C address of the device 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci- interrupts: The sink for the touchpad's IRQ output 178c2ecf20Sopenharmony_ci See ../interrupt-controller/interrupts.txt 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciOptional properties for main touchpad device: 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci- linux,gpio-keymap: When enabled, the SPT_GPIOPWN_T19 object sends messages 228c2ecf20Sopenharmony_ci on GPIO bit changes. An array of up to 8 entries can be provided 238c2ecf20Sopenharmony_ci indicating the Linux keycode mapped to each bit of the status byte, 248c2ecf20Sopenharmony_ci starting at the LSB. Linux keycodes are defined in 258c2ecf20Sopenharmony_ci <dt-bindings/input/input.h>. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci Note: the numbering of the GPIOs and the bit they start at varies between 288c2ecf20Sopenharmony_ci maXTouch devices. You must either refer to the documentation, or 298c2ecf20Sopenharmony_ci experiment to determine which bit corresponds to which input. Use 308c2ecf20Sopenharmony_ci KEY_RESERVED for unused padding values. 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci- reset-gpios: GPIO specifier for the touchscreen's reset pin (active low) 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciExample: 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci touch@4b { 378c2ecf20Sopenharmony_ci compatible = "atmel,maxtouch"; 388c2ecf20Sopenharmony_ci reg = <0x4b>; 398c2ecf20Sopenharmony_ci interrupt-parent = <&gpio>; 408c2ecf20Sopenharmony_ci interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>; 418c2ecf20Sopenharmony_ci }; 42