xref: /linux/Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/maxim,max11205.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim MAX11205 ADC
8
9maintainers:
10  - Ramona Bolboaca <ramona.bolboaca@analog.com>
11
12description: |
13  The MAX11205 is an ultra-low-power (< 300FA max active current),
14  high-resolution, serial-output ADC.
15
16  https://datasheets.maximintegrated.com/en/ds/MAX11205.pdf
17
18allOf:
19  - $ref: /schemas/spi/spi-peripheral-props.yaml#
20
21properties:
22  compatible:
23    enum:
24      - maxim,max11205a
25      - maxim,max11205b
26
27  reg:
28    maxItems: 1
29
30  interrupts:
31    maxItems: 1
32
33  spi-max-frequency:
34    maximum: 5000000
35
36  spi-cpha: true
37
38  vref-supply:
39    description:
40      The regulator supply for the ADC reference voltage. This is a differential
41      reference. It is equal to the V_REFP - V_REFN. The maximum value is 3.6V.
42
43required:
44  - compatible
45  - reg
46  - interrupts
47  - spi-max-frequency
48  - spi-cpha
49  - vref-supply
50
51unevaluatedProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/interrupt-controller/irq.h>
56    spi {
57        #address-cells = <1>;
58        #size-cells = <0>;
59        adc@0 {
60            compatible = "maxim,max11205a";
61            reg = <0>;
62            spi-max-frequency = <5000000>;
63            spi-cpha;
64            interrupt-parent = <&gpio>;
65            interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
66            vref-supply = <&max11205_vref>;
67        };
68    };
69...
70