Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/dac/adi,ad5791.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Analog Devices AD5791 and similar DACs
0008 
0009 maintainers:
0010   - Michael Hennerich <michael.hennerich@analog.com>
0011   - Jonathan Cameron <jic23@kernel.org>
0012 
0013 properties:
0014 
0015   compatible:
0016     enum:
0017       - adi,ad5760
0018       - adi,ad5780
0019       - adi,ad5781
0020       - adi,ad5790
0021       - adi,ad5791
0022 
0023   reg:
0024     maxItems: 1
0025 
0026   spi-max-frequency: true
0027 
0028   vdd-supply: true
0029   vss-supply: true
0030 
0031 additionalProperties: false
0032 
0033 required:
0034   - compatible
0035   - reg
0036   - vdd-supply
0037   - vss-supply
0038 
0039 examples:
0040   - |
0041     spi {
0042         #address-cells = <1>;
0043         #size-cells = <0>;
0044 
0045         dac@0 {
0046             compatible = "adi,ad5791";
0047             reg = <0>;
0048             vss-supply = <&dac_vss>;
0049             vdd-supply = <&dac_vdd>;
0050         };
0051     };
0052 ...