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,ad8801.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices AD8801 and AD8803 DACs8 9maintainers:10 - Jonathan Cameron <jic23@kernel.org>11 12properties:13 14 compatible:15 enum:16 - adi,ad880117 - adi,ad880318 19 reg:20 maxItems: 121 22 vrefh-supply: true23 vrefl-supply: true24 25required:26 - compatible27 - reg28 - vrefh-supply29 30allOf:31 - $ref: /schemas/spi/spi-peripheral-props.yaml#32 - if:33 properties:34 compatible:35 contains:36 const: adi,ad880337 then:38 required:39 - vrefl-supply40 else:41 properties:42 vrefl-supply: false43 44unevaluatedProperties: false45 46examples:47 - |48 spi {49 #address-cells = <1>;50 #size-cells = <0>;51 52 dac@0 {53 compatible = "adi,ad8803";54 reg = <0>;55 vrefl-supply = <&dac_vrefl>;56 vrefh-supply = <&dac_vrefh>;57 };58 };59...60