Skip to content

Commit 2b49e0c

Browse files
andy-shevgregkh
authored andcommitted
dmaengine: append hsu DMA driver
The HSU DMA is developed to support High Speed UART controllers found in particular on Intel MID platforms such as Intel Medfield. The existing implementation is tighten to the drivers/tty/serial/mfd.c driver and has a lot of disadvantages. Besides that we would like to get rid of the old HS UART driver in regarding to extending the 8250 which supports generic DMAEngine API. That's why the current driver has been developed. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 84e0185 commit 2b49e0c

File tree

9 files changed

+840
-0
lines changed

9 files changed

+840
-0
lines changed

drivers/dma/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ config FSL_DMA
125125
EloPlus is on mpc85xx and mpc86xx and Pxxx parts, and the Elo3 is on
126126
some Txxx and Bxxx parts.
127127

128+
source "drivers/dma/hsu/Kconfig"
129+
128130
config MPC512X_DMA
129131
tristate "Freescale MPC512x built-in DMA engine support"
130132
depends on PPC_MPC512x || PPC_MPC831x

drivers/dma/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ obj-$(CONFIG_DMATEST) += dmatest.o
1111
obj-$(CONFIG_INTEL_IOATDMA) += ioat/
1212
obj-$(CONFIG_INTEL_IOP_ADMA) += iop-adma.o
1313
obj-$(CONFIG_FSL_DMA) += fsldma.o
14+
obj-$(CONFIG_HSU_DMA) += hsu/
1415
obj-$(CONFIG_MPC512X_DMA) += mpc512x_dma.o
1516
obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
1617
obj-$(CONFIG_MV_XOR) += mv_xor.o

drivers/dma/hsu/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# DMA engine configuration for hsu
2+
config HSU_DMA
3+
tristate "High Speed UART DMA support"
4+
select DMA_ENGINE
5+
select DMA_VIRTUAL_CHANNELS
6+
7+
config HSU_DMA_PCI
8+
tristate "High Speed UART DMA PCI driver"
9+
depends on 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.

drivers/dma/hsu/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
obj-$(CONFIG_HSU_DMA) += hsu_dma.o
2+
hsu_dma-objs := hsu.o
3+
4+
obj-$(CONFIG_HSU_DMA_PCI) += hsu_dma_pci.o
5+
hsu_dma_pci-objs := pci.o

0 commit comments

Comments
 (0)