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