2 * AD7780/AD7781 SPI ADC driver
4 * Copyright 2011 Analog Devices Inc.
6 * Licensed under the GPL-2.
8 #ifndef IIO_ADC_AD7780_H_
9 #define IIO_ADC_AD7780_H_
12 * TODO: struct ad7780_platform_data needs to go into include/linux/iio
16 * The AD7780 doesn't feature a dedicated SPI chip select, in addition it
17 * features a dual use data out ready DOUT/RDY output.
18 * In order to avoid contentions on the SPI bus, it's therefore necessary
19 * to use spi bus locking combined with a dedicated GPIO to control the
20 * power down reset signal of the AD7780.
22 * The DOUT/RDY output must also be wired to an interrupt capable GPIO.
25 struct ad7780_platform_data
{
30 #endif /* IIO_ADC_AD7780_H_ */