Skip to content

Commit 291e45e

Browse files
dlechjic23
authored andcommitted
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>
1 parent 169dc2a commit 291e45e

8 files changed

Lines changed: 14 additions & 27 deletions

File tree

drivers/staging/iio/Documentation/sysfs-bus-iio-resolver-ad2s1210 renamed to Documentation/ABI/testing/sysfs-bus-iio-resolver-ad2s1210

File renamed without changes.

drivers/iio/resolver/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,17 @@ config AD2S1200
2525

2626
To compile this driver as a module, choose M here: the
2727
module will be called ad2s1200.
28+
29+
config AD2S1210
30+
tristate "Analog Devices ad2s1210 driver"
31+
depends on SPI
32+
depends on COMMON_CLK
33+
depends on GPIOLIB || COMPILE_TEST
34+
help
35+
Say yes here to build support for Analog Devices spi resolver
36+
to digital converters, ad2s1210, provides direct access via sysfs.
37+
38+
To compile this driver as a module, choose M here: the
39+
module will be called ad2s1210.
40+
2841
endmenu

drivers/iio/resolver/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55

66
obj-$(CONFIG_AD2S90) += ad2s90.o
77
obj-$(CONFIG_AD2S1200) += ad2s1200.o
8+
obj-$(CONFIG_AD2S1210) += ad2s1210.o

drivers/staging/iio/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ source "drivers/staging/iio/adc/Kconfig"
1010
source "drivers/staging/iio/addac/Kconfig"
1111
source "drivers/staging/iio/frequency/Kconfig"
1212
source "drivers/staging/iio/impedance-analyzer/Kconfig"
13-
source "drivers/staging/iio/resolver/Kconfig"
1413

1514
endmenu

drivers/staging/iio/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ obj-y += adc/
88
obj-y += addac/
99
obj-y += frequency/
1010
obj-y += impedance-analyzer/
11-
obj-y += resolver/

drivers/staging/iio/resolver/Kconfig

Lines changed: 0 additions & 19 deletions
This file was deleted.

drivers/staging/iio/resolver/Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)