55 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/dac/ti,dac7612.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments DAC7612 family of DACs8 9description:10 The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with11 guaranteed 12-bit monotonicity performance over the industrial temperature12 range. Is is programmable through an SPI interface.13 14maintainers:15 - Ricardo Ribalda Delgado <ricardo@ribalda.com>16 17properties:18 compatible:19 enum:20 - ti,dac761221 - ti,dac7612u22 - ti,dac7612ub23 24 reg:25 maxItems: 126 27 ti,loaddacs-gpios:28 description:29 DACs are loaded when the pin connected to this GPIO is pulled low.30 maxItems: 131 32required:33 - compatible34 - reg35 36allOf:37 - $ref: /schemas/spi/spi-peripheral-props.yaml#38 39unevaluatedProperties: false40 41examples:42 - |43 #include <dt-bindings/gpio/gpio.h>44 spi {45 #address-cells = <1>;46 #size-cells = <0>;47 48 dac@1 {49 compatible = "ti,dac7612";50 reg = <0x1>;51 ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;52 };53 };54...55