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,ad5504.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Analog Devices AD5501 and AD5504 DACs
0008 
0009 maintainers:
0010   - Lars-Peter Clausen <lars@metafoo.de>
0011   - Jonathan Cameron <jic23@kernel.org>
0012 
0013 description:
0014   High voltage (up to 60V) DACs with temperature sensor alarm function
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - adi,ad5501
0020       - adi,ad5504
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   interrupts:
0026     description: Used for temperature alarm.
0027     maxItems: 1
0028 
0029   vcc-supply: true
0030 
0031 additionalProperties: false
0032 
0033 required:
0034   - compatible
0035   - reg
0036 
0037 examples:
0038   - |
0039     #include <dt-bindings/interrupt-controller/irq.h>
0040     spi {
0041         #address-cells = <1>;
0042         #size-cells = <0>;
0043         dac@0 {
0044             reg = <0>;
0045             compatible = "adi,ad5504";
0046             vcc-supply = <&dac_vcc>;
0047             interrupts = <55 IRQ_TYPE_EDGE_FALLING>;
0048         };
0049     };
0050 ...