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,ad5764.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 7354d7675SEmmanuel Vadottitle: Analog Devices AD5744 and AD5764 DAC families 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10354d7675SEmmanuel Vadot - Lars-Peter Clausen <lars@metafoo.de> 11354d7675SEmmanuel Vadot - Jonathan Cameron <jic23@kernel.org> 12354d7675SEmmanuel Vadot 13354d7675SEmmanuel Vadotproperties: 14354d7675SEmmanuel Vadot 15354d7675SEmmanuel Vadot compatible: 16354d7675SEmmanuel Vadot enum: 17354d7675SEmmanuel Vadot - adi,ad5744 18354d7675SEmmanuel Vadot - adi,ad5744r 19354d7675SEmmanuel Vadot - adi,ad5764 20354d7675SEmmanuel Vadot - adi,ad5764r 21354d7675SEmmanuel Vadot 22354d7675SEmmanuel Vadot reg: 23354d7675SEmmanuel Vadot maxItems: 1 24354d7675SEmmanuel Vadot 25354d7675SEmmanuel Vadot vrefAB-supply: true 26354d7675SEmmanuel Vadot vrefCD-supply: true 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,ad5744 40354d7675SEmmanuel Vadot - adi,ad5764 41354d7675SEmmanuel Vadot then: 42354d7675SEmmanuel Vadot required: 43354d7675SEmmanuel Vadot - vrefAB-supply 44354d7675SEmmanuel Vadot - vrefCD-supply 45354d7675SEmmanuel Vadot 46*7ef62cebSEmmanuel VadotunevaluatedProperties: false 47*7ef62cebSEmmanuel Vadot 48354d7675SEmmanuel Vadotexamples: 49354d7675SEmmanuel Vadot - | 50354d7675SEmmanuel Vadot spi { 51354d7675SEmmanuel Vadot #address-cells = <1>; 52354d7675SEmmanuel Vadot #size-cells = <0>; 53354d7675SEmmanuel Vadot 54354d7675SEmmanuel Vadot dac@0 { 55354d7675SEmmanuel Vadot compatible = "adi,ad5744"; 56354d7675SEmmanuel Vadot reg = <0>; 57354d7675SEmmanuel Vadot vrefAB-supply = <&dac_vref>; 58354d7675SEmmanuel Vadot vrefCD-supply = <&dac_vref>; 59354d7675SEmmanuel Vadot }; 60354d7675SEmmanuel Vadot }; 61354d7675SEmmanuel Vadot... 62