15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/ti,dac7612.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Texas Instruments DAC7612 family of DACs 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotdescription: 105def4c47SEmmanuel Vadot The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with 115def4c47SEmmanuel Vadot guaranteed 12-bit monotonicity performance over the industrial temperature 125def4c47SEmmanuel Vadot range. Is is programmable through an SPI interface. 135def4c47SEmmanuel Vadot 145def4c47SEmmanuel Vadotmaintainers: 155def4c47SEmmanuel Vadot - Ricardo Ribalda Delgado <ricardo@ribalda.com> 165def4c47SEmmanuel Vadot 175def4c47SEmmanuel Vadotproperties: 185def4c47SEmmanuel Vadot compatible: 195def4c47SEmmanuel Vadot enum: 205def4c47SEmmanuel Vadot - ti,dac7612 215def4c47SEmmanuel Vadot - ti,dac7612u 225def4c47SEmmanuel Vadot - ti,dac7612ub 235def4c47SEmmanuel Vadot 245def4c47SEmmanuel Vadot reg: 255def4c47SEmmanuel Vadot maxItems: 1 265def4c47SEmmanuel Vadot 275def4c47SEmmanuel Vadot ti,loaddacs-gpios: 285def4c47SEmmanuel Vadot description: 295def4c47SEmmanuel Vadot DACs are loaded when the pin connected to this GPIO is pulled low. 305def4c47SEmmanuel Vadot maxItems: 1 315def4c47SEmmanuel Vadot 325def4c47SEmmanuel Vadotrequired: 335def4c47SEmmanuel Vadot - compatible 345def4c47SEmmanuel Vadot - reg 355def4c47SEmmanuel Vadot 36*7ef62cebSEmmanuel VadotallOf: 37*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 38*7ef62cebSEmmanuel Vadot 39*7ef62cebSEmmanuel VadotunevaluatedProperties: false 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel Vadotexamples: 425def4c47SEmmanuel Vadot - | 435def4c47SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 445def4c47SEmmanuel Vadot spi { 455def4c47SEmmanuel Vadot #address-cells = <1>; 465def4c47SEmmanuel Vadot #size-cells = <0>; 475def4c47SEmmanuel Vadot 485def4c47SEmmanuel Vadot dac@1 { 495def4c47SEmmanuel Vadot compatible = "ti,dac7612"; 505def4c47SEmmanuel Vadot reg = <0x1>; 515def4c47SEmmanuel Vadot ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>; 525def4c47SEmmanuel Vadot }; 535def4c47SEmmanuel Vadot }; 545def4c47SEmmanuel Vadot... 55