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