xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/ti-dac082s085.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Texas Instruments 8/10/12-bit 2/4-channel DAC driver
2
3Required 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.
15
16For other required and optional properties of SPI slave nodes please refer to
17../../spi/spi-bus.txt.
18
19Example:
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	};
27
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	};
35