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