xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/dac/ti-dac082s085.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTexas Instruments 8/10/12-bit 2/4-channel DAC driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun - compatible:		Must be one of:
5*4882a593Smuzhiyun			"ti,dac082s085"
6*4882a593Smuzhiyun			"ti,dac102s085"
7*4882a593Smuzhiyun			"ti,dac122s085"
8*4882a593Smuzhiyun			"ti,dac084s085"
9*4882a593Smuzhiyun			"ti,dac104s085"
10*4882a593Smuzhiyun			"ti,dac124s085"
11*4882a593Smuzhiyun - reg: 		Chip select number.
12*4882a593Smuzhiyun - spi-cpha, spi-cpol:	SPI mode (0,1) or (1,0) must be used, so specify
13*4882a593Smuzhiyun			either spi-cpha or spi-cpol (but not both).
14*4882a593Smuzhiyun - vref-supply: 	Phandle to the external reference voltage supply.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunFor other required and optional properties of SPI slave nodes please refer to
17*4882a593Smuzhiyun../../spi/spi-bus.txt.
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunExample:
20*4882a593Smuzhiyun	vref_2v5_reg: regulator-vref {
21*4882a593Smuzhiyun		compatible = "regulator-fixed";
22*4882a593Smuzhiyun		regulator-name = "2v5";
23*4882a593Smuzhiyun		regulator-min-microvolt = <2500000>;
24*4882a593Smuzhiyun		regulator-max-microvolt = <2500000>;
25*4882a593Smuzhiyun		regulator-always-on;
26*4882a593Smuzhiyun	};
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	dac@0 {
29*4882a593Smuzhiyun		compatible = "ti,dac082s085";
30*4882a593Smuzhiyun		reg = <0>;
31*4882a593Smuzhiyun		spi-max-frequency = <40000000>;
32*4882a593Smuzhiyun		spi-cpol;
33*4882a593Smuzhiyun		vref-supply = <&vref_2v5_reg>;
34*4882a593Smuzhiyun	};
35