53 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/dac/adi,ad5421.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices AD5421 DAC8 9maintainers:10 - Lars-Peter Clausen <lars@metafoo.de>11 - Jonathan Cameron <jic23@kernel.org>12 13description: |14 AD5421 is designed for us in loop-powered, 4 mA to 20 mA smart transmitter15 applications. It provides a 16-bit DAC, current amplifier, voltage regulator16 to drive the loop and a voltage reference.17 18properties:19 compatible:20 const: adi,ad542121 22 reg:23 maxItems: 124 25 interrupts:26 maxItems: 127 description: Fault signal.28 29required:30 - compatible31 - reg32 33allOf:34 - $ref: /schemas/spi/spi-peripheral-props.yaml#35 36unevaluatedProperties: false37 38examples:39 - |40 #include <dt-bindings/interrupt-controller/irq.h>41 spi {42 #address-cells = <1>;43 #size-cells = <0>;44 45 dac@0 {46 compatible = "adi,ad5421";47 reg = <0>;48 spi-max-frequency = <30000000>;49 interrupts = <55 IRQ_TYPE_LEVEL_HIGH>;50 };51 };52...53