Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/dac/adi,ad7293.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: AD7293 12-Bit Power Amplifier Current Controller with ADC,
0008        DACs, Temperature and Current Sensors
0009 
0010 maintainers:
0011   - Antoniu Miclaus <antoniu.miclaus@analog.com>
0012 
0013 description: |
0014    Power Amplifier drain current controller containing functionality
0015    for general-purpose monitoring and control of current, voltage,
0016    and temperature, integrated into a single chip solution with an
0017    SPI-compatible interface.
0018 
0019    https://www.analog.com/en/products/ad7293.html
0020 
0021 properties:
0022   compatible:
0023     enum:
0024       - adi,ad7293
0025 
0026   avdd-supply: true
0027 
0028   vdrive-supply: true
0029 
0030   reset-gpios:
0031     maxItems: 1
0032 
0033   reg:
0034     maxItems: 1
0035 
0036   spi-max-frequency:
0037     maximum: 1000000
0038 
0039 required:
0040   - compatible
0041   - reg
0042   - avdd-supply
0043   - vdrive-supply
0044 
0045 additionalProperties: false
0046 
0047 examples:
0048   - |
0049     spi {
0050       #address-cells = <1>;
0051       #size-cells = <0>;
0052       ad7293@0 {
0053         compatible = "adi,ad7293";
0054         reg = <0>;
0055         spi-max-frequency = <1000000>;
0056         avdd-supply = <&avdd>;
0057         vdrive-supply = <&vdrive>;
0058         reset-gpios = <&gpio 10 0>;
0059       };
0060     };
0061 ...