xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/maxim,max11100.yaml (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1*6be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*6be33864SEmmanuel Vadot%YAML 1.2
3*6be33864SEmmanuel Vadot---
4*6be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/maxim,max11100.yaml#
5*6be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*6be33864SEmmanuel Vadot
7*6be33864SEmmanuel Vadottitle: Maxim MAX11100 ADC
8*6be33864SEmmanuel Vadot
9*6be33864SEmmanuel Vadotmaintainers:
10*6be33864SEmmanuel Vadot  - Jacopo Mondi <jacopo@jmondi.org>
11*6be33864SEmmanuel Vadot
12*6be33864SEmmanuel Vadotdescription: |
13*6be33864SEmmanuel Vadot    Single channel 16 bit ADC with SPI interface.
14*6be33864SEmmanuel Vadot
15*6be33864SEmmanuel Vadotproperties:
16*6be33864SEmmanuel Vadot  compatible:
17*6be33864SEmmanuel Vadot    const: maxim,max11100
18*6be33864SEmmanuel Vadot
19*6be33864SEmmanuel Vadot  reg:
20*6be33864SEmmanuel Vadot    maxItems: 1
21*6be33864SEmmanuel Vadot
22*6be33864SEmmanuel Vadot  vref-supply:
23*6be33864SEmmanuel Vadot    description: External reference, needed to establish input scaling.
24*6be33864SEmmanuel Vadot
25*6be33864SEmmanuel Vadot  spi-max-frequency:
26*6be33864SEmmanuel Vadot    minimum: 100000
27*6be33864SEmmanuel Vadot    maximum: 4800000
28*6be33864SEmmanuel Vadot
29*6be33864SEmmanuel VadotadditionalProperties: false
30*6be33864SEmmanuel Vadot
31*6be33864SEmmanuel Vadotrequired:
32*6be33864SEmmanuel Vadot  - compatible
33*6be33864SEmmanuel Vadot  - reg
34*6be33864SEmmanuel Vadot  - vref-supply
35*6be33864SEmmanuel Vadot
36*6be33864SEmmanuel Vadotexamples:
37*6be33864SEmmanuel Vadot  - |
38*6be33864SEmmanuel Vadot    spi {
39*6be33864SEmmanuel Vadot        #address-cells = <1>;
40*6be33864SEmmanuel Vadot        #size-cells = <0>;
41*6be33864SEmmanuel Vadot
42*6be33864SEmmanuel Vadot        adc@0 {
43*6be33864SEmmanuel Vadot            compatible = "maxim,max11100";
44*6be33864SEmmanuel Vadot            reg = <0>;
45*6be33864SEmmanuel Vadot            vref-supply = <&adc_vref>;
46*6be33864SEmmanuel Vadot            spi-max-frequency = <240000>;
47*6be33864SEmmanuel Vadot        };
48*6be33864SEmmanuel Vadot    };
49*6be33864SEmmanuel Vadot...
50