| 
     1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/iio/dac/adi,ad5380.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Analog Devices AD5380 and similar DACs
    8 
    9 maintainers:
   10   - Lars-Peter Clausen <lars@metafoo.de>
   11   - Jonathan Cameron <jic23@kernel.org>
   12 
   13 description: |
   14   DAC devices supporting both SPI and I2C interfaces.
   15 properties:
   16   compatible:
   17     enum:
   18       - adi,ad5380-3
   19       - adi,ad5380-5
   20       - adi,ad5381-3
   21       - adi,ad5381-5
   22       - adi,ad5382-3
   23       - adi,ad5382-5
   24       - adi,ad5383-3
   25       - adi,ad5383-5
   26       - adi,ad5384-3
   27       - adi,ad5384-5
   28       - adi,ad5390-3
   29       - adi,ad5390-5
   30       - adi,ad5391-3
   31       - adi,ad5391-5
   32       - adi,ad5392-3
   33       - adi,ad5392-5
   34 
   35   reg:
   36     maxItems: 1
   37 
   38   vref-supply:
   39     description:
   40       If not supplied devices will use internal regulators.
   41 
   42   spi-max-frequency: true
   43 
   44 additionalProperties: false
   45 
   46 required:
   47   - compatible
   48   - reg
   49 
   50 examples:
   51   - |
   52     spi {
   53         #address-cells = <1>;
   54         #size-cells = <0>;
   55         dac@0 {
   56            reg = <0>;
   57            compatible = "adi,ad5390-5";
   58            vref-supply = <&dacvref>;
   59         };
   60     };
   61   - |
   62     i2c {
   63        #address-cells = <1>;
   64        #size-cells = <0>;
   65        dac@42 {
   66           reg = <0x42>;
   67           compatible = "adi,ad5380-3";
   68        };
   69     };
   70 ...
Cache object: 86b36c496342c7362fe7b0ef1d62c4bb 
 
 |