| 
     1 * GSL 1680 touchscreen controller
    2 
    3 Required properties:
    4 - compatible              : Must be one of the following, depending on the model:
    5                             "silead,gsl1680"
    6                             "silead,gsl1688"
    7                             "silead,gsl3670"
    8                             "silead,gsl3675"
    9                             "silead,gsl3692"
   10 - reg                     : I2C slave address of the chip (0x40)
   11 - interrupts              : interrupt specification for the gsl1680 interrupt
   12 - power-gpios             : Specification for the pin connected to the gsl1680's
   13                             shutdown input. This needs to be driven high to take the
   14                             gsl1680 out of its low power state
   15 - touchscreen-size-x      : See touchscreen.txt
   16 - touchscreen-size-y      : See touchscreen.txt
   17 
   18 Optional properties:
   19 - firmware-name           : File basename (string) for board specific firmware
   20 - touchscreen-inverted-x  : See touchscreen.txt
   21 - touchscreen-inverted-y  : See touchscreen.txt
   22 - touchscreen-swapped-x-y : See touchscreen.txt
   23 - silead,max-fingers      : maximum number of fingers the touchscreen can detect
   24 - silead,home-button      : Boolean, set to true on devices which have a
   25                             capacitive home-button build into the touchscreen
   26 - vddio-supply            : regulator phandle for controller VDDIO
   27 - avdd-supply             : regulator phandle for controller AVDD
   28 
   29 Example:
   30 
   31 i2c@00000000 {
   32         gsl1680: touchscreen@40 {
   33                 compatible = "silead,gsl1680";
   34                 reg = <0x40>;
   35                 interrupt-parent = <&pio>;
   36                 interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
   37                 power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
   38                 touchscreen-size-x = <480>;
   39                 touchscreen-size-y = <800>;
   40                 touchscreen-inverted-x;
   41                 touchscreen-swapped-x-y;
   42                 silead,max-fingers = <5>;
   43         };
   44 };
Cache object: 8cf0fa8f71dc9986bd2d643a51b422bd 
 
 |