]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/iio/dac/ti,dac7311.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / iio / dac / ti,dac7311.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/dac/ti,dac7311.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Texas Instruments DAC5311 and similar SPI DACs
8
9 maintainers:
10 - Charles-Antoine Couret <charles-antoine.couret@essensium.com>
11
12 properties:
13 compatible:
14 enum:
15 - ti,dac7311
16 - ti,dac6311
17 - ti,dac5311
18
19 reg:
20 maxItems: 1
21
22 vref-supply:
23 description:
24 Reference voltage must be supplied to establish the scaling of the
25 output voltage.
26
27 required:
28 - compatible
29 - reg
30 - vref-supply
31
32 allOf:
33 - $ref: /schemas/spi/spi-peripheral-props.yaml#
34
35 unevaluatedProperties: false
36
37 examples:
38 - |
39 spi {
40 #address-cells = <1>;
41 #size-cells = <0>;
42
43 dac@0 {
44 compatible = "ti,dac7311";
45 reg = <0>; /* CS0 */
46 spi-max-frequency = <1000000>;
47 vref-supply = <&vdd_supply>;
48 };
49 };
50 ...