unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / include / linux / iio / dac / mcp4725.h
blob628b2cf54c509c5f078025b0ef20cb9ae6e73402
1 /*
2 * MCP4725 DAC driver
4 * Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net>
6 * Licensed under the GPL-2 or later.
7 */
9 #ifndef IIO_DAC_MCP4725_H_
10 #define IIO_DAC_MCP4725_H_
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.
18 * Vref related settings are available only on MCP4756. See
19 * Documentation/devicetree/bindings/iio/dac/mcp4725.txt for more information.
21 struct mcp4725_platform_data {
22 bool use_vref;
23 bool vref_buffered;
26 #endif /* IIO_DAC_MCP4725_H_ */