60 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,ad5761.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices AD5761 and similar DACs8 9maintainers:10 - Ricardo Ribalda <ribalda@kernel.org>11 - Jonathan Cameron <jic23@kernel.org>12 13properties:14 15 compatible:16 enum:17 - adi,ad572118 - adi,ad5721r19 - adi,ad576120 - adi,ad5761r21 22 reg:23 maxItems: 124 25 vref-supply:26 description: If not supplied, internal reference will be used.27 28required:29 - compatible30 - reg31 32allOf:33 - $ref: /schemas/spi/spi-peripheral-props.yaml#34 - if:35 properties:36 compatible:37 contains:38 enum:39 - adi,ad572140 - adi,ad576141 then:42 required:43 - vref-supply44 45unevaluatedProperties: false46 47examples:48 - |49 spi {50 #address-cells = <1>;51 #size-cells = <0>;52 53 dac@0 {54 compatible = "adi,ad5721";55 reg = <0>;56 vref-supply = <&dac_vref>;57 };58 };59...60