omap-keypad.txt 1.0 KB

12345678910111213141516171819202122232425262728293031
  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. Required SoC Specific Properties:
  8. - compatible: should be one of the following
  9. - "ti,omap4-keypad": For controllers compatible with omap4 keypad
  10. controller.
  11. Required Board Specific Properties, in addition to those specified by
  12. the shared matrix-keyboard bindings:
  13. - keypad,num-rows: Number of row lines connected to the keypad
  14. controller.
  15. - keypad,num-columns: Number of column lines connected to the
  16. keypad controller.
  17. Optional Properties specific to linux:
  18. - linux,keypad-no-autorepeat: do no enable autorepeat feature.
  19. Example:
  20. keypad@4ae1c000{
  21. compatible = "ti,omap4-keypad";
  22. keypad,num-rows = <2>;
  23. keypad,num-columns = <8>;
  24. linux,keypad-no-autorepeat;
  25. };