Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/dac/adi,ad5449.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,ad5449.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Analog Devices AD5449 and similar DACs
8
9
maintainers:
10
- Lars-Peter Clausen <lars@metafoo.de>
11
- Jonathan Cameron <jic23@kernel.org>
12
13
description:
14
Family of multiplying DACs from Analog Devices
15
16
properties:
17
compatible:
18
enum:
19
- adi,ad5415
20
- adi,ad5426
21
- adi,ad5429
22
- adi,ad5432
23
- adi,ad5439
24
- adi,ad5443
25
- adi,ad5449
26
27
reg:
28
maxItems: 1
29
30
VREF-supply: true
31
VREFA-supply: true
32
VREFB-supply: true
33
34
required:
35
- compatible
36
- reg
37
38
allOf:
39
- $ref: /schemas/spi/spi-peripheral-props.yaml#
40
- if:
41
properties:
42
compatible:
43
contains:
44
enum:
45
- adi,ad5415
46
- adi,ad5426
47
- adi,ad5432
48
then:
49
properties:
50
VREF-supply: true
51
VREFA-supply: false
52
VREFB-supply: false
53
required:
54
- VREF-supply
55
- if:
56
properties:
57
compatible:
58
contains:
59
enum:
60
- adi,ad5429
61
- adi,ad5439
62
- adi,ad5449
63
then:
64
properties:
65
VREF-supply: false
66
VREFA-supply: true
67
VREFB-supply: true
68
required:
69
- VREFA-supply
70
- VREFB-supply
71
72
unevaluatedProperties: false
73
74
examples:
75
- |
76
spi {
77
#address-cells = <1>;
78
#size-cells = <0>;
79
dac@0 {
80
reg = <0>;
81
compatible = "adi,ad5415";
82
VREF-supply = <&dac_ref>;
83
};
84
};
85
- |
86
spi {
87
#address-cells = <1>;
88
#size-cells = <0>;
89
dac@0 {
90
reg = <0>;
91
compatible = "adi,ad5429";
92
VREFA-supply = <&dac_refA>;
93
VREFB-supply = <&dac_refB>;
94
};
95
};
96
...
97
98