Lars-Peter Clausen | f834782 | 2013-06-11 17:56:00 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Analog Devices AD7303 DAC driver |
| 3 | * |
| 4 | * Copyright 2013 Analog Devices Inc. |
| 5 | * |
| 6 | * Licensed under the GPL-2. |
| 7 | */ |
| 8 | |
| 9 | #ifndef __IIO_ADC_AD7303_H__ |
| 10 | #define __IIO_ADC_AD7303_H__ |
| 11 | |
| 12 | /** |
| 13 | * struct ad7303_platform_data - AD7303 platform data |
| 14 | * @use_external_ref: If set to true use an external voltage reference connected |
| 15 | * to the REF pin, otherwise use the internal reference derived from Vdd. |
| 16 | */ |
| 17 | struct ad7303_platform_data { |
| 18 | bool use_external_ref; |
| 19 | }; |
| 20 | |
| 21 | #endif |