xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5504.yaml (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1*354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*354d7675SEmmanuel Vadot%YAML 1.2
3*354d7675SEmmanuel Vadot---
4*354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/adi,ad5504.yaml#
5*354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*354d7675SEmmanuel Vadot
7*354d7675SEmmanuel Vadottitle: Analog Devices AD5501 and AD5504 DACs
8*354d7675SEmmanuel Vadot
9*354d7675SEmmanuel Vadotmaintainers:
10*354d7675SEmmanuel Vadot  - Lars-Peter Clausen <lars@metafoo.de>
11*354d7675SEmmanuel Vadot  - Jonathan Cameron <jic23@kernel.org>
12*354d7675SEmmanuel Vadot
13*354d7675SEmmanuel Vadotdescription:
14*354d7675SEmmanuel Vadot  High voltage (up to 60V) DACs with temperature sensor alarm function
15*354d7675SEmmanuel Vadot
16*354d7675SEmmanuel Vadotproperties:
17*354d7675SEmmanuel Vadot  compatible:
18*354d7675SEmmanuel Vadot    enum:
19*354d7675SEmmanuel Vadot      - adi,ad5501
20*354d7675SEmmanuel Vadot      - adi,ad5504
21*354d7675SEmmanuel Vadot
22*354d7675SEmmanuel Vadot  reg:
23*354d7675SEmmanuel Vadot    maxItems: 1
24*354d7675SEmmanuel Vadot
25*354d7675SEmmanuel Vadot  interrupts:
26*354d7675SEmmanuel Vadot    description: Used for temperature alarm.
27*354d7675SEmmanuel Vadot    maxItems: 1
28*354d7675SEmmanuel Vadot
29*354d7675SEmmanuel Vadot  vcc-supply: true
30*354d7675SEmmanuel Vadot
31*354d7675SEmmanuel VadotadditionalProperties: false
32*354d7675SEmmanuel Vadot
33*354d7675SEmmanuel Vadotrequired:
34*354d7675SEmmanuel Vadot  - compatible
35*354d7675SEmmanuel Vadot  - reg
36*354d7675SEmmanuel Vadot
37*354d7675SEmmanuel Vadotexamples:
38*354d7675SEmmanuel Vadot  - |
39*354d7675SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
40*354d7675SEmmanuel Vadot    spi {
41*354d7675SEmmanuel Vadot        #address-cells = <1>;
42*354d7675SEmmanuel Vadot        #size-cells = <0>;
43*354d7675SEmmanuel Vadot        dac@0 {
44*354d7675SEmmanuel Vadot            reg = <0>;
45*354d7675SEmmanuel Vadot            compatible = "adi,ad5504";
46*354d7675SEmmanuel Vadot            vcc-supply = <&dac_vcc>;
47*354d7675SEmmanuel Vadot            interrupts = <55 IRQ_TYPE_EDGE_FALLING>;
48*354d7675SEmmanuel Vadot        };
49*354d7675SEmmanuel Vadot    };
50*354d7675SEmmanuel Vadot...
51