xref: /linux/Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/ti,dac7612.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments DAC7612 family of DACs
8
9description:
10  The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with
11  guaranteed 12-bit monotonicity performance over the industrial temperature
12  range. Is is programmable through an SPI interface.
13
14maintainers:
15  - Ricardo Ribalda Delgado <ricardo@ribalda.com>
16
17properties:
18  compatible:
19    enum:
20      - ti,dac7612
21      - ti,dac7612u
22      - ti,dac7612ub
23
24  reg:
25    maxItems: 1
26
27  ti,loaddacs-gpios:
28    description:
29      DACs are loaded when the pin connected to this GPIO is pulled low.
30    maxItems: 1
31
32  spi-max-frequency: true
33
34required:
35  - compatible
36  - reg
37
38additionalProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/gpio/gpio.h>
43    spi {
44        #address-cells = <1>;
45        #size-cells = <0>;
46
47        dac@1 {
48            compatible = "ti,dac7612";
49            reg = <0x1>;
50            ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
51        };
52    };
53...
54