summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/adc/maxim,max11205.yaml
blob: 5f9e043cf5cd391898924e5007c0cb921c9a0c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/maxim,max11205.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Maxim MAX11205 ADC

maintainers:
  - Ramona Bolboaca <ramona.bolboaca@analog.com>

description: |
  The MAX11205 is an ultra-low-power (< 300FA max active current),
  high-resolution, serial-output ADC.

  https://datasheets.maximintegrated.com/en/ds/MAX11205.pdf

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

properties:
  compatible:
    enum:
      - maxim,max11205a
      - maxim,max11205b

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  spi-max-frequency:
    maximum: 5000000

  spi-cpha: true

  vref-supply:
    description:
      The regulator supply for the ADC reference voltage. This is a differential
      reference. It is equal to the V_REFP - V_REFN. The maximum value is 3.6V.

required:
  - compatible
  - reg
  - interrupts
  - spi-max-frequency
  - spi-cpha
  - vref-supply

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    spi {
        #address-cells = <1>;
        #size-cells = <0>;
        adc@0 {
            compatible = "maxim,max11205a";
            reg = <0>;
            spi-max-frequency = <5000000>;
            spi-cpha;
            interrupt-parent = <&gpio>;
            interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
            vref-supply = <&max11205_vref>;
        };
    };
...