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,ad5380.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Analog Devices AD5380 and similar DACs 8 9maintainers: 10 - Lars-Peter Clausen <lars@metafoo.de> 11 - Jonathan Cameron <jic23@kernel.org> 12 13description: | 14 DAC devices supporting both SPI and I2C interfaces. 15 16properties: 17 compatible: 18 enum: 19 - adi,ad5380-3 20 - adi,ad5380-5 21 - adi,ad5381-3 22 - adi,ad5381-5 23 - adi,ad5382-3 24 - adi,ad5382-5 25 - adi,ad5383-3 26 - adi,ad5383-5 27 - adi,ad5384-3 28 - adi,ad5384-5 29 - adi,ad5390-3 30 - adi,ad5390-5 31 - adi,ad5391-3 32 - adi,ad5391-5 33 - adi,ad5392-3 34 - adi,ad5392-5 35 36 reg: 37 maxItems: 1 38 39 vref-supply: 40 description: 41 If not supplied devices will use internal regulators. 42 43required: 44 - compatible 45 - reg 46 47allOf: 48 - $ref: /schemas/spi/spi-peripheral-props.yaml# 49 50unevaluatedProperties: false 51 52examples: 53 - | 54 spi { 55 #address-cells = <1>; 56 #size-cells = <0>; 57 dac@0 { 58 reg = <0>; 59 compatible = "adi,ad5390-5"; 60 vref-supply = <&dacvref>; 61 }; 62 }; 63 - | 64 i2c { 65 #address-cells = <1>; 66 #size-cells = <0>; 67 dac@42 { 68 reg = <0x42>; 69 compatible = "adi,ad5380-3"; 70 }; 71 }; 72... 73