0001 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
0002 # Copyright 2019 Marcus Folkesson <marcus.folkesson@gmail.com>
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/iio/dac/lltc,ltc1660.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007
0008 title: Linear Technology Micropower octal 8-Bit and 10-Bit DACs
0009
0010 maintainers:
0011 - Marcus Folkesson <marcus.folkesson@gmail.com>
0012
0013 description: |
0014 Bindings for the Linear Technology Micropower octal 8-Bit and 10-Bit DAC.
0015 Datasheet can be found here: https://www.analog.com/media/en/technical-documentation/data-sheets/166560fa.pdf
0016
0017 properties:
0018 compatible:
0019 enum:
0020 - lltc,ltc1660
0021 - lltc,ltc1665
0022
0023 reg:
0024 maxItems: 1
0025
0026 spi-max-frequency:
0027 maximum: 5000000
0028
0029 vref-supply:
0030 description: Phandle to the external reference voltage supply.
0031
0032 required:
0033 - compatible
0034 - reg
0035 - vref-supply
0036
0037 additionalProperties: false
0038
0039 examples:
0040 - |
0041 spi {
0042 #address-cells = <1>;
0043 #size-cells = <0>;
0044
0045 dac@0 {
0046 compatible = "lltc,ltc1660";
0047 reg = <0>;
0048 spi-max-frequency = <5000000>;
0049 vref-supply = <&vref_reg>;
0050 };
0051 };