1# Copyright (c) 2022 Andriy Gelman <andriy.gelman@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Infineon XMC4XXX ADC
6  Each ADC group XMC4XXX is assigned to a Zephyr device. Refer to Infineon XMC4XXX reference manual
7  (Section Port I/O functions) for the group/channel mapping to a specific port-pin on the board.
8  For example on the xmc45_relax_kit P14.0 is mapped to adc0,channel0 and P14.1 is mapped to
9  adc0,channel1.
10
11compatible: "infineon,xmc4xxx-adc"
12
13include: adc-controller.yaml
14
15properties:
16  reg:
17    required: true
18
19  interrupts:
20    required: true
21
22  vref-internal-mv:
23    type: int
24    required: true
25    description: |
26      This property sets the internal reference voltage (in millivolts).
27
28  "#io-channel-cells":
29    const: 1
30
31io-channel-cells:
32  - input
33