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,ad5421.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Analog Devices AD5421 DAC
0008 
0009 maintainers:
0010   - Lars-Peter Clausen <lars@metafoo.de>
0011   - Jonathan Cameron <jic23@kernel.org>
0012 
0013 description: |
0014   AD5421 is designed for us in loop-powered, 4 mA to 20 mA smart transmitter
0015   applications. It provides a 16-bit DAC, current amplifier, voltage regulator
0016   to drive the loop and a voltage reference.
0017 
0018 properties:
0019   compatible:
0020     const: adi,ad5421
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   interrupts:
0026     maxItems: 1
0027     description: Fault signal.
0028 
0029   spi-max-frequency: true
0030 
0031 required:
0032   - compatible
0033   - reg
0034 
0035 additionalProperties: false
0036 
0037 examples:
0038   - |
0039     #include <dt-bindings/interrupt-controller/irq.h>
0040     spi {
0041         #address-cells = <1>;
0042         #size-cells = <0>;
0043 
0044         dac@0 {
0045             compatible = "adi,ad5421";
0046             reg = <0>;
0047             spi-max-frequency = <30000000>;
0048             interrupts = <55 IRQ_TYPE_LEVEL_HIGH>;
0049         };
0050     };
0051 ...