Skip to content

Commit

Permalink
staging: mt7621-dma: ralink: add rt2880 dma engine
Browse files Browse the repository at this point in the history
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
John Crispin authored and gregkh committed Mar 19, 2018
1 parent 1ab7f2a commit 0853c7a
Show file tree
Hide file tree
Showing 7 changed files with 1,719 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,6 @@ source "drivers/staging/mt7621-gpio/Kconfig"

source "drivers/staging/mt7621-spi/Kconfig"

source "drivers/staging/mt7621-dma/Kconfig"

endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ obj-$(CONFIG_SOC_MT7621) += mt7621-pci/
obj-$(CONFIG_SOC_MT7621) += mt7621-pinctrl/
obj-$(CONFIG_SOC_MT7621) += mt7621-gpio/
obj-$(CONFIG_SOC_MT7621) += mt7621-spi/
obj-$(CONFIG_SOC_MT7621) += mt7621-dma/
12 changes: 12 additions & 0 deletions drivers/staging/mt7621-dma/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
config DMA_RALINK
tristate "RALINK DMA support"
depends on RALINK && !SOC_RT288X
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS

config MTK_HSDMA
tristate "MTK HSDMA support"
depends on RALINK && SOC_MT7621
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS

4 changes: 4 additions & 0 deletions drivers/staging/mt7621-dma/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
obj-$(CONFIG_DMA_RALINK) += ralink-gdma.o
obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o

ccflags-y += -I$(srctree)/drivers/dma
5 changes: 5 additions & 0 deletions drivers/staging/mt7621-dma/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

- general code review and clean up
- ensure device-tree requirements are documented

Cc: NeilBrown <neil@brown.name>

0 comments on commit 0853c7a

Please sign in to comment.