0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/dac/ti,dac7612.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Texas Instruments DAC7612 family of DACs
0008
0009 description:
0010 The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with
0011 guaranteed 12-bit monotonicity performance over the industrial temperature
0012 range. Is is programmable through an SPI interface.
0013
0014 maintainers:
0015 - Ricardo Ribalda Delgado <ricardo@ribalda.com>
0016
0017 properties:
0018 compatible:
0019 enum:
0020 - ti,dac7612
0021 - ti,dac7612u
0022 - ti,dac7612ub
0023
0024 reg:
0025 maxItems: 1
0026
0027 ti,loaddacs-gpios:
0028 description:
0029 DACs are loaded when the pin connected to this GPIO is pulled low.
0030 maxItems: 1
0031
0032 spi-max-frequency: true
0033
0034 required:
0035 - compatible
0036 - reg
0037
0038 additionalProperties: false
0039
0040 examples:
0041 - |
0042 #include <dt-bindings/gpio/gpio.h>
0043 spi {
0044 #address-cells = <1>;
0045 #size-cells = <0>;
0046
0047 dac@1 {
0048 compatible = "ti,dac7612";
0049 reg = <0x1>;
0050 ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
0051 };
0052 };
0053 ...