Analog Devices AD5421 DAC
Schema identifier ($id): "http://devicetree.org/schemas/iio/dac/adi,ad5421.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lars-Peter Clausen <lars@metafoo.de>", "Jonathan Cameron <jic23@kernel.org>"
AD5421 is designed for us in loop-powered, 4 mA to 20 mA smart transmitter applications. It provides a 16-bit DAC, current amplifier, voltage regulator to drive the loop and a voltage reference.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "adi,ad5421"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Fault signal.
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) #
#include <dt-bindings/interrupt-controller/irq.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
dac@0 {
compatible = "adi,ad5421";
reg = <0>;
spi-max-frequency = <30000000>;
interrupts = <55 IRQ_TYPE_LEVEL_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)