zephyr/dts/bindings/input/microchip,xec-kbd.yaml
Fabio Baltieri a63b3d1de6 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>
2024-03-12 19:30:09 -04:00

41 lines
715 B
YAML

# Copyright (c) 2019, Intel Corporation
# Copyright (c) 2021, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0
description: Microchip XEC keyboard matrix controller
compatible: "microchip,xec-kbd"
include: [kbd-matrix-common.yaml, pinctrl-device.yaml]
properties:
"#address-cells":
required: true
const: 1
"#size-cells":
type: int
const: 0
reg:
required: true
interrupts:
required: true
girqs:
type: array
required: true
description: Array of pairs of GIRQ number and bit position
pcrs:
type: array
required: true
description: ADC PCR register index and bit position
row-size:
required: true
col-size:
required: true