1# Copyright (c) 2022 Keiya Nobuta
2# SPDX-License-Identifier: Apache-2.0
3
4description: Microchip CAP12xx family of 3, 6 and 8-channel capacitive touch sensors.
5
6compatible: "microchip,cap12xx"
7
8include: i2c-device.yaml
9
10properties:
11  int-gpios:
12    type: phandle-array
13    description: |
14      Interrupt GPIO when not using polling mode.
15
16  repeat:
17    type: boolean
18    description: |
19      Property to enable the interrupt repeat mode for prolonged touch events.
20
21  poll-interval-ms:
22    type: int
23    description: |
24      Polling interval in ms when not using interrupt mode.
25
26  input-codes:
27    type: array
28    required: true
29    description: |
30      Array of input event key codes (INPUT_KEY_* or INPUT_BTN_*).
31