Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/dac/adi,ad5764.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/adi,ad5764.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Analog Devices AD5744 and AD5764 DAC families
8
9
maintainers:
10
- Lars-Peter Clausen <lars@metafoo.de>
11
- Jonathan Cameron <jic23@kernel.org>
12
13
properties:
14
15
compatible:
16
enum:
17
- adi,ad5744
18
- adi,ad5744r
19
- adi,ad5764
20
- adi,ad5764r
21
22
reg:
23
maxItems: 1
24
25
vrefAB-supply: true
26
vrefCD-supply: true
27
28
required:
29
- compatible
30
- reg
31
32
allOf:
33
- $ref: /schemas/spi/spi-peripheral-props.yaml#
34
- if:
35
properties:
36
compatible:
37
contains:
38
enum:
39
- adi,ad5744
40
- adi,ad5764
41
then:
42
required:
43
- vrefAB-supply
44
- vrefCD-supply
45
46
unevaluatedProperties: false
47
48
examples:
49
- |
50
spi {
51
#address-cells = <1>;
52
#size-cells = <0>;
53
54
dac@0 {
55
compatible = "adi,ad5744";
56
reg = <0>;
57
vrefAB-supply = <&dac_vref>;
58
vrefCD-supply = <&dac_vref>;
59
};
60
};
61
...
62
63