2011-02-24 18:32:45 +07:00
|
|
|
/*
|
|
|
|
* AD7298 SPI ADC driver
|
|
|
|
*
|
|
|
|
* Copyright 2011 Analog Devices Inc.
|
|
|
|
*
|
|
|
|
* Licensed under the GPL-2.
|
|
|
|
*/
|
|
|
|
|
2012-11-17 18:42:59 +07:00
|
|
|
#ifndef __LINUX_PLATFORM_DATA_AD7298_H__
|
|
|
|
#define __LINUX_PLATFORM_DATA_AD7298_H__
|
2011-02-24 18:32:45 +07:00
|
|
|
|
2012-11-15 20:15:00 +07:00
|
|
|
/**
|
|
|
|
* struct ad7298_platform_data - Platform data for the ad7298 ADC driver
|
|
|
|
* @ext_ref: Whether to use an external reference voltage.
|
|
|
|
**/
|
2011-02-24 18:32:45 +07:00
|
|
|
struct ad7298_platform_data {
|
2012-11-15 20:15:00 +07:00
|
|
|
bool ext_ref;
|
2011-02-24 18:32:45 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* IIO_ADC_AD7298_H_ */
|