Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
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)
|
|
>;
|
|
};
|