xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5504.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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
7title: Analog Devices AD5501 and AD5504 DACs
8
9maintainers:
10  - Lars-Peter Clausen <lars@metafoo.de>
11  - Jonathan Cameron <jic23@kernel.org>
12
13description:
14  High voltage (up to 60V) DACs with temperature sensor alarm function
15
16properties:
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
31additionalProperties: false
32
33required:
34  - compatible
35  - reg
36
37examples:
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...
51