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