Lars-Peter Clausen | 7b123c8 | 2012-09-04 16:26:00 +0100 | [diff] [blame] | 1 | #ifndef __LINUX_PLATFORM_DATA_AD7791__ |
| 2 | #define __LINUX_PLATFORM_DATA_AD7791__ |
| 3 | |
| 4 | /** |
| 5 | * struct ad7791_platform_data - AD7791 device platform data |
| 6 | * @buffered: If set to true configure the device for buffered input mode. |
| 7 | * @burnout_current: If set to true the 100mA burnout current is enabled. |
| 8 | * @unipolar: If set to true sample in unipolar mode, if set to false sample in |
| 9 | * bipolar mode. |
| 10 | */ |
| 11 | struct ad7791_platform_data { |
| 12 | bool buffered; |
| 13 | bool burnout_current; |
| 14 | bool unipolar; |
| 15 | }; |
| 16 | |
| 17 | #endif |