1# Copyright 2022 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  NXP GAU GPADC.
6
7compatible: "nxp,gau-adc"
8
9include:
10  - name: base.yaml
11  - name: adc-controller.yaml
12
13properties:
14  reg:
15    required: true
16
17  interrupts:
18    required: true
19
20  nxp,clock-divider:
21    type: int
22    description: |
23      Clock divider from 1 to 32.
24      Default is 1 which is reset value.
25    default: 1
26
27  nxp,power-mode:
28    type: string
29    description: |
30      Current bias.
31      Default is "full-bias" because it is the reset value.
32    enum:
33      - "full-bias"
34      - "half-bias"
35    default: "full-bias"
36
37  nxp,input-buffer:
38    type: boolean
39    description: Enable use of the input buffer
40
41  nxp,calibration-voltage:
42    type: string
43    enum:
44      - "internal"
45      - "external"
46    default: "internal"
47    description: |
48      Use external calibration voltage.
49      Default is "internal" because it is the reset value.
50
51  "#io-channel-cells":
52    const: 1
53
54io-channel-cells:
55  - input
56