1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Analog Devices AD7303 DAC driver
4 *
5 * Copyright 2013 Analog Devices Inc.
6 */
7
8 #ifndef __IIO_ADC_AD7303_H__
9 #define __IIO_ADC_AD7303_H__
10
11 /**
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.
15 */
16 struct ad7303_platform_data {
17 bool use_external_ref;
18 };
19
20 #endif