mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 09:36:52 +07:00
1d0b1c74ed
Some matrix keypad drivers can support different numbers of rows and columns. Add a generic binding for these. Implementation note: In order to implement this binding in the kernel, we will need to modify matrix_keypad_() to look up the number of rows and cols in the keymap. Perhaps this could be done by passing 0 for these parameters? Many of the parameters can already be set to NULL. Ick. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
11 lines
320 B
Plaintext
11 lines
320 B
Plaintext
This binding is based on the matrix-keymap binding with the following
|
|
changes:
|
|
|
|
keypad,num-rows and keypad,num-columns are required.
|
|
|
|
Required properties:
|
|
- compatible: "ti,tca8418"
|
|
- reg: the I2C address
|
|
- interrupts: IRQ line number, should trigger on falling edge
|
|
- linux,keymap: Keys definitions, see keypad-matrix.
|