Skip to content

Commit b2931b9

Browse files
sreLee Jones
authored andcommitted
mfd: twl4030-madc: Move driver to drivers/iio/adc
This is a driver for an A/D converter, which belongs into drivers/iio/adc. Signed-off-by: Sebastian Reichel <sre@debian.org> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent 1e1bce3 commit b2931b9

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎drivers/iio/adc/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,16 @@ config TI_AM335X_ADC
183183
Say yes here to build support for Texas Instruments ADC
184184
driver which is also a MFD client.
185185

186+
config TWL4030_MADC
187+
tristate "TWL4030 MADC (Monitoring A/D Converter)"
188+
depends on TWL4030_CORE
189+
help
190+
This driver provides support for Triton TWL4030-MADC. The
191+
driver supports both RT and SW conversion methods.
192+
193+
This driver can also be built as a module. If so, the module will be
194+
called twl4030-madc.
195+
186196
config TWL6030_GPADC
187197
tristate "TWL6030 GPADC (General Purpose A/D Converter) Support"
188198
depends on TWL4030_CORE

‎drivers/iio/adc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ obj-$(CONFIG_MCP3422) += mcp3422.o
2020
obj-$(CONFIG_NAU7802) += nau7802.o
2121
obj-$(CONFIG_TI_ADC081C) += ti-adc081c.o
2222
obj-$(CONFIG_TI_AM335X_ADC) += ti_am335x_adc.o
23+
obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o
2324
obj-$(CONFIG_TWL6030_GPADC) += twl6030-gpadc.o
2425
obj-$(CONFIG_VIPERBOARD_ADC) += viperboard_adc.o

‎drivers/mfd/Kconfig‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -935,16 +935,6 @@ config TWL4030_CORE
935935
high speed USB OTG transceiver, an audio codec (on most
936936
versions) and many other features.
937937

938-
config TWL4030_MADC
939-
tristate "TI TWL4030 MADC"
940-
depends on TWL4030_CORE
941-
help
942-
This driver provides support for triton TWL4030-MADC. The
943-
driver supports both RT and SW conversion methods.
944-
945-
This driver can be built as a module. If so it will be
946-
named twl4030-madc
947-
948938
config TWL4030_POWER
949939
bool "TI TWL4030 power resources"
950940
depends on TWL4030_CORE && ARM

‎drivers/mfd/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ obj-$(CONFIG_MFD_TPS80031) += tps80031.o
7171
obj-$(CONFIG_MENELAUS) += menelaus.o
7272

7373
obj-$(CONFIG_TWL4030_CORE) += twl-core.o twl4030-irq.o twl6030-irq.o
74-
obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o
7574
obj-$(CONFIG_TWL4030_POWER) += twl4030-power.o
7675
obj-$(CONFIG_MFD_TWL4030_AUDIO) += twl4030-audio.o
7776
obj-$(CONFIG_TWL6040_CORE) += twl6040.o

0 commit comments

Comments
 (0)