Analog Devices AD5360 and similar SPI DACs

Schema identifier ($id): "http://devicetree.org/schemas/iio/dac/adi,ad5686.yaml#"

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

Maintainers (maintainers): "Michael Hennerich <michael.hennerich@analog.com>", "Jonathan Cameron <jic23@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,ad5310r", "adi,ad5672r", "adi,ad5674r", "adi,ad5676", "adi,ad5676r", "adi,ad5679r", "adi,ad5681r", "adi,ad5682r", "adi,ad5683", "adi,ad5683r", "adi,ad5684", "adi,ad5684r", "adi,ad5685r", "adi,ad5686", "adi,ad5686r"

reg — required here #

Maximum number of items (maxItems): 1

vcc-supply — not listed as required here #

If not supplied the internal reference is used.

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

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>;
    dac@0 {
        reg = <0>;
        compatible = "adi,ad5310r";
        vcc-supply = <&dac_vref0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page