Merge tag 'spi-fix-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / dac / lltc,ltc1660.yaml
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/bindings/iio/dac/lltc,ltc1660.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8 title: Linear Technology Micropower octal 8-Bit and 10-Bit DACs
9
10 maintainers:
11   - Marcus Folkesson <marcus.folkesson@gmail.com>
12
13 description: |
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
17 properties:
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
32 required:
33   - compatible
34   - reg
35   - vref-supply
36
37 examples:
38   - |
39     spi {
40       #address-cells = <1>;
41       #size-cells = <0>;
42   
43       dac@0 {
44         compatible = "lltc,ltc1660";
45         reg = <0>;
46         spi-max-frequency = <5000000>;
47         vref-supply = <&vref_reg>;
48       };
49     };