Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5791.yaml
48525 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,ad5791.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Analog Devices AD5791 and similar DACs
8
9
maintainers:
10
- Michael Hennerich <michael.hennerich@analog.com>
11
- Jonathan Cameron <jic23@kernel.org>
12
13
properties:
14
15
compatible:
16
enum:
17
- adi,ad5760
18
- adi,ad5780
19
- adi,ad5781
20
- adi,ad5790
21
- adi,ad5791
22
23
reg:
24
maxItems: 1
25
26
vdd-supply: true
27
vss-supply: true
28
29
adi,rbuf-gain2-en:
30
description: Specify to allow an external amplifier to be connected in a
31
gain of two configuration.
32
type: boolean
33
34
required:
35
- compatible
36
- reg
37
- vdd-supply
38
- vss-supply
39
40
allOf:
41
- $ref: /schemas/spi/spi-peripheral-props.yaml#
42
43
unevaluatedProperties: false
44
45
examples:
46
- |
47
spi {
48
#address-cells = <1>;
49
#size-cells = <0>;
50
51
dac@0 {
52
compatible = "adi,ad5791";
53
reg = <0>;
54
vss-supply = <&dac_vss>;
55
vdd-supply = <&dac_vdd>;
56
};
57
};
58
...
59
60