1# Copyright 2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: NXP S32 ADC SAR controller
5
6compatible: "nxp,s32-adc-sar"
7
8include: [adc-controller.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  vref-mv:
18    type: int
19    default: 3300
20    description: Indicates the reference voltage of the ADC in mV.
21
22  group-channel:
23    type: string
24    required: true
25    enum:
26      - "precision"
27      - "standard"
28      - "external"
29    description: The ADC group channel.
30
31  high-speed:
32    type: boolean
33    description: Use high speed during conversion, calibration.
34
35  callback-select:
36    type: string
37    default: "normal-end-conversion"
38    enum:
39      - "normal-end-conversion"
40      - "normal-end-chain"
41    description: |
42      Select normal end conversion callback to reduce interrupt handling time.
43      Select normal end chain callback to reduce the number of interrupt occurrences.
44
45  "#io-channel-cells":
46    const: 1
47
48io-channel-cells:
49  - input
50