1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2354d7675SEmmanuel Vadot%YAML 1.2 3354d7675SEmmanuel Vadot--- 4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/adi,ad5761.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 7354d7675SEmmanuel Vadottitle: Analog Devices AD5761 and similar DACs 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10354d7675SEmmanuel Vadot - Ricardo Ribalda <ribalda@kernel.org> 11354d7675SEmmanuel Vadot - Jonathan Cameron <jic23@kernel.org> 12354d7675SEmmanuel Vadot 13354d7675SEmmanuel Vadotproperties: 14354d7675SEmmanuel Vadot 15354d7675SEmmanuel Vadot compatible: 16354d7675SEmmanuel Vadot enum: 17354d7675SEmmanuel Vadot - adi,ad5721 18354d7675SEmmanuel Vadot - adi,ad5721r 19354d7675SEmmanuel Vadot - adi,ad5761 20354d7675SEmmanuel Vadot - adi,ad5761r 21354d7675SEmmanuel Vadot 22354d7675SEmmanuel Vadot reg: 23354d7675SEmmanuel Vadot maxItems: 1 24354d7675SEmmanuel Vadot 25354d7675SEmmanuel Vadot vref-supply: 26354d7675SEmmanuel Vadot description: If not supplied, internal reference will be used. 27354d7675SEmmanuel Vadot 28354d7675SEmmanuel Vadotrequired: 29354d7675SEmmanuel Vadot - compatible 30354d7675SEmmanuel Vadot - reg 31354d7675SEmmanuel Vadot 32354d7675SEmmanuel VadotallOf: 33*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 34354d7675SEmmanuel Vadot - if: 35354d7675SEmmanuel Vadot properties: 36354d7675SEmmanuel Vadot compatible: 37354d7675SEmmanuel Vadot contains: 38354d7675SEmmanuel Vadot enum: 39354d7675SEmmanuel Vadot - adi,ad5721 40354d7675SEmmanuel Vadot - adi,ad5761 41354d7675SEmmanuel Vadot then: 42354d7675SEmmanuel Vadot required: 43354d7675SEmmanuel Vadot - vref-supply 44354d7675SEmmanuel Vadot 45*7ef62cebSEmmanuel VadotunevaluatedProperties: false 46*7ef62cebSEmmanuel Vadot 47354d7675SEmmanuel Vadotexamples: 48354d7675SEmmanuel Vadot - | 49354d7675SEmmanuel Vadot spi { 50354d7675SEmmanuel Vadot #address-cells = <1>; 51354d7675SEmmanuel Vadot #size-cells = <0>; 52354d7675SEmmanuel Vadot 53354d7675SEmmanuel Vadot dac@0 { 54354d7675SEmmanuel Vadot compatible = "adi,ad5721"; 55354d7675SEmmanuel Vadot reg = <0>; 56354d7675SEmmanuel Vadot vref-supply = <&dac_vref>; 57354d7675SEmmanuel Vadot }; 58354d7675SEmmanuel Vadot }; 59354d7675SEmmanuel Vadot... 60