1*4882a593SmuzhiyunBindings for EETI touchscreen controller 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: should be "eeti,exc3000-i2c" 5*4882a593Smuzhiyun- reg: I2C address of the chip. Should be set to <0xa> 6*4882a593Smuzhiyun- interrupts: interrupt to which the chip is connected 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunOptional properties: 9*4882a593Smuzhiyun- attn-gpios: A handle to a GPIO to check whether interrupt is still 10*4882a593Smuzhiyun latched. This is necessary for platforms that lack 11*4882a593Smuzhiyun support for level-triggered IRQs. 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunThe following optional properties described in touchscreen.txt are 14*4882a593Smuzhiyunalso supported: 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun- touchscreen-inverted-x 17*4882a593Smuzhiyun- touchscreen-inverted-y 18*4882a593Smuzhiyun- touchscreen-swapped-x-y 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunExample: 21*4882a593Smuzhiyun 22*4882a593Smuzhiyuni2c-master { 23*4882a593Smuzhiyun touchscreen@a { 24*4882a593Smuzhiyun compatible = "eeti,exc3000-i2c"; 25*4882a593Smuzhiyun reg = <0xa>; 26*4882a593Smuzhiyun interrupt-parent = <&gpio>; 27*4882a593Smuzhiyun interrupts = <123 IRQ_TYPE_EDGE_RISING>; 28*4882a593Smuzhiyun attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>; 29*4882a593Smuzhiyun }; 30*4882a593Smuzhiyun}; 31