accel/qaic: Add AIC200 support
[drm/drm-misc.git] / include / linux / iio / dac / mcp4725.h
blob1f7e53c506b6f2071e8b5d43abbee85b9c7fad76
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * MCP4725 DAC driver
5 * Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net>
6 */
8 #ifndef IIO_DAC_MCP4725_H_
9 #define IIO_DAC_MCP4725_H_
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.
17 * Vref related settings are available only on MCP4756. See
18 * Documentation/devicetree/bindings/iio/dac/microchip,mcp4725.yaml for more information.
20 struct mcp4725_platform_data {
21 bool use_vref;
22 bool vref_buffered;
25 #endif /* IIO_DAC_MCP4725_H_ */