omap-keypad.txt 935 B

12345678910111213141516171819202122232425262728
  1. * TI's Keypad Controller device tree bindings
  2. TI's Keypad controller is used to interface a SoC with a matrix-type
  3. keypad device. The keypad controller supports multiple row and column lines.
  4. A key can be placed at each intersection of a unique row and a unique column.
  5. The keypad controller can sense a key-press and key-release and report the
  6. event using a interrupt to the cpu.
  7. This binding is based on the matrix-keymap binding with the following
  8. changes:
  9. keypad,num-rows and keypad,num-columns are required.
  10. Required SoC Specific Properties:
  11. - compatible: should be one of the following
  12. - "ti,omap4-keypad": For controllers compatible with omap4 keypad
  13. controller.
  14. Optional Properties specific to linux:
  15. - linux,keypad-no-autorepeat: do no enable autorepeat feature.
  16. Example:
  17. keypad@4ae1c000{
  18. compatible = "ti,omap4-keypad";
  19. keypad,num-rows = <2>;
  20. keypad,num-columns = <8>;
  21. linux,keypad-no-autorepeat;
  22. };