xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5624r.yaml (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
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,ad5624r.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices AD5624r and similar DACs
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12properties:
13  compatible:
14    enum:
15      - adi,ad5624r3
16      - adi,ad5644r3
17      - adi,ad5664r3
18      - adi,ad5624r5
19      - adi,ad5644r5
20      - adi,ad5664r5
21
22  reg:
23    maxItems: 1
24
25  spi-max-frequency: true
26
27  vref-supply:
28    description: If not present, internal reference will be used.
29
30additionalProperties: false
31
32required:
33  - compatible
34  - reg
35
36examples:
37  - |
38    spi {
39        #address-cells = <1>;
40        #size-cells = <0>;
41        dac@0 {
42            reg = <0>;
43            compatible = "adi,ad5624r3";
44            vref-supply = <&vref>;
45        };
46    };
47...
48