Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 lines
723 B
Plaintext
28 lines
723 B
Plaintext
* Cirrus Logic CLPS711X matrix keypad device tree bindings
|
|
|
|
Required Properties:
|
|
- compatible: Shall contain "cirrus,ep7209-keypad".
|
|
- row-gpios: List of GPIOs used as row lines.
|
|
- poll-interval: Poll interval time in milliseconds.
|
|
- linux,keymap: The definition can be found at
|
|
bindings/input/matrix-keymap.txt.
|
|
|
|
Optional Properties:
|
|
- autorepeat: Enable autorepeat feature.
|
|
|
|
Example:
|
|
keypad {
|
|
compatible = "cirrus,ep7312-keypad", "cirrus,ep7209-keypad";
|
|
autorepeat;
|
|
poll-interval = <120>;
|
|
row-gpios = <&porta 0 0>,
|
|
<&porta 1 0>;
|
|
|
|
linux,keymap = <
|
|
MATRIX_KEY(0, 0, KEY_UP)
|
|
MATRIX_KEY(0, 1, KEY_DOWN)
|
|
MATRIX_KEY(1, 0, KEY_LEFT)
|
|
MATRIX_KEY(1, 1, KEY_RIGHT)
|
|
>;
|
|
};
|