Analog Devices AD5501 and AD5504 DACs
Schema identifier ($id): "http://devicetree.org/schemas/iio/dac/adi,ad5504.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lars-Peter Clausen <lars@metafoo.de>", "Jonathan Cameron <jic23@kernel.org>"
High voltage (up to 60V) DACs with temperature sensor alarm function
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ad5501", "adi,ad5504"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Used for temperature alarm.
Maximum number of items (maxItems): 1
vcc-supply — not listed as required here #
true — No constraints added by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
dac@0 {
reg = <0>;
compatible = "adi,ad5504";
vcc-supply = <&dac_vcc>;
interrupts = <55 IRQ_TYPE_EDGE_FALLING>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)