hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
* Texas Instruments Dual, 12-Bit Serial Input Digital-to-Analog Converter
 
The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with guaranteed
12-bit monotonicity performance over the industrial temperature range.
Is is programmable through an SPI interface.
 
The internal DACs are loaded when the LOADDACS pin is pulled down.
 
https://www.ti.com/lit/ds/sbas106/sbas106.pdf
 
Required Properties:
- compatible: Should be one of:
       "ti,dac7612"
       "ti,dac7612u"
       "ti,dac7612ub"
- reg: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt
 
Optional Properties:
- ti,loaddacs-gpios: GPIO descriptor for the LOADDACS pin.
- spi-*: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt
 
Example:
 
   dac@1 {
       compatible = "ti,dac7612";
       reg = <0x1>;
       ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
   };