xref: /linux/Documentation/devicetree/bindings/iio/dac/lltc,ltc1660.yaml (revision 95298d63c67673c654c08952672d016212b26054)
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2# Copyright 2019 Marcus Folkesson <marcus.folkesson@gmail.com>
3%YAML 1.2
4---
5$id: "http://devicetree.org/schemas/iio/dac/lltc,ltc1660.yaml#"
6$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8title: Linear Technology Micropower octal 8-Bit and 10-Bit DACs
9
10maintainers:
11  - Marcus Folkesson <marcus.folkesson@gmail.com>
12
13description: |
14  Bindings for the Linear Technology Micropower octal 8-Bit and 10-Bit DAC.
15  Datasheet can be found here: https://www.analog.com/media/en/technical-documentation/data-sheets/166560fa.pdf
16
17properties:
18  compatible:
19    enum:
20      - lltc,ltc1660
21      - lltc,ltc1665
22
23  reg:
24    maxItems: 1
25
26  spi-max-frequency:
27    maximum: 5000000
28
29  vref-supply:
30    description: Phandle to the external reference voltage supply.
31
32required:
33  - compatible
34  - reg
35  - vref-supply
36
37additionalProperties: false
38
39examples:
40  - |
41    spi {
42      #address-cells = <1>;
43      #size-cells = <0>;
44
45      dac@0 {
46        compatible = "lltc,ltc1660";
47        reg = <0>;
48        spi-max-frequency = <5000000>;
49        vref-supply = <&vref_reg>;
50      };
51    };
52