xref: /linux/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/maxim,ds4424.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC
8
9maintainers:
10  - Ismail Kose <ihkose@gmail.com>
11
12description: |
13  Datasheet publicly available at:
14  https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf
15
16properties:
17  compatible:
18    enum:
19      - maxim,ds4422
20      - maxim,ds4424
21
22  reg:
23    maxItems: 1
24
25  vcc-supply: true
26
27required:
28  - compatible
29  - reg
30
31additionalProperties: false
32
33examples:
34  - |
35    i2c {
36        #address-cells = <1>;
37        #size-cells = <0>;
38
39        dac@10 {
40            compatible = "maxim,ds4424";
41            reg = <0x10>; /* When A0, A1 pins are ground */
42            vcc-supply = <&vcc_3v3>;
43        };
44    };
45...
46