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,ad5421.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Analog Devices AD5421 DAC 8 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 transmitter 15 applications. It provides a 16-bit DAC, current amplifier, voltage regulator 16 to drive the loop and a voltage reference. 17 18properties: 19 compatible: 20 const: adi,ad5421 21 22 reg: 23 maxItems: 1 24 25 interrupts: 26 maxItems: 1 27 description: Fault signal. 28 29required: 30 - compatible 31 - reg 32 33allOf: 34 - $ref: /schemas/spi/spi-peripheral-props.yaml# 35 36unevaluatedProperties: false 37 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