Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml
26309 views
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
7
title: Texas Instruments DAC7612 family of DACs
8
9
description:
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
14
maintainers:
15
- Ricardo Ribalda Delgado <ricardo@ribalda.com>
16
17
properties:
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
required:
33
- compatible
34
- reg
35
36
allOf:
37
- $ref: /schemas/spi/spi-peripheral-props.yaml#
38
39
unevaluatedProperties: false
40
41
examples:
42
- |
43
#include <dt-bindings/gpio/gpio.h>
44
spi {
45
#address-cells = <1>;
46
#size-cells = <0>;
47
48
dac@1 {
49
compatible = "ti,dac7612";
50
reg = <0x1>;
51
ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
52
};
53
};
54
...
55
56