Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[cris-mirror.git] / Documentation / devicetree / bindings / iio / dac / ti-dac082s085.txt
blob9cb0e10df704aa58a4d62b419c1d14b6b7f1ec51
1 Texas Instruments 8/10/12-bit 2/4-channel DAC driver
3 Required properties:
4  - compatible:          Must be one of:
5                         "ti,dac082s085"
6                         "ti,dac102s085"
7                         "ti,dac122s085"
8                         "ti,dac084s085"
9                         "ti,dac104s085"
10                         "ti,dac124s085"
11  - reg:                 Chip select number.
12  - spi-cpha, spi-cpol:  SPI mode (0,1) or (1,0) must be used, so specify
13                         either spi-cpha or spi-cpol (but not both).
14  - vref-supply:         Phandle to the external reference voltage supply.
16 For other required and optional properties of SPI slave nodes please refer to
17 ../../spi/spi-bus.txt.
19 Example:
20         vref_2v5_reg: regulator-vref {
21                 compatible = "regulator-fixed";
22                 regulator-name = "2v5";
23                 regulator-min-microvolt = <2500000>;
24                 regulator-max-microvolt = <2500000>;
25                 regulator-always-on;
26         };
28         dac@0 {
29                 compatible = "ti,dac082s085";
30                 reg = <0>;
31                 spi-max-frequency = <40000000>;
32                 spi-cpol;
33                 vref-supply = <&vref_2v5_reg>;
34         };