0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __DRIVERS_IIO_ADC_AD7091R_BASE_H__
0009 #define __DRIVERS_IIO_ADC_AD7091R_BASE_H__
0010
0011 struct device;
0012 struct ad7091r_state;
0013
0014 struct ad7091r_chip_info {
0015 unsigned int num_channels;
0016 const struct iio_chan_spec *channels;
0017 unsigned int vref_mV;
0018 };
0019
0020 extern const struct regmap_config ad7091r_regmap_config;
0021
0022 int ad7091r_probe(struct device *dev, const char *name,
0023 const struct ad7091r_chip_info *chip_info,
0024 struct regmap *map, int irq);
0025
0026 #endif