1# Copyright (c) 2021 ITE Corporation. All Rights Reserved. 2# SPDX-License-Identifier: Apache-2.0 3 4description: ITE it8xxx2 keyboard matrix controller 5 6compatible: "ite,it8xxx2-kbd" 7 8include: [kbd-matrix-common.yaml, pinctrl-device.yaml] 9 10properties: 11 reg: 12 required: true 13 14 interrupts: 15 required: true 16 17 wucctrl: 18 type: phandles 19 description: | 20 Configure wakeup controller, this controller is used to set that 21 when the interrupt is triggered in EC low power mode, it can wakeup 22 EC or not. Via this controller, we set the wakeup trigger edge, 23 enable, disable, and clear wakeup status for the specific pin which 24 may be gpio pins or alternate pins. 25 26 kso16-gpios: 27 type: phandle-array 28 required: true 29 description: | 30 The KSO16 pin for the selected port. 31 32 kso17-gpios: 33 type: phandle-array 34 required: true 35 description: | 36 The KSO17 pin for the selected port. 37 38 kso-ignore-mask: 39 type: int 40 default: 0 41 description: | 42 Bitmask of KSO signals to ignore, this can be used to instruct the driver 43 to skip KSO signals between 0 and (col-size - 1) that are used as GPIOs. 44 Default to 0 (no signals masked). 45 46 pinctrl-0: 47 required: true 48 49 pinctrl-names: 50 required: true 51 52 row-size: 53 required: true 54 55 col-size: 56 required: true 57