aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2015-10-13 06:29:03 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-18 00:22:08 -0400
commitec2f1b67f526ee0b314103f7bf2846289fa0f435 (patch)
treea1b08679cdc1c9863d4a96034d2cf5cf53f03ced
parent1b306f997e2160ff40806fc5b43515f4c135dcb6 (diff)
dmaengine: hsu: make the UART driver in control of selecting this driver
HSU (High Speed UART) DMA engine, like the name suggests, is an integrated DMA engine for UART and UART alone. Therefore, making the UART drivers responsible of selecting it and removing the user selectable option for it. The UARTs with this DMA engine can always select HSU_DMA when SERIAL_8250_DMA option is enabled. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/dma/hsu/Kconfig9
-rw-r--r--drivers/tty/serial/8250/Kconfig2
2 files changed, 4 insertions, 7 deletions
diff --git a/drivers/dma/hsu/Kconfig b/drivers/dma/hsu/Kconfig
index 2810dca70612..c70841731a80 100644
--- a/drivers/dma/hsu/Kconfig
+++ b/drivers/dma/hsu/Kconfig
@@ -5,10 +5,5 @@ config HSU_DMA
5 select DMA_VIRTUAL_CHANNELS 5 select DMA_VIRTUAL_CHANNELS
6 6
7config HSU_DMA_PCI 7config HSU_DMA_PCI
8 tristate "High Speed UART DMA PCI driver" 8 tristate
9 depends on PCI 9 depends on HSU_DMA && PCI
10 select HSU_DMA
11 help
12 Support the High Speed UART DMA on the platfroms that
13 enumerate it as a PCI device. For example, Intel Medfield
14 has integrated this HSU DMA controller.
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index f4a689743aa2..e6f5e12a2d83 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -371,6 +371,8 @@ config SERIAL_8250_INGENIC
371config SERIAL_8250_MID 371config SERIAL_8250_MID
372 tristate "Support for serial ports on Intel MID platforms" 372 tristate "Support for serial ports on Intel MID platforms"
373 depends on SERIAL_8250 && PCI 373 depends on SERIAL_8250 && PCI
374 select HSU_DMA if SERIAL_8250_DMA
375 select HSU_DMA_PCI if X86_INTEL_MID
374 help 376 help
375 Selecting this option will enable handling of the extra features 377 Selecting this option will enable handling of the extra features
376 present on the UART found on Intel Medfield SOC and various other 378 present on the UART found on Intel Medfield SOC and various other