xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/dac/ad7303.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunAnalog Devices AD7303 DAC device driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun	- compatible: Must be "adi,ad7303"
5*4882a593Smuzhiyun	- reg: SPI chip select number for the device
6*4882a593Smuzhiyun	- spi-max-frequency: Max SPI frequency to use (< 30000000)
7*4882a593Smuzhiyun	- Vdd-supply: Phandle to the Vdd power supply
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunOptional properties:
10*4882a593Smuzhiyun	- REF-supply: Phandle to the external reference voltage supply. This should
11*4882a593Smuzhiyun	  only be set if there is an external reference voltage connected to the REF
12*4882a593Smuzhiyun	  pin. If the property is not set Vdd/2 is used as the reference voltage.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun		ad7303@4 {
17*4882a593Smuzhiyun			compatible = "adi,ad7303";
18*4882a593Smuzhiyun			reg = <4>;
19*4882a593Smuzhiyun			spi-max-frequency = <10000000>;
20*4882a593Smuzhiyun			Vdd-supply = <&vdd_supply>;
21*4882a593Smuzhiyun			adi,use-external-reference;
22*4882a593Smuzhiyun			REF-supply = <&vref_supply>;
23*4882a593Smuzhiyun		};
24