Texas Instruments DAC5311 and similar SPI DACs
Schema identifier ($id): "http://devicetree.org/schemas/iio/dac/ti,dac7311.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Charles-Antoine Couret <charles-antoine.couret@essensium.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,dac7311", "ti,dac6311", "ti,dac5311"
reg — required here #
Maximum number of items (maxItems): 1
vref-supply — required here #
Reference voltage must be supplied to establish the scaling of the output voltage.
Required in this object (required): "compatible", "reg", "vref-supply"
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 {
compatible = "ti,dac7311";
reg = <0>; /* CS0 */
spi-max-frequency = <1000000>;
vref-supply = <&vdd_supply>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)