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