Maxim MAX11100 ADC

Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/maxim,max11100.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jacopo Mondi <jacopo@jmondi.org>"

Single channel 16 bit ADC with SPI interface.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max11100"

reg — required here #

Maximum number of items (maxItems): 1

vref-supply — required here #

External reference, needed to establish input scaling.

spi-max-frequency — not listed as required here #

Minimum value (minimum): 100000

Maximum value (maximum): 4800000

Required in this object (required): "compatible", "reg", "vref-supply"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    adc@0 {
        compatible = "maxim,max11100";
        reg = <0>;
        vref-supply = <&adc_vref>;
        spi-max-frequency = <240000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page