stmpe.txt 1.0 KB

1234567891011121314151617181920212223242526272829
  1. * ST Microelectronics STMPE Multi-Functional Device
  2. STMPE is an MFD device which may expose the following inbuilt devices: gpio,
  3. keypad, touchscreen, adc, pwm, rotator.
  4. Required properties:
  5. - compatible : "st,stmpe[610|801|811|1601|2401|2403]"
  6. - reg : I2C/SPI address of the device
  7. Optional properties:
  8. - interrupts : The interrupt outputs from the controller
  9. - interrupt-controller : Marks the device node as an interrupt controller
  10. - interrupt-parent : Specifies which IRQ controller we're connected to
  11. - wakeup-source : Marks the input device as wakable
  12. - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
  13. - irq-gpio : If present, which GPIO to use for event IRQ
  14. Example:
  15. stmpe1601: stmpe1601@40 {
  16. compatible = "st,stmpe1601";
  17. reg = <0x40>;
  18. interrupts = <26 0x4>;
  19. interrupt-parent = <&gpio6>;
  20. interrupt-controller;
  21. wakeup-source;
  22. st,autosleep-timeout = <1024>;
  23. };