Commit ad28d315 authored by David Veenstra's avatar David Veenstra Committed by Jonathan Cameron

staging: iio: ad2s1200: Move driver out of staging

Move the iio driver for the ad2s1200 and ad2s1205 resolver-to-digital
converter out of staging, into mainline iio subsystems.
Signed-off-by: default avatarDavid Veenstra <davidjulianveenstra@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 9c3e81ab
...@@ -93,6 +93,7 @@ source "drivers/iio/potentiometer/Kconfig" ...@@ -93,6 +93,7 @@ source "drivers/iio/potentiometer/Kconfig"
source "drivers/iio/potentiostat/Kconfig" source "drivers/iio/potentiostat/Kconfig"
source "drivers/iio/pressure/Kconfig" source "drivers/iio/pressure/Kconfig"
source "drivers/iio/proximity/Kconfig" source "drivers/iio/proximity/Kconfig"
source "drivers/iio/resolver/Kconfig"
source "drivers/iio/temperature/Kconfig" source "drivers/iio/temperature/Kconfig"
endif # IIO endif # IIO
...@@ -36,5 +36,6 @@ obj-y += potentiometer/ ...@@ -36,5 +36,6 @@ obj-y += potentiometer/
obj-y += potentiostat/ obj-y += potentiostat/
obj-y += pressure/ obj-y += pressure/
obj-y += proximity/ obj-y += proximity/
obj-y += resolver/
obj-y += temperature/ obj-y += temperature/
obj-y += trigger/ obj-y += trigger/
#
# Resolver/Synchro drivers
#
menu "Resolver to digital converters"
config AD2S1200
tristate "Analog Devices ad2s1200/ad2s1205 driver"
depends on SPI
depends on GPIOLIB || COMPILE_TEST
help
Say yes here to build support for Analog Devices spi resolver
to digital converters, ad2s1200 and ad2s1205, provides direct access
via sysfs.
To compile this driver as a module, choose M here: the
module will be called ad2s1200.
endmenu
#
# Makefile for Resolver/Synchro drivers
#
obj-$(CONFIG_AD2S1200) += ad2s1200.o
...@@ -13,18 +13,6 @@ config AD2S90 ...@@ -13,18 +13,6 @@ config AD2S90
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 ad2s90. module will be called ad2s90.
config AD2S1200
tristate "Analog Devices ad2s1200/ad2s1205 driver"
depends on SPI
depends on GPIOLIB || COMPILE_TEST
help
Say yes here to build support for Analog Devices spi resolver
to digital converters, ad2s1200 and ad2s1205, provides direct access
via sysfs.
To compile this driver as a module, choose M here: the
module will be called ad2s1200.
config AD2S1210 config AD2S1210
tristate "Analog Devices ad2s1210 driver" tristate "Analog Devices ad2s1210 driver"
depends on SPI depends on SPI
......
...@@ -3,5 +3,4 @@ ...@@ -3,5 +3,4 @@
# #
obj-$(CONFIG_AD2S90) += ad2s90.o obj-$(CONFIG_AD2S90) += ad2s90.o
obj-$(CONFIG_AD2S1200) += ad2s1200.o
obj-$(CONFIG_AD2S1210) += ad2s1210.o obj-$(CONFIG_AD2S1210) += ad2s1210.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment