]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/iio/dac/adi,ad5504.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / iio / dac / adi,ad5504.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,ad5504.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Analog Devices AD5501 and AD5504 DACs
8
9 maintainers:
10 - Lars-Peter Clausen <lars@metafoo.de>
11 - Jonathan Cameron <jic23@kernel.org>
12
13 description:
14 High voltage (up to 60V) DACs with temperature sensor alarm function
15
16 properties:
17 compatible:
18 enum:
19 - adi,ad5501
20 - adi,ad5504
21
22 reg:
23 maxItems: 1
24
25 interrupts:
26 description: Used for temperature alarm.
27 maxItems: 1
28
29 vcc-supply: true
30
31 additionalProperties: false
32
33 required:
34 - compatible
35 - reg
36
37 examples:
38 - |
39 #include <dt-bindings/interrupt-controller/irq.h>
40 spi {
41 #address-cells = <1>;
42 #size-cells = <0>;
43 dac@0 {
44 reg = <0>;
45 compatible = "adi,ad5504";
46 vcc-supply = <&dac_vcc>;
47 interrupts = <55 IRQ_TYPE_EDGE_FALLING>;
48 };
49 };
50 ...