1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Analog Devices AD7303 DAC driver
5 * Copyright 2013 Analog Devices Inc.
8 #ifndef __IIO_ADC_AD7303_H__
9 #define __IIO_ADC_AD7303_H__
12 * struct ad7303_platform_data - AD7303 platform data
13 * @use_external_ref: If set to true use an external voltage reference connected
14 * to the REF pin, otherwise use the internal reference derived from Vdd.
16 struct ad7303_platform_data {
17 bool use_external_ref;