Texas Instruments DAC7612 family of DACs
Schema identifier ($id): "http://devicetree.org/schemas/iio/dac/ti,dac7612.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with guaranteed 12-bit monotonicity performance over the industrial temperature range. Is is programmable through an SPI interface.
Maintainers (maintainers): "Ricardo Ribalda Delgado <ricardo@ribalda.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,dac7612", "ti,dac7612u", "ti,dac7612ub"
reg — required here #
Maximum number of items (maxItems): 1
ti,loaddacs-gpios — not listed as required here #
DACs are loaded when the pin connected to this GPIO is pulled low.
Maximum number of items (maxItems): 1
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/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
dac@1 {
compatible = "ti,dac7612";
reg = <0x1>;
ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)