Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: iio: adc: ad7606: Move out of staging

Move ad7606 ADC driver out of staging and into the mainline.

Signed-off-by: Stefan Popa <stefan.popa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Stefan Popa and committed by
Jonathan Cameron
2985a5d8 54160ae3

+37 -31
+7
MAINTAINERS
··· 854 854 F: drivers/iio/adc/ad7124.c 855 855 F: Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt 856 856 857 + ANALOG DEVICES INC AD7606 DRIVER 858 + M: Stefan Popa <stefan.popa@analog.com> 859 + L: linux-iio@vger.kernel.org 860 + W: http://ez.analog.com/community/linux-device-drivers 861 + S: Supported 862 + F: drivers/iio/adc/ad7606.c 863 + 857 864 ANALOG DEVICES INC AD9389B DRIVER 858 865 M: Hans Verkuil <hans.verkuil@cisco.com> 859 866 L: linux-media@vger.kernel.org
+27
drivers/iio/adc/Kconfig
··· 69 69 To compile this driver as a module, choose M here: the 70 70 module will be called ad7476. 71 71 72 + config AD7606 73 + tristate 74 + select IIO_BUFFER 75 + select IIO_TRIGGERED_BUFFER 76 + 77 + config AD7606_IFACE_PARALLEL 78 + tristate "Analog Devices AD7606 ADC driver with parallel interface support" 79 + depends on HAS_IOMEM 80 + select AD7606 81 + help 82 + Say yes here to build parallel interface support for Analog Devices: 83 + ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 84 + 85 + To compile this driver as a module, choose M here: the 86 + module will be called ad7606_parallel. 87 + 88 + config AD7606_IFACE_SPI 89 + tristate "Analog Devices AD7606 ADC driver with spi interface support" 90 + depends on SPI 91 + select AD7606 92 + help 93 + Say yes here to build spi interface support for Analog Devices: 94 + ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 95 + 96 + To compile this driver as a module, choose M here: the 97 + module will be called ad7606_spi. 98 + 72 99 config AD7766 73 100 tristate "Analog Devices AD7766/AD7767 ADC driver" 74 101 depends on SPI_MASTER
+3
drivers/iio/adc/Makefile
··· 11 11 obj-$(CONFIG_AD7298) += ad7298.o 12 12 obj-$(CONFIG_AD7923) += ad7923.o 13 13 obj-$(CONFIG_AD7476) += ad7476.o 14 + obj-$(CONFIG_AD7606_IFACE_PARALLEL) += ad7606_par.o 15 + obj-$(CONFIG_AD7606_IFACE_SPI) += ad7606_spi.o 16 + obj-$(CONFIG_AD7606) += ad7606.o 14 17 obj-$(CONFIG_AD7766) += ad7766.o 15 18 obj-$(CONFIG_AD7791) += ad7791.o 16 19 obj-$(CONFIG_AD7793) += ad7793.o
-27
drivers/staging/iio/adc/Kconfig
··· 3 3 # 4 4 menu "Analog to digital converters" 5 5 6 - config AD7606 7 - tristate 8 - select IIO_BUFFER 9 - select IIO_TRIGGERED_BUFFER 10 - 11 - config AD7606_IFACE_PARALLEL 12 - tristate "Analog Devices AD7606 ADC driver with parallel interface support" 13 - depends on HAS_IOMEM 14 - select AD7606 15 - help 16 - Say yes here to build parallel interface support for Analog Devices: 17 - ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 18 - 19 - To compile this driver as a module, choose M here: the 20 - module will be called ad7606_parallel. 21 - 22 - config AD7606_IFACE_SPI 23 - tristate "Analog Devices AD7606 ADC driver with spi interface support" 24 - depends on SPI 25 - select AD7606 26 - help 27 - Say yes here to build spi interface support for Analog Devices: 28 - ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 29 - 30 - To compile this driver as a module, choose M here: the 31 - module will be called ad7606_spi. 32 - 33 6 config AD7780 34 7 tristate "Analog Devices AD7780 and similar ADCs driver" 35 8 depends on SPI
-4
drivers/staging/iio/adc/Makefile
··· 3 3 # Makefile for industrial I/O ADC drivers 4 4 # 5 5 6 - obj-$(CONFIG_AD7606_IFACE_PARALLEL) += ad7606_par.o 7 - obj-$(CONFIG_AD7606_IFACE_SPI) += ad7606_spi.o 8 - obj-$(CONFIG_AD7606) += ad7606.o 9 - 10 6 obj-$(CONFIG_AD7780) += ad7780.o 11 7 obj-$(CONFIG_AD7816) += ad7816.o 12 8 obj-$(CONFIG_AD7192) += ad7192.o
drivers/staging/iio/adc/ad7606.c drivers/iio/adc/ad7606.c
drivers/staging/iio/adc/ad7606.h drivers/iio/adc/ad7606.h
drivers/staging/iio/adc/ad7606_par.c drivers/iio/adc/ad7606_par.c
drivers/staging/iio/adc/ad7606_spi.c drivers/iio/adc/ad7606_spi.c