Merge tag 'drm-next-2020-12-24' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / dac / adi,ad7303.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/adi,ad7303.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Analog Devices AD7303 DAC
8
9 maintainers:
10   - Lars-Peter Clausen <lars@metafoo.de>
11
12 properties:
13   compatible:
14     const: adi,ad7303
15
16   reg:
17     maxItems: 1
18
19   Vdd-supply:
20     description:
21       Used to calculate output channel scalling if REF-supply not specified.
22   REF-supply:
23     description:
24       If not provided, Vdd/2 is used as the reference voltage.
25
26   spi-max-frequency:
27     maximum: 30000000
28
29 required:
30   - compatible
31   - reg
32   - Vdd-supply
33
34 additionalProperties: false
35
36 examples:
37   - |
38     spi {
39         #address-cells = <1>;
40         #size-cells = <0>;
41
42         dac@4 {
43             compatible = "adi,ad7303";
44             reg = <4>;
45             spi-max-frequency = <10000000>;
46             Vdd-supply = <&vdd_supply>;
47             REF-supply = <&vref_supply>;
48         };
49     };
50 ...