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,ad7303.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Analog Devices AD7303 DAC
0008 
0009 maintainers:
0010   - Lars-Peter Clausen <lars@metafoo.de>
0011 
0012 properties:
0013   compatible:
0014     const: adi,ad7303
0015 
0016   reg:
0017     maxItems: 1
0018 
0019   Vdd-supply:
0020     description:
0021       Used to calculate output channel scalling if REF-supply not specified.
0022   REF-supply:
0023     description:
0024       If not provided, Vdd/2 is used as the reference voltage.
0025 
0026   spi-max-frequency:
0027     maximum: 30000000
0028 
0029 required:
0030   - compatible
0031   - reg
0032   - Vdd-supply
0033 
0034 additionalProperties: false
0035 
0036 examples:
0037   - |
0038     spi {
0039         #address-cells = <1>;
0040         #size-cells = <0>;
0041 
0042         dac@4 {
0043             compatible = "adi,ad7303";
0044             reg = <4>;
0045             spi-max-frequency = <10000000>;
0046             Vdd-supply = <&vdd_supply>;
0047             REF-supply = <&vref_supply>;
0048         };
0049     };
0050 ...