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.
39 Definition: use any event on keypad as wakeup event.
40 (Legacy property supported: "linux,keypad-wakeup")
45 Definition: number of rows in the keymap. More information can be found
46 in input/matrix-keymap.txt.
51 Definition: number of columns in the keymap. More information can be
52 found in input/matrix-keymap.txt.
57 Definition: time in microseconds that key must be pressed or release
58 for key sense interrupt to trigger.
63 Definition: time in microseconds to pause between successive scans
69 Definition: time in nanoseconds to pause between scans of each row in
75 compatible = "qcom,pm8921-keypad";
77 interrupt-parent = <&pmicintc>;
78 interrupts = <74 1>, <75 1>;
80 MATRIX_KEY(0, 0, KEY_VOLUMEUP)
81 MATRIX_KEY(0, 1, KEY_VOLUMEDOWN)
82 MATRIX_KEY(0, 2, KEY_CAMERA_FOCUS)
83 MATRIX_KEY(0, 3, KEY_CAMERA)
85 keypad,num-rows = <1>;
86 keypad,num-columns = <5>;