TI Single-channel I2C ADCs

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

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

Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>", "Lars-Peter Clausen <lars@metafoo.de>"

Single-channel ADC supporting 8, 10, or 12-bit samples and high/low alerts.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,adc081c", "ti,adc101c", "ti,adc121c"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

vref-supply — required here #

Regulator for the combined power supply and voltage reference

#io-channel-cells — not listed as required here #

Exact value (const): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

    adc@52 {
        compatible = "ti,adc081c";
        reg = <0x52>;
        vref-supply = <&reg_2p5v>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page