iio: resolver: ad2s1210: move out of staging

This moves the ad2s1210 resolver driver out of staging. The driver has
been fixed up and is ready to graduate.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231010-ad2s1210-mainline-v5-4-35a0f6ffa04a@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
David Lechner 2023-10-10 16:12:36 -05:00 committed by Jonathan Cameron
parent 169dc2adaf
commit 291e45eeeb
8 changed files with 14 additions and 27 deletions

View File

@ -25,4 +25,17 @@ config AD2S1200
To compile this driver as a module, choose M here: the
module will be called ad2s1200.
config AD2S1210
tristate "Analog Devices ad2s1210 driver"
depends on SPI
depends on COMMON_CLK
depends on GPIOLIB || COMPILE_TEST
help
Say yes here to build support for Analog Devices spi resolver
to digital converters, ad2s1210, provides direct access via sysfs.
To compile this driver as a module, choose M here: the
module will be called ad2s1210.
endmenu

View File

@ -5,3 +5,4 @@
obj-$(CONFIG_AD2S90) += ad2s90.o
obj-$(CONFIG_AD2S1200) += ad2s1200.o
obj-$(CONFIG_AD2S1210) += ad2s1210.o

View File

@ -10,6 +10,5 @@ source "drivers/staging/iio/adc/Kconfig"
source "drivers/staging/iio/addac/Kconfig"
source "drivers/staging/iio/frequency/Kconfig"
source "drivers/staging/iio/impedance-analyzer/Kconfig"
source "drivers/staging/iio/resolver/Kconfig"
endmenu

View File

@ -8,4 +8,3 @@ obj-y += adc/
obj-y += addac/
obj-y += frequency/
obj-y += impedance-analyzer/
obj-y += resolver/

View File

@ -1,19 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
#
# Resolver/Synchro drivers
#
menu "Resolver to digital converters"
config AD2S1210
tristate "Analog Devices ad2s1210 driver"
depends on SPI
depends on COMMON_CLK
depends on GPIOLIB || COMPILE_TEST
help
Say yes here to build support for Analog Devices spi resolver
to digital converters, ad2s1210, provides direct access via sysfs.
To compile this driver as a module, choose M here: the
module will be called ad2s1210.
endmenu

View File

@ -1,6 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for Resolver/Synchro drivers
#
obj-$(CONFIG_AD2S1210) += ad2s1210.o