0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/dac/maxim,ds4424.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC
0008
0009 maintainers:
0010 - Ismail Kose <ihkose@gmail.com>
0011
0012 description: |
0013 Datasheet publicly available at:
0014 https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf
0015
0016 properties:
0017 compatible:
0018 enum:
0019 - maxim,ds4422
0020 - maxim,ds4424
0021
0022 reg:
0023 maxItems: 1
0024
0025 vcc-supply: true
0026
0027 required:
0028 - compatible
0029 - reg
0030
0031 additionalProperties: false
0032
0033 examples:
0034 - |
0035 i2c {
0036 #address-cells = <1>;
0037 #size-cells = <0>;
0038
0039 dac@10 {
0040 compatible = "maxim,ds4424";
0041 reg = <0x10>; /* When A0, A1 pins are ground */
0042 vcc-supply = <&vcc_3v3>;
0043 };
0044 };
0045 ...