xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5791.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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,ad5791.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: Analog Devices AD5791 and similar DACs
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Michael Hennerich <michael.hennerich@analog.com>
11354d7675SEmmanuel Vadot  - Jonathan Cameron <jic23@kernel.org>
12354d7675SEmmanuel Vadot
13354d7675SEmmanuel Vadotproperties:
14354d7675SEmmanuel Vadot
15354d7675SEmmanuel Vadot  compatible:
16354d7675SEmmanuel Vadot    enum:
17354d7675SEmmanuel Vadot      - adi,ad5760
18354d7675SEmmanuel Vadot      - adi,ad5780
19354d7675SEmmanuel Vadot      - adi,ad5781
20354d7675SEmmanuel Vadot      - adi,ad5790
21354d7675SEmmanuel Vadot      - adi,ad5791
22354d7675SEmmanuel Vadot
23354d7675SEmmanuel Vadot  reg:
24354d7675SEmmanuel Vadot    maxItems: 1
25354d7675SEmmanuel Vadot
26354d7675SEmmanuel Vadot  vdd-supply: true
27354d7675SEmmanuel Vadot  vss-supply: true
28354d7675SEmmanuel Vadot
29*8d13bc63SEmmanuel Vadot  adi,rbuf-gain2-en:
30*8d13bc63SEmmanuel Vadot    description: Specify to allow an external amplifier to be connected in a
31*8d13bc63SEmmanuel Vadot      gain of two configuration.
32*8d13bc63SEmmanuel Vadot    type: boolean
33*8d13bc63SEmmanuel Vadot
34354d7675SEmmanuel Vadotrequired:
35354d7675SEmmanuel Vadot  - compatible
36354d7675SEmmanuel Vadot  - reg
37354d7675SEmmanuel Vadot  - vdd-supply
38354d7675SEmmanuel Vadot  - vss-supply
39354d7675SEmmanuel Vadot
407ef62cebSEmmanuel VadotallOf:
417ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
427ef62cebSEmmanuel Vadot
437ef62cebSEmmanuel VadotunevaluatedProperties: false
447ef62cebSEmmanuel Vadot
45354d7675SEmmanuel Vadotexamples:
46354d7675SEmmanuel Vadot  - |
47354d7675SEmmanuel Vadot    spi {
48354d7675SEmmanuel Vadot        #address-cells = <1>;
49354d7675SEmmanuel Vadot        #size-cells = <0>;
50354d7675SEmmanuel Vadot
51354d7675SEmmanuel Vadot        dac@0 {
52354d7675SEmmanuel Vadot            compatible = "adi,ad5791";
53354d7675SEmmanuel Vadot            reg = <0>;
54354d7675SEmmanuel Vadot            vss-supply = <&dac_vss>;
55354d7675SEmmanuel Vadot            vdd-supply = <&dac_vdd>;
56354d7675SEmmanuel Vadot        };
57354d7675SEmmanuel Vadot    };
58354d7675SEmmanuel Vadot...
59