input: convert ite_it8xxx2_kbd driver from kscan to input
Convert the ITE keyboard scanning driver from kscan to input, add the corresponding kscan compatibility node to the current board, build test only. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
12e8490b8f
commit
7a3a6d0c03
12 changed files with 94 additions and 141 deletions
|
@ -1,42 +0,0 @@
|
|||
# Copyright (c) 2021 ITE Corporation. All Rights Reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: ITE it8xxx2 keyboard matrix controller
|
||||
|
||||
compatible: "ite,it8xxx2-kscan"
|
||||
|
||||
include: [kscan.yaml, pinctrl-device.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
wucctrl:
|
||||
type: phandles
|
||||
description: |
|
||||
Configure wakeup controller, this controller is used to set that
|
||||
when the interrupt is triggered in EC low power mode, it can wakeup
|
||||
EC or not. Via this controller, we set the wakeup trigger edge,
|
||||
enable, disable, and clear wakeup status for the specific pin which
|
||||
may be gpio pins or alternate pins.
|
||||
|
||||
kso16-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: |
|
||||
The KSO16 pin for the selected port.
|
||||
|
||||
kso17-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: |
|
||||
The KSO17 pin for the selected port.
|
||||
|
||||
pinctrl-0:
|
||||
required: true
|
||||
|
||||
pinctrl-names:
|
||||
required: true
|
Loading…
Add table
Add a link
Reference in a new issue