2019-05-28 09:57:06 -07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-02-24 12:32:45 +01:00
|
|
|
/*
|
|
|
|
* AD7298 SPI ADC driver
|
|
|
|
*
|
|
|
|
* Copyright 2011 Analog Devices Inc.
|
|
|
|
*/
|
|
|
|
|
2012-11-17 11:42:59 +00:00
|
|
|
#ifndef __LINUX_PLATFORM_DATA_AD7298_H__
|
|
|
|
#define __LINUX_PLATFORM_DATA_AD7298_H__
|
2011-02-24 12:32:45 +01:00
|
|
|
|
2012-11-15 13:15:00 +00:00
|
|
|
/**
|
|
|
|
* struct ad7298_platform_data - Platform data for the ad7298 ADC driver
|
|
|
|
* @ext_ref: Whether to use an external reference voltage.
|
|
|
|
**/
|
2011-02-24 12:32:45 +01:00
|
|
|
struct ad7298_platform_data {
|
2012-11-15 13:15:00 +00:00
|
|
|
bool ext_ref;
|
2011-02-24 12:32:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* IIO_ADC_AD7298_H_ */
|