xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5624r.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/adi,ad5624r.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: Analog Devices AD5624r and similar DACs
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Jonathan Cameron <jic23@kernel.org>
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel Vadotproperties:
13354d7675SEmmanuel Vadot  compatible:
14354d7675SEmmanuel Vadot    enum:
15354d7675SEmmanuel Vadot      - adi,ad5624r3
16354d7675SEmmanuel Vadot      - adi,ad5644r3
17354d7675SEmmanuel Vadot      - adi,ad5664r3
18354d7675SEmmanuel Vadot      - adi,ad5624r5
19354d7675SEmmanuel Vadot      - adi,ad5644r5
20354d7675SEmmanuel Vadot      - adi,ad5664r5
21354d7675SEmmanuel Vadot
22354d7675SEmmanuel Vadot  reg:
23354d7675SEmmanuel Vadot    maxItems: 1
24354d7675SEmmanuel Vadot
25354d7675SEmmanuel Vadot  vref-supply:
26354d7675SEmmanuel Vadot    description: If not present, internal reference will be used.
27354d7675SEmmanuel Vadot
28354d7675SEmmanuel Vadotrequired:
29354d7675SEmmanuel Vadot  - compatible
30354d7675SEmmanuel Vadot  - reg
31354d7675SEmmanuel Vadot
32*7ef62cebSEmmanuel VadotallOf:
33*7ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
34*7ef62cebSEmmanuel Vadot
35*7ef62cebSEmmanuel VadotunevaluatedProperties: false
36*7ef62cebSEmmanuel Vadot
37354d7675SEmmanuel Vadotexamples:
38354d7675SEmmanuel Vadot  - |
39354d7675SEmmanuel Vadot    spi {
40354d7675SEmmanuel Vadot        #address-cells = <1>;
41354d7675SEmmanuel Vadot        #size-cells = <0>;
42354d7675SEmmanuel Vadot        dac@0 {
43354d7675SEmmanuel Vadot            reg = <0>;
44354d7675SEmmanuel Vadot            compatible = "adi,ad5624r3";
45354d7675SEmmanuel Vadot            vref-supply = <&vref>;
46354d7675SEmmanuel Vadot        };
47354d7675SEmmanuel Vadot    };
48354d7675SEmmanuel Vadot...
49