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:
Fabio Baltieri 2023-11-08 16:25:52 +00:00 committed by Fabio Baltieri
commit 7a3a6d0c03
12 changed files with 94 additions and 141 deletions

View file

@ -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