73 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,ad5380.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices AD5380 and similar DACs8 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-320 - adi,ad5380-521 - adi,ad5381-322 - adi,ad5381-523 - adi,ad5382-324 - adi,ad5382-525 - adi,ad5383-326 - adi,ad5383-527 - adi,ad5384-328 - adi,ad5384-529 - adi,ad5390-330 - adi,ad5390-531 - adi,ad5391-332 - adi,ad5391-533 - adi,ad5392-334 - adi,ad5392-535 36 reg:37 maxItems: 138 39 vref-supply:40 description:41 If not supplied devices will use internal regulators.42 43required:44 - compatible45 - reg46 47allOf:48 - $ref: /schemas/spi/spi-peripheral-props.yaml#49 50unevaluatedProperties: false51 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