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,ad5449.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 7354d7675SEmmanuel Vadottitle: Analog Devices AD5449 and similar DACs 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10354d7675SEmmanuel Vadot - Lars-Peter Clausen <lars@metafoo.de> 11354d7675SEmmanuel Vadot - Jonathan Cameron <jic23@kernel.org> 12354d7675SEmmanuel Vadot 13354d7675SEmmanuel Vadotdescription: 14354d7675SEmmanuel Vadot Family of multiplying DACs from Analog Devices 15354d7675SEmmanuel Vadot 16354d7675SEmmanuel Vadotproperties: 17354d7675SEmmanuel Vadot compatible: 18354d7675SEmmanuel Vadot enum: 19354d7675SEmmanuel Vadot - adi,ad5415 20354d7675SEmmanuel Vadot - adi,ad5426 21354d7675SEmmanuel Vadot - adi,ad5429 22354d7675SEmmanuel Vadot - adi,ad5432 23354d7675SEmmanuel Vadot - adi,ad5439 24354d7675SEmmanuel Vadot - adi,ad5443 25354d7675SEmmanuel Vadot - adi,ad5449 26354d7675SEmmanuel Vadot 27354d7675SEmmanuel Vadot reg: 28354d7675SEmmanuel Vadot maxItems: 1 29354d7675SEmmanuel Vadot 30354d7675SEmmanuel Vadot VREF-supply: true 31354d7675SEmmanuel Vadot VREFA-supply: true 32354d7675SEmmanuel Vadot VREFB-supply: true 33354d7675SEmmanuel Vadot 34354d7675SEmmanuel Vadotrequired: 35354d7675SEmmanuel Vadot - compatible 36354d7675SEmmanuel Vadot - reg 37354d7675SEmmanuel Vadot 38354d7675SEmmanuel VadotallOf: 39*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 40354d7675SEmmanuel Vadot - if: 41354d7675SEmmanuel Vadot properties: 42354d7675SEmmanuel Vadot compatible: 43354d7675SEmmanuel Vadot contains: 44354d7675SEmmanuel Vadot enum: 45354d7675SEmmanuel Vadot - adi,ad5415 46354d7675SEmmanuel Vadot - adi,ad5426 47354d7675SEmmanuel Vadot - adi,ad5432 48354d7675SEmmanuel Vadot then: 49354d7675SEmmanuel Vadot properties: 50354d7675SEmmanuel Vadot VREF-supply: true 51354d7675SEmmanuel Vadot VREFA-supply: false 52354d7675SEmmanuel Vadot VREFB-supply: false 53354d7675SEmmanuel Vadot required: 54354d7675SEmmanuel Vadot - VREF-supply 55354d7675SEmmanuel Vadot - if: 56354d7675SEmmanuel Vadot properties: 57354d7675SEmmanuel Vadot compatible: 58354d7675SEmmanuel Vadot contains: 59354d7675SEmmanuel Vadot enum: 60354d7675SEmmanuel Vadot - adi,ad5429 61354d7675SEmmanuel Vadot - adi,ad5439 62354d7675SEmmanuel Vadot - adi,ad5449 63354d7675SEmmanuel Vadot then: 64354d7675SEmmanuel Vadot properties: 65354d7675SEmmanuel Vadot VREF-supply: false 66354d7675SEmmanuel Vadot VREFA-supply: true 67354d7675SEmmanuel Vadot VREFB-supply: true 68354d7675SEmmanuel Vadot required: 69354d7675SEmmanuel Vadot - VREFA-supply 70354d7675SEmmanuel Vadot - VREFB-supply 71354d7675SEmmanuel Vadot 72*7ef62cebSEmmanuel VadotunevaluatedProperties: false 73*7ef62cebSEmmanuel Vadot 74354d7675SEmmanuel Vadotexamples: 75354d7675SEmmanuel Vadot - | 76354d7675SEmmanuel Vadot spi { 77354d7675SEmmanuel Vadot #address-cells = <1>; 78354d7675SEmmanuel Vadot #size-cells = <0>; 79354d7675SEmmanuel Vadot dac@0 { 80354d7675SEmmanuel Vadot reg = <0>; 81354d7675SEmmanuel Vadot compatible = "adi,ad5415"; 82354d7675SEmmanuel Vadot VREF-supply = <&dac_ref>; 83354d7675SEmmanuel Vadot }; 84354d7675SEmmanuel Vadot }; 85354d7675SEmmanuel Vadot - | 86354d7675SEmmanuel Vadot spi { 87354d7675SEmmanuel Vadot #address-cells = <1>; 88354d7675SEmmanuel Vadot #size-cells = <0>; 89354d7675SEmmanuel Vadot dac@0 { 90354d7675SEmmanuel Vadot reg = <0>; 91354d7675SEmmanuel Vadot compatible = "adi,ad5429"; 92354d7675SEmmanuel Vadot VREFA-supply = <&dac_refA>; 93354d7675SEmmanuel Vadot VREFB-supply = <&dac_refB>; 94354d7675SEmmanuel Vadot }; 95354d7675SEmmanuel Vadot }; 96354d7675SEmmanuel Vadot... 97