162306a36Sopenharmony_ciBindings for EETI touchscreen controller
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci- compatible:	should be "eeti,exc3000-i2c"
562306a36Sopenharmony_ci- reg:		I2C address of the chip. Should be set to <0xa>
662306a36Sopenharmony_ci- interrupts:	interrupt to which the chip is connected
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciOptional properties:
962306a36Sopenharmony_ci- attn-gpios:	A handle to a GPIO to check whether interrupt is still
1062306a36Sopenharmony_ci		latched. This is necessary for platforms that lack
1162306a36Sopenharmony_ci		support for level-triggered IRQs.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciThe following optional properties described in touchscreen.txt are
1462306a36Sopenharmony_cialso supported:
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci- touchscreen-inverted-x
1762306a36Sopenharmony_ci- touchscreen-inverted-y
1862306a36Sopenharmony_ci- touchscreen-swapped-x-y
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciExample:
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_cii2c-master {
2362306a36Sopenharmony_ci	touchscreen@a {
2462306a36Sopenharmony_ci		compatible = "eeti,exc3000-i2c";
2562306a36Sopenharmony_ci		reg = <0xa>;
2662306a36Sopenharmony_ci		interrupt-parent = <&gpio>;
2762306a36Sopenharmony_ci		interrupts = <123 IRQ_TYPE_EDGE_RISING>;
2862306a36Sopenharmony_ci		attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>;
2962306a36Sopenharmony_ci	};
3062306a36Sopenharmony_ci};
31