iio:adc:ad7280a: Move out of staging

This is a rather unusual device (in IIO anyway).  However, it has
a near to standard userspace ABI.

Note the work to move this out of staging was done against a minimal
QEMU model, which doesn't model all the features of the device.
I have no intention to upstream the QEMU model as it was developed
just to enable this driver cleanup.

https://github.com/jic23/qemu/tree/ad7280a-hacks

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20220206190328.333093-21-jic23@kernel.org
This commit is contained in:
Jonathan Cameron 2022-02-06 19:03:28 +00:00
parent 48fb57697e
commit cf890fe8ae
5 changed files with 12 additions and 12 deletions

View File

@ -64,6 +64,17 @@ config AD7266
To compile this driver as a module, choose M here: the module will be To compile this driver as a module, choose M here: the module will be
called ad7266. called ad7266.
config AD7280
tristate "Analog Devices AD7280A Lithium Ion Battery Monitoring System"
depends on SPI
select CRC8
help
Say yes here to build support for Analog Devices AD7280A
Lithium Ion Battery Monitoring System.
To compile this driver as a module, choose M here: the
module will be called ad7280a
config AD7291 config AD7291
tristate "Analog Devices AD7291 ADC driver" tristate "Analog Devices AD7291 ADC driver"
depends on I2C depends on I2C

View File

@ -10,6 +10,7 @@ obj-$(CONFIG_AD7091R5) += ad7091r5.o ad7091r-base.o
obj-$(CONFIG_AD7124) += ad7124.o obj-$(CONFIG_AD7124) += ad7124.o
obj-$(CONFIG_AD7192) += ad7192.o obj-$(CONFIG_AD7192) += ad7192.o
obj-$(CONFIG_AD7266) += ad7266.o obj-$(CONFIG_AD7266) += ad7266.o
obj-$(CONFIG_AD7280) += ad7280a.o
obj-$(CONFIG_AD7291) += ad7291.o obj-$(CONFIG_AD7291) += ad7291.o
obj-$(CONFIG_AD7292) += ad7292.o obj-$(CONFIG_AD7292) += ad7292.o
obj-$(CONFIG_AD7298) += ad7298.o obj-$(CONFIG_AD7298) += ad7298.o

View File

@ -15,15 +15,4 @@ config AD7816
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called ad7816. module will be called ad7816.
config AD7280
tristate "Analog Devices AD7280A Lithium Ion Battery Monitoring System"
depends on SPI
select CRC8
help
Say yes here to build support for Analog Devices AD7280A
Lithium Ion Battery Monitoring System.
To compile this driver as a module, choose M here: the
module will be called ad7280a
endmenu endmenu

View File

@ -4,4 +4,3 @@
# #
obj-$(CONFIG_AD7816) += ad7816.o obj-$(CONFIG_AD7816) += ad7816.o
obj-$(CONFIG_AD7280) += ad7280a.o