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