1 /* 2 * MCP4725 DAC driver 3 * 4 * Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net> 5 * 6 * Licensed under the GPL-2 or later. 7 */ 8 9 #ifndef IIO_DAC_MCP4725_H_ 10 #define IIO_DAC_MCP4725_H_ 11 12 /** 13 * struct mcp4725_platform_data - MCP4725/6 DAC specific data. 14 * @use_vref: Whether an external reference voltage on Vref pin should be used. 15 * Additional vref-supply must be specified when used. 16 * @vref_buffered: Controls buffering of the external reference voltage. 17 * 18 * Vref related settings are available only on MCP4756. See 19 * Documentation/devicetree/bindings/iio/dac/mcp4725.txt for more information. 20 */ 21 struct mcp4725_platform_data { 22 bool use_vref; 23 bool vref_buffered; 24 }; 25 26 #endif /* IIO_DAC_MCP4725_H_ */ 27