Thomas Gleixner | fda8d26 | 2019-05-28 09:57:06 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Lars-Peter Clausen | f834782 | 2013-06-11 17:56:00 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Analog Devices AD7303 DAC driver |
| 4 | * |
| 5 | * Copyright 2013 Analog Devices Inc. |
Lars-Peter Clausen | f834782 | 2013-06-11 17:56:00 +0100 | [diff] [blame] | 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 |