1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * MCP4725 DAC driver 4 * 5 * Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net> 6 */ 7 8 #ifndef IIO_DAC_MCP4725_H_ 9 #define IIO_DAC_MCP4725_H_ 10 11 /** 12 * struct mcp4725_platform_data - MCP4725/6 DAC specific data. 13 * @use_vref: Whether an external reference voltage on Vref pin should be used. 14 * Additional vref-supply must be specified when used. 15 * @vref_buffered: Controls buffering of the external reference voltage. 16 * 17 * Vref related settings are available only on MCP4756. See 18 * Documentation/devicetree/bindings/iio/dac/microchip,mcp4725.yaml for more information. 19 */ 20 struct mcp4725_platform_data { 21 bool use_vref; 22 bool vref_buffered; 23 }; 24 25 #endif /* IIO_DAC_MCP4725_H_ */ 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.