1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef __LINUX_PLATFORM_DATA_AD7791__ |
3 | #define __LINUX_PLATFORM_DATA_AD7791__ |
4 | |
5 | /** |
6 | * struct ad7791_platform_data - AD7791 device platform data |
7 | * @buffered: If set to true configure the device for buffered input mode. |
8 | * @burnout_current: If set to true the 100mA burnout current is enabled. |
9 | * @unipolar: If set to true sample in unipolar mode, if set to false sample in |
10 | * bipolar mode. |
11 | */ |
12 | struct ad7791_platform_data { |
13 | bool buffered; |
14 | bool burnout_current; |
15 | bool unipolar; |
16 | }; |
17 | |
18 | #endif |
19 | |