Texas Instruments ADS7828/ADS7830 Analog to Digital Converter (ADC)

Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,ads7828.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

The ADS7828 is 12-Bit, 8-Channel Sampling Analog to Digital Converter (ADC) with an I2C interface.

Datasheets:
  https://www.ti.com/product/ADS7828

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,ads7828", "ti,ads7830"

reg — required here #

Maximum number of items (maxItems): 1

ti,differential-input — not listed as required here #

Set to use the device in differential mode.

Value type (type): "boolean"

vref-supply — not listed as required here #

The regulator to use as an external reference. If it does not exists the internal reference will be used.

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

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@48 {
        compatible = "ti,ads7828";
        reg = <0x48>;
        vref-supply = <&vref>;
        ti,differential-input;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page