mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 05:10:51 +07:00
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: David Veenstra <davidjulianveenstra@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
9c3e81ab74
commit
ad28d31554
@ -93,6 +93,7 @@ source "drivers/iio/potentiometer/Kconfig"
|
||||
source "drivers/iio/potentiostat/Kconfig"
|
||||
source "drivers/iio/pressure/Kconfig"
|
||||
source "drivers/iio/proximity/Kconfig"
|
||||
source "drivers/iio/resolver/Kconfig"
|
||||
source "drivers/iio/temperature/Kconfig"
|
||||
|
||||
endif # IIO
|
||||
|
@ -36,5 +36,6 @@ obj-y += potentiometer/
|
||||
obj-y += potentiostat/
|
||||
obj-y += pressure/
|
||||
obj-y += proximity/
|
||||
obj-y += resolver/
|
||||
obj-y += temperature/
|
||||
obj-y += trigger/
|
||||
|
17
drivers/iio/resolver/Kconfig
Normal file
17
drivers/iio/resolver/Kconfig
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# 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
|
5
drivers/iio/resolver/Makefile
Normal file
5
drivers/iio/resolver/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
#
|
||||
# Makefile for Resolver/Synchro drivers
|
||||
#
|
||||
|
||||
obj-$(CONFIG_AD2S1200) += ad2s1200.o
|
@ -13,18 +13,6 @@ config AD2S90
|
||||
To compile this driver as a module, choose M here: the
|
||||
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
|
||||
tristate "Analog Devices ad2s1210 driver"
|
||||
depends on SPI
|
||||
|
@ -3,5 +3,4 @@
|
||||
#
|
||||
|
||||
obj-$(CONFIG_AD2S90) += ad2s90.o
|
||||
obj-$(CONFIG_AD2S1200) += ad2s1200.o
|
||||
obj-$(CONFIG_AD2S1210) += ad2s1210.o
|
||||
|
Loading…
Reference in New Issue
Block a user