xref: /openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
17241443fSHeiko Stübner* AUO in-cell touchscreen controller using Pixcir sensors
27241443fSHeiko Stübner
37241443fSHeiko StübnerRequired properties:
47241443fSHeiko Stübner- compatible: must be "auo,auo_pixcir_ts"
57241443fSHeiko Stübner- reg: I2C address of the chip
67241443fSHeiko Stübner- interrupts: interrupt to which the chip is connected
77241443fSHeiko Stübner- gpios: gpios the chip is connected to
87241443fSHeiko Stübner  first one is the interrupt gpio and second one the reset gpio
97241443fSHeiko Stübner- x-size: horizontal resolution of touchscreen
107241443fSHeiko Stübner- y-size: vertical resolution of touchscreen
117241443fSHeiko Stübner
127241443fSHeiko StübnerExample:
137241443fSHeiko Stübner
147241443fSHeiko Stübner	i2c@00000000 {
157241443fSHeiko Stübner		/* ... */
167241443fSHeiko Stübner
177241443fSHeiko Stübner		auo_pixcir_ts@5c {
187241443fSHeiko Stübner			compatible = "auo,auo_pixcir_ts";
197241443fSHeiko Stübner			reg = <0x5c>;
20*437d49b0SDmitry Torokhov			interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
217241443fSHeiko Stübner
22*437d49b0SDmitry Torokhov			gpios = <&gpf 2 0 GPIO_LEVEL_HIGH>, /* INT */
23*437d49b0SDmitry Torokhov				<&gpf 5 1 GPIO_LEVEL_LOW>; /* RST */
247241443fSHeiko Stübner
257241443fSHeiko Stübner			x-size = <800>;
267241443fSHeiko Stübner			y-size = <600>;
277241443fSHeiko Stübner		};
287241443fSHeiko Stübner
297241443fSHeiko Stübner		/* ... */
307241443fSHeiko Stübner	};
31