input: xec: use the generic keyboard code
Split the common keyboard scanning code out of the XEC specific driver and use the generic code instead. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
ddd2cf1fdc
commit
a63b3d1de6
7 changed files with 84 additions and 387 deletions
|
@ -6,7 +6,7 @@ description: Microchip XEC keyboard matrix controller
|
|||
|
||||
compatible: "microchip,xec-kbd"
|
||||
|
||||
include: [base.yaml, pinctrl-device.yaml]
|
||||
include: [kbd-matrix-common.yaml, pinctrl-device.yaml]
|
||||
|
||||
properties:
|
||||
"#address-cells":
|
||||
|
@ -32,3 +32,9 @@ properties:
|
|||
type: array
|
||||
required: true
|
||||
description: ADC PCR register index and bit position
|
||||
|
||||
row-size:
|
||||
required: true
|
||||
|
||||
col-size:
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue