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,max5821.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Maxim max5821 dual 10-bit DAC
0008
0009 maintainers:
0010 - Philippe Reynes <tremyfr@yahoo.fr>
0011
0012 description: |
0013 Datasheet publicly available at:
0014 https://datasheets.maximintegrated.com/en/ds/MAX5821.pdf
0015
0016 properties:
0017 compatible:
0018 const: maxim,max5821
0019
0020 reg:
0021 maxItems: 1
0022
0023 vref-supply: true
0024
0025 required:
0026 - compatible
0027 - reg
0028 - vref-supply
0029
0030 additionalProperties: false
0031
0032 examples:
0033 - |
0034 i2c {
0035 #address-cells = <1>;
0036 #size-cells = <0>;
0037
0038 dac@38 {
0039 compatible = "maxim,max5821";
0040 reg = <0x38>;
0041 vref-supply = <®_max5821>;
0042 };
0043 };
0044 ...