15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/ti,dac082s085.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 75956d97fSEmmanuel Vadottitle: Texas Instruments DAC082s085 and similar DACs 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel Vadotdescription: 105956d97fSEmmanuel Vadot A family of Texas Instruments 8/10/12-bit 2/4-channel DACs 115956d97fSEmmanuel Vadot 125956d97fSEmmanuel Vadotmaintainers: 135956d97fSEmmanuel Vadot - Lukas Wunner <lukas@wunner.de> 145956d97fSEmmanuel Vadot 155956d97fSEmmanuel Vadotproperties: 165956d97fSEmmanuel Vadot compatible: 175956d97fSEmmanuel Vadot enum: 185956d97fSEmmanuel Vadot - ti,dac082s085 195956d97fSEmmanuel Vadot - ti,dac102s085 205956d97fSEmmanuel Vadot - ti,dac122s085 215956d97fSEmmanuel Vadot - ti,dac084s085 225956d97fSEmmanuel Vadot - ti,dac104s085 235956d97fSEmmanuel Vadot - ti,dac124s085 245956d97fSEmmanuel Vadot 255956d97fSEmmanuel Vadot reg: 265956d97fSEmmanuel Vadot maxItems: 1 275956d97fSEmmanuel Vadot 285956d97fSEmmanuel Vadot spi-cpha: true 295956d97fSEmmanuel Vadot spi-cpol: 305956d97fSEmmanuel Vadot description: 315956d97fSEmmanuel Vadot Must be either spi-cpha, or spi-cpol but not both. 325956d97fSEmmanuel Vadot 335956d97fSEmmanuel Vadot vref-supply: 345956d97fSEmmanuel Vadot description: Needed to provide output scaling. 355956d97fSEmmanuel Vadot 365956d97fSEmmanuel Vadotrequired: 375956d97fSEmmanuel Vadot - compatible 385956d97fSEmmanuel Vadot - reg 395956d97fSEmmanuel Vadot - vref-supply 405956d97fSEmmanuel Vadot 415956d97fSEmmanuel VadotoneOf: 425956d97fSEmmanuel Vadot - required: 435956d97fSEmmanuel Vadot - spi-cpha 445956d97fSEmmanuel Vadot - required: 455956d97fSEmmanuel Vadot - spi-cpol 465956d97fSEmmanuel Vadot 47*7ef62cebSEmmanuel VadotallOf: 48*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 49*7ef62cebSEmmanuel Vadot 50*7ef62cebSEmmanuel VadotunevaluatedProperties: false 51*7ef62cebSEmmanuel Vadot 525956d97fSEmmanuel Vadotexamples: 535956d97fSEmmanuel Vadot - | 545956d97fSEmmanuel Vadot vref_2v5_reg: regulator-vref { 555956d97fSEmmanuel Vadot compatible = "regulator-fixed"; 565956d97fSEmmanuel Vadot regulator-name = "2v5"; 575956d97fSEmmanuel Vadot regulator-min-microvolt = <2500000>; 585956d97fSEmmanuel Vadot regulator-max-microvolt = <2500000>; 595956d97fSEmmanuel Vadot regulator-always-on; 605956d97fSEmmanuel Vadot }; 615956d97fSEmmanuel Vadot spi { 625956d97fSEmmanuel Vadot #address-cells = <1>; 635956d97fSEmmanuel Vadot #size-cells = <0>; 645956d97fSEmmanuel Vadot 655956d97fSEmmanuel Vadot dac@0 { 665956d97fSEmmanuel Vadot compatible = "ti,dac082s085"; 675956d97fSEmmanuel Vadot reg = <0>; 685956d97fSEmmanuel Vadot spi-max-frequency = <40000000>; 695956d97fSEmmanuel Vadot spi-cpol; 705956d97fSEmmanuel Vadot vref-supply = <&vref_2v5_reg>; 715956d97fSEmmanuel Vadot }; 725956d97fSEmmanuel Vadot }; 735956d97fSEmmanuel Vadot... 74