18c2ecf20Sopenharmony_ci* GSL 1680 touchscreen controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible		  : Must be one of the following, depending on the model:
58c2ecf20Sopenharmony_ci			    "silead,gsl1680"
68c2ecf20Sopenharmony_ci			    "silead,gsl1688"
78c2ecf20Sopenharmony_ci			    "silead,gsl3670"
88c2ecf20Sopenharmony_ci			    "silead,gsl3675"
98c2ecf20Sopenharmony_ci			    "silead,gsl3692"
108c2ecf20Sopenharmony_ci- reg			  : I2C slave address of the chip (0x40)
118c2ecf20Sopenharmony_ci- interrupts		  : interrupt specification for the gsl1680 interrupt
128c2ecf20Sopenharmony_ci- power-gpios		  : Specification for the pin connected to the gsl1680's
138c2ecf20Sopenharmony_ci			    shutdown input. This needs to be driven high to take the
148c2ecf20Sopenharmony_ci			    gsl1680 out of its low power state
158c2ecf20Sopenharmony_ci- touchscreen-size-x	  : See touchscreen.txt
168c2ecf20Sopenharmony_ci- touchscreen-size-y	  : See touchscreen.txt
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties:
198c2ecf20Sopenharmony_ci- firmware-name		  : File basename (string) for board specific firmware
208c2ecf20Sopenharmony_ci- touchscreen-inverted-x  : See touchscreen.txt
218c2ecf20Sopenharmony_ci- touchscreen-inverted-y  : See touchscreen.txt
228c2ecf20Sopenharmony_ci- touchscreen-swapped-x-y : See touchscreen.txt
238c2ecf20Sopenharmony_ci- silead,max-fingers	  : maximum number of fingers the touchscreen can detect
248c2ecf20Sopenharmony_ci- silead,home-button	  : Boolean, set to true on devices which have a
258c2ecf20Sopenharmony_ci			    capacitive home-button build into the touchscreen
268c2ecf20Sopenharmony_ci- vddio-supply		  : regulator phandle for controller VDDIO
278c2ecf20Sopenharmony_ci- avdd-supply		  : regulator phandle for controller AVDD
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciExample:
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_cii2c@00000000 {
328c2ecf20Sopenharmony_ci	gsl1680: touchscreen@40 {
338c2ecf20Sopenharmony_ci		compatible = "silead,gsl1680";
348c2ecf20Sopenharmony_ci		reg = <0x40>;
358c2ecf20Sopenharmony_ci		interrupt-parent = <&pio>;
368c2ecf20Sopenharmony_ci		interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
378c2ecf20Sopenharmony_ci		power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
388c2ecf20Sopenharmony_ci		touchscreen-size-x = <480>;
398c2ecf20Sopenharmony_ci		touchscreen-size-y = <800>;
408c2ecf20Sopenharmony_ci		touchscreen-inverted-x;
418c2ecf20Sopenharmony_ci		touchscreen-swapped-x-y;
428c2ecf20Sopenharmony_ci		silead,max-fingers = <5>;
438c2ecf20Sopenharmony_ci	};
448c2ecf20Sopenharmony_ci};
45