silead_gsl1680.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. * GSL 1680 touchscreen controller
  2. Required properties:
  3. - compatible : "silead,gsl1680"
  4. - reg : I2C slave address of the chip (0x40)
  5. - interrupt-parent : a phandle pointing to the interrupt controller
  6. serving the interrupt for this chip
  7. - interrupts : interrupt specification for the gsl1680 interrupt
  8. - power-gpios : Specification for the pin connected to the gsl1680's
  9. shutdown input. This needs to be driven high to take the
  10. gsl1680 out of its low power state
  11. - touchscreen-size-x : See touchscreen.txt
  12. - touchscreen-size-y : See touchscreen.txt
  13. Optional properties:
  14. - firmware-name : File basename (string) for board specific firmware
  15. - touchscreen-inverted-x : See touchscreen.txt
  16. - touchscreen-inverted-y : See touchscreen.txt
  17. - touchscreen-swapped-x-y : See touchscreen.txt
  18. - silead,max-fingers : maximum number of fingers the touchscreen can detect
  19. Example:
  20. i2c@00000000 {
  21. gsl1680: touchscreen@40 {
  22. compatible = "silead,gsl1680";
  23. reg = <0x40>;
  24. interrupt-parent = <&pio>;
  25. interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
  26. power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
  27. touchscreen-size-x = <480>;
  28. touchscreen-size-y = <800>;
  29. touchscreen-inverted-x;
  30. touchscreen-swapped-x-y;
  31. silead,max-fingers = <5>;
  32. };
  33. };