Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/maxim,max11100.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Maxim MAX11100 ADC
0008 
0009 maintainers:
0010   - Jacopo Mondi <jacopo@jmondi.org>
0011 
0012 description: |
0013     Single channel 16 bit ADC with SPI interface.
0014 
0015 properties:
0016   compatible:
0017     const: maxim,max11100
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   vref-supply:
0023     description: External reference, needed to establish input scaling.
0024 
0025   spi-max-frequency:
0026     minimum: 100000
0027     maximum: 4800000
0028 
0029 additionalProperties: false
0030 
0031 required:
0032   - compatible
0033   - reg
0034   - vref-supply
0035 
0036 examples:
0037   - |
0038     spi {
0039         #address-cells = <1>;
0040         #size-cells = <0>;
0041 
0042         adc@0 {
0043             compatible = "maxim,max11100";
0044             reg = <0>;
0045             vref-supply = <&adc_vref>;
0046             spi-max-frequency = <240000>;
0047         };
0048     };
0049 ...