ROHM BD79700, BD79701, BD79702 and BD79703 DACs
Schema identifier ($id): "http://devicetree.org/schemas/iio/dac/rohm,bd79703.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"
The ROHM BD7970[0,1,2,3] are 8-bit DACs. The BD79700 has 2 channels, BD79701 3 channels, BD79702 4 channels and BD79703 has 6 channels. Datasheets for BD79702 and BD79703 can be found from https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79702fv-lb_bd79703fv-lb-e.pdf and for the BD79700 and the BD79701 from https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79700fvm-lb_bd79701fvm-lb-e.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rohm,bd79700", "rohm,bd79701", "rohm,bd79702", "rohm,bd79703"
reg — required here #
Maximum number of items (maxItems): 1
spi-max-frequency — required here #
Maximum value (maximum): 30000000
vfs-supply — not listed as required here #
The regulator to use as a full scale voltage. The voltage should be between 2.7V .. VCC. Not present on BD79700 and BD79701.
vcc-supply — required here #
The regulator supplying the operating voltage. Should be between 2.7V ... 5.5V. Is used also as a Vfs on BD79700 and BD79701.
Required in this object (required): "compatible", "reg", "spi-max-frequency", "vcc-supply"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
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 = "rohm,bd79703";
reg = <0>;
spi-max-frequency = <30000000>;
vcc-supply = <&vcc>;
vfs-supply = <&vref>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2024 ROHM Semiconductor.