Linear Technology LTC263x 12-/10-/8-Bit Rail-to-Rail DAC

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

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

Maintainers (maintainers): "Michael Hennerich <michael.hennerich@analog.com>"

Bindings for the Linear Technology LTC2632/2634/2636 DAC Datasheet can be found here: https://www.analog.com/media/en/technical-documentation/data-sheets/LTC263[246].pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "lltc,ltc2632-l12", "lltc,ltc2632-l10", "lltc,ltc2632-l8", "lltc,ltc2632-h12", "lltc,ltc2632-h10", "lltc,ltc2632-h8", "lltc,ltc2634-l12", "lltc,ltc2634-l10", "lltc,ltc2634-l8", "lltc,ltc2634-h12", "lltc,ltc2634-h10", "lltc,ltc2634-h8", "lltc,ltc2636-l12", "lltc,ltc2636-l10", "lltc,ltc2636-l8", "lltc,ltc2636-h12", "lltc,ltc2636-h10", "lltc,ltc2636-h8"

reg — required here #

Maximum number of items (maxItems): 1

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

Maximum value (maximum): 2000000

vref-supply — not listed as required here #

Phandle to the external reference voltage supply. This should only be set if there is an external reference voltage connected to the VREF pin. If the property is not set the internal reference is 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) #

vref: regulator-vref {
    compatible = "regulator-fixed";
    regulator-name = "vref-ltc2632";
    regulator-min-microvolt = <1250000>;
    regulator-max-microvolt = <1250000>;
    regulator-always-on;
};

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

    dac@0 {
        compatible = "lltc,ltc2632-l12";
        reg = <0>;    /* CS0 */
        spi-max-frequency = <1000000>;
        vref-supply = <&vref>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page