xref: /linux/Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
18b74e06bSJonathan Cameron# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28b74e06bSJonathan Cameron%YAML 1.2
38b74e06bSJonathan Cameron---
48b74e06bSJonathan Cameron$id: http://devicetree.org/schemas/iio/dac/ti,dac7612.yaml#
58b74e06bSJonathan Cameron$schema: http://devicetree.org/meta-schemas/core.yaml#
68b74e06bSJonathan Cameron
78b74e06bSJonathan Camerontitle: Texas Instruments DAC7612 family of DACs
88b74e06bSJonathan Cameron
98b74e06bSJonathan Camerondescription:
108b74e06bSJonathan Cameron  The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with
118b74e06bSJonathan Cameron  guaranteed 12-bit monotonicity performance over the industrial temperature
128b74e06bSJonathan Cameron  range. Is is programmable through an SPI interface.
138b74e06bSJonathan Cameron
148b74e06bSJonathan Cameronmaintainers:
158b74e06bSJonathan Cameron  - Ricardo Ribalda Delgado <ricardo@ribalda.com>
168b74e06bSJonathan Cameron
178b74e06bSJonathan Cameronproperties:
188b74e06bSJonathan Cameron  compatible:
198b74e06bSJonathan Cameron    enum:
208b74e06bSJonathan Cameron      - ti,dac7612
218b74e06bSJonathan Cameron      - ti,dac7612u
228b74e06bSJonathan Cameron      - ti,dac7612ub
238b74e06bSJonathan Cameron
248b74e06bSJonathan Cameron  reg:
258b74e06bSJonathan Cameron    maxItems: 1
268b74e06bSJonathan Cameron
278b74e06bSJonathan Cameron  ti,loaddacs-gpios:
288b74e06bSJonathan Cameron    description:
298b74e06bSJonathan Cameron      DACs are loaded when the pin connected to this GPIO is pulled low.
308b74e06bSJonathan Cameron    maxItems: 1
318b74e06bSJonathan Cameron
328b74e06bSJonathan Cameronrequired:
338b74e06bSJonathan Cameron  - compatible
348b74e06bSJonathan Cameron  - reg
358b74e06bSJonathan Cameron
36*25d04699SKrzysztof KozlowskiallOf:
37*25d04699SKrzysztof Kozlowski  - $ref: /schemas/spi/spi-peripheral-props.yaml#
38*25d04699SKrzysztof Kozlowski
39*25d04699SKrzysztof KozlowskiunevaluatedProperties: false
408b74e06bSJonathan Cameron
418b74e06bSJonathan Cameronexamples:
428b74e06bSJonathan Cameron  - |
438b74e06bSJonathan Cameron    #include <dt-bindings/gpio/gpio.h>
448b74e06bSJonathan Cameron    spi {
458b74e06bSJonathan Cameron        #address-cells = <1>;
468b74e06bSJonathan Cameron        #size-cells = <0>;
478b74e06bSJonathan Cameron
488b74e06bSJonathan Cameron        dac@1 {
498b74e06bSJonathan Cameron            compatible = "ti,dac7612";
508b74e06bSJonathan Cameron            reg = <0x1>;
518b74e06bSJonathan Cameron            ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
528b74e06bSJonathan Cameron        };
538b74e06bSJonathan Cameron    };
548b74e06bSJonathan Cameron...
55