xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/maxim,max11100.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/maxim,max11100.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Maxim MAX11100 ADC
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Jacopo Mondi <jacopo@jmondi.org>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotdescription: |
136be33864SEmmanuel Vadot    Single channel 16 bit ADC with SPI interface.
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadotproperties:
166be33864SEmmanuel Vadot  compatible:
176be33864SEmmanuel Vadot    const: maxim,max11100
186be33864SEmmanuel Vadot
196be33864SEmmanuel Vadot  reg:
206be33864SEmmanuel Vadot    maxItems: 1
216be33864SEmmanuel Vadot
226be33864SEmmanuel Vadot  vref-supply:
236be33864SEmmanuel Vadot    description: External reference, needed to establish input scaling.
246be33864SEmmanuel Vadot
256be33864SEmmanuel Vadot  spi-max-frequency:
266be33864SEmmanuel Vadot    minimum: 100000
276be33864SEmmanuel Vadot    maximum: 4800000
286be33864SEmmanuel Vadot
296be33864SEmmanuel Vadotrequired:
306be33864SEmmanuel Vadot  - compatible
316be33864SEmmanuel Vadot  - reg
326be33864SEmmanuel Vadot  - vref-supply
336be33864SEmmanuel Vadot
34*7ef62cebSEmmanuel VadotallOf:
35*7ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
36*7ef62cebSEmmanuel Vadot
37*7ef62cebSEmmanuel VadotunevaluatedProperties: false
38*7ef62cebSEmmanuel Vadot
396be33864SEmmanuel Vadotexamples:
406be33864SEmmanuel Vadot  - |
416be33864SEmmanuel Vadot    spi {
426be33864SEmmanuel Vadot        #address-cells = <1>;
436be33864SEmmanuel Vadot        #size-cells = <0>;
446be33864SEmmanuel Vadot
456be33864SEmmanuel Vadot        adc@0 {
466be33864SEmmanuel Vadot            compatible = "maxim,max11100";
476be33864SEmmanuel Vadot            reg = <0>;
486be33864SEmmanuel Vadot            vref-supply = <&adc_vref>;
496be33864SEmmanuel Vadot            spi-max-frequency = <240000>;
506be33864SEmmanuel Vadot        };
516be33864SEmmanuel Vadot    };
526be33864SEmmanuel Vadot...
53