1 Qualcomm PM8xxx PMIC Keypad
8 Definition: must be one of:
14 Value type: <prop-encoded-array>
15 Definition: address of keypad control register
19 Value type: <prop-encoded-array>
20 Definition: the first interrupt specifies the key sense interrupt
21 and the second interrupt specifies the key stuck interrupt.
22 The format of the specifier is defined by the binding
23 document describing the node's interrupt parent.
27 Value type: <prop-encoded-array>
28 Definition: the linux keymap. More information can be found in
29 input/matrix-keymap.txt.
31 - linux,keypad-no-autorepeat:
34 Definition: don't enable autorepeat feature.
36 - linux,keypad-wakeup:
39 Definition: use any event on keypad as wakeup event.
44 Definition: number of rows in the keymap. More information can be found
45 in input/matrix-keymap.txt.
50 Definition: number of columns in the keymap. More information can be
51 found in input/matrix-keymap.txt.
56 Definition: time in microseconds that key must be pressed or release
57 for key sense interrupt to trigger.
62 Definition: time in microseconds to pause between successive scans
68 Definition: time in nanoseconds to pause between scans of each row in
74 compatible = "qcom,pm8921-keypad";
76 interrupt-parent = <&pmicintc>;
77 interrupts = <74 1>, <75 1>;
79 MATRIX_KEY(0, 0, KEY_VOLUMEUP)
80 MATRIX_KEY(0, 1, KEY_VOLUMEDOWN)
81 MATRIX_KEY(0, 2, KEY_CAMERA_FOCUS)
82 MATRIX_KEY(0, 3, KEY_CAMERA)
84 keypad,num-rows = <1>;
85 keypad,num-columns = <5>;