1# Copyright (c) 2019, Intel Corporation
2# Copyright (c) 2021, Microchip Technology Inc.
3# SPDX-License-Identifier: Apache-2.0
4
5description: Microchip XEC keyboard matrix controller
6
7compatible: "microchip,xec-kbd"
8
9include: [kbd-matrix-common.yaml, pinctrl-device.yaml]
10
11properties:
12  "#address-cells":
13    required: true
14    const: 1
15
16  "#size-cells":
17    type: int
18    const: 0
19
20  reg:
21    required: true
22
23  interrupts:
24    required: true
25
26  girqs:
27    type: array
28    required: true
29    description: Array of pairs of GIRQ number and bit position
30
31  pcrs:
32    type: array
33    required: true
34    description: ADC PCR register index and bit position
35
36  row-size:
37    required: true
38
39  col-size:
40    required: true
41