18c2ecf20Sopenharmony_ciBindings for EETI touchscreen controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible:	should be "eeti,exc3000-i2c"
58c2ecf20Sopenharmony_ci- reg:		I2C address of the chip. Should be set to <0xa>
68c2ecf20Sopenharmony_ci- interrupts:	interrupt to which the chip is connected
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciOptional properties:
98c2ecf20Sopenharmony_ci- attn-gpios:	A handle to a GPIO to check whether interrupt is still
108c2ecf20Sopenharmony_ci		latched. This is necessary for platforms that lack
118c2ecf20Sopenharmony_ci		support for level-triggered IRQs.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciThe following optional properties described in touchscreen.txt are
148c2ecf20Sopenharmony_cialso supported:
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci- touchscreen-inverted-x
178c2ecf20Sopenharmony_ci- touchscreen-inverted-y
188c2ecf20Sopenharmony_ci- touchscreen-swapped-x-y
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciExample:
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_cii2c-master {
238c2ecf20Sopenharmony_ci	touchscreen@a {
248c2ecf20Sopenharmony_ci		compatible = "eeti,exc3000-i2c";
258c2ecf20Sopenharmony_ci		reg = <0xa>;
268c2ecf20Sopenharmony_ci		interrupt-parent = <&gpio>;
278c2ecf20Sopenharmony_ci		interrupts = <123 IRQ_TYPE_EDGE_RISING>;
288c2ecf20Sopenharmony_ci		attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>;
298c2ecf20Sopenharmony_ci	};
308c2ecf20Sopenharmony_ci};
31