]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging:iio:adc:spear Move out of staging.
authorJonathan Cameron <jic23@kernel.org>
Sun, 5 Feb 2017 12:34:00 +0000 (12:34 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 11 Feb 2017 11:17:33 +0000 (11:17 +0000)
There are some unanswered questions due to disagreements between the code
and various datasheets (including between different datasheets for the same
part).

I don't think that is necessarily a reason to keep it in staging however.
I'm partly posting this patch inorder to reignite debate and with a bit
of luck find someone who has one of these to test!

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/spear_adc.c [moved from drivers/staging/iio/adc/spear_adc.c with 100% similarity]
drivers/staging/iio/adc/Kconfig
drivers/staging/iio/adc/Makefile

index dedae7adbce9e53905c320d623eab5921570240f..789a5fb7c0be8996463ada06c20fd449a120735f 100644 (file)
@@ -494,6 +494,17 @@ config ROCKCHIP_SARADC
          To compile this driver as a module, choose M here: the
          module will be called rockchip_saradc.
 
+config SPEAR_ADC
+       tristate "ST SPEAr ADC"
+       depends on PLAT_SPEAR || COMPILE_TEST
+       depends on HAS_IOMEM
+       help
+         Say yes here to build support for the integrated ADC inside the
+         ST SPEAr SoC. Provides direct access via sysfs.
+
+         To compile this driver as a module, choose M here: the
+         module will be called spear_adc.
+
 config STM32_ADC_CORE
        tristate "STMicroelectronics STM32 adc core"
        depends on ARCH_STM32 || COMPILE_TEST
index d0012620cd1c51b172c37ef5ed5a287805f00874..19e48af43b97a86a2389e1059da32675740ee5f7 100644 (file)
@@ -46,6 +46,7 @@ obj-$(CONFIG_QCOM_SPMI_IADC) += qcom-spmi-iadc.o
 obj-$(CONFIG_QCOM_SPMI_VADC) += qcom-spmi-vadc.o
 obj-$(CONFIG_RCAR_GYRO_ADC) += rcar-gyroadc.o
 obj-$(CONFIG_ROCKCHIP_SARADC) += rockchip_saradc.o
+obj-$(CONFIG_SPEAR_ADC) += spear_adc.o
 obj-$(CONFIG_STX104) += stx104.o
 obj-$(CONFIG_STM32_ADC_CORE) += stm32-adc-core.o
 obj-$(CONFIG_STM32_ADC) += stm32-adc.o
index deff89973d535ad9dbcad3928cca75bffcd0da01..0ad5c44042b2515f9b0c17f6599d6195bf0b72dc 100644 (file)
@@ -92,14 +92,4 @@ config LPC32XX_ADC
          activate only one via device tree selection.  Provides direct access
          via sysfs.
 
-config SPEAR_ADC
-       tristate "ST SPEAr ADC"
-       depends on PLAT_SPEAR || COMPILE_TEST
-       depends on HAS_IOMEM
-       help
-         Say yes here to build support for the integrated ADC inside the
-         ST SPEAr SoC. Provides direct access via sysfs.
-
-         To compile this driver as a module, choose M here: the
-         module will be called spear_adc.
 endmenu
index ac09485923b6a22a44ba1fc5074055f8f0ab7b18..e7098dedeb754034b3a835d70dad8e06f98a62e0 100644 (file)
@@ -11,4 +11,3 @@ obj-$(CONFIG_AD7816) += ad7816.o
 obj-$(CONFIG_AD7192) += ad7192.o
 obj-$(CONFIG_AD7280) += ad7280a.o
 obj-$(CONFIG_LPC32XX_ADC) += lpc32xx_adc.o
-obj-$(CONFIG_SPEAR_ADC) += spear_adc.o