31 lines · plain
1* AUO in-cell touchscreen controller using Pixcir sensors2 3Required properties:4- compatible: must be "auo,auo_pixcir_ts"5- reg: I2C address of the chip6- interrupts: interrupt to which the chip is connected7- gpios: gpios the chip is connected to8 first one is the interrupt gpio and second one the reset gpio9- x-size: horizontal resolution of touchscreen10- y-size: vertical resolution of touchscreen11 12Example:13 14 i2c@00000000 {15 /* ... */16 17 auo_pixcir_ts@5c {18 compatible = "auo,auo_pixcir_ts";19 reg = <0x5c>;20 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;21 22 gpios = <&gpf 2 0 GPIO_LEVEL_HIGH>, /* INT */23 <&gpf 5 1 GPIO_LEVEL_LOW>; /* RST */24 25 x-size = <800>;26 y-size = <600>;27 };28 29 /* ... */30 };31