aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MAINTAINERS3
-rw-r--r--drivers/dma/Kconfig20
-rw-r--r--drivers/dma/Makefile2
-rw-r--r--drivers/dma/dw/Kconfig23
-rw-r--r--drivers/dma/dw/Makefile1
-rw-r--r--drivers/dma/dw/dw_dmac.c (renamed from drivers/dma/dw_dmac.c)2
-rw-r--r--drivers/dma/dw/dw_dmac_regs.h (renamed from drivers/dma/dw_dmac_regs.h)0
7 files changed, 28 insertions, 23 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 250dc970c62d..e325809fd412 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6990,8 +6990,7 @@ SYNOPSYS DESIGNWARE DMAC DRIVER
6990M: Viresh Kumar <viresh.linux@gmail.com> 6990M: Viresh Kumar <viresh.linux@gmail.com>
6991S: Maintained 6991S: Maintained
6992F: include/linux/dw_dmac.h 6992F: include/linux/dw_dmac.h
6993F: drivers/dma/dw_dmac_regs.h 6993F: drivers/dma/dw/
6994F: drivers/dma/dw_dmac.c
6995 6994
6996SYNOPSYS DESIGNWARE MMC/SD/SDIO DRIVER 6995SYNOPSYS DESIGNWARE MMC/SD/SDIO DRIVER
6997M: Seungwon Jeon <tgih.jun@samsung.com> 6996M: Seungwon Jeon <tgih.jun@samsung.com>
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index e9924898043a..146a1d864a71 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -79,25 +79,7 @@ config INTEL_IOP_ADMA
79 help 79 help
80 Enable support for the Intel(R) IOP Series RAID engines. 80 Enable support for the Intel(R) IOP Series RAID engines.
81 81
82config DW_DMAC 82source "drivers/dma/dw/Kconfig"
83 tristate "Synopsys DesignWare AHB DMA support"
84 depends on GENERIC_HARDIRQS
85 select DMA_ENGINE
86 default y if CPU_AT32AP7000
87 help
88 Support the Synopsys DesignWare AHB DMA controller. This
89 can be integrated in chips such as the Atmel AT32ap7000.
90
91config DW_DMAC_BIG_ENDIAN_IO
92 bool "Use big endian I/O register access"
93 default y if AVR32
94 depends on DW_DMAC
95 help
96 Say yes here to use big endian I/O access when reading and writing
97 to the DMA controller registers. This is needed on some platforms,
98 like the Atmel AVR32 architecture.
99
100 If unsure, use the default setting.
101 83
102config AT_HDMAC 84config AT_HDMAC
103 tristate "Atmel AHB DMA support" 85 tristate "Atmel AHB DMA support"
diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
index a2b0df591f95..ac44ca0d468a 100644
--- a/drivers/dma/Makefile
+++ b/drivers/dma/Makefile
@@ -15,7 +15,7 @@ obj-$(CONFIG_FSL_DMA) += fsldma.o
15obj-$(CONFIG_MPC512X_DMA) += mpc512x_dma.o 15obj-$(CONFIG_MPC512X_DMA) += mpc512x_dma.o
16obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/ 16obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
17obj-$(CONFIG_MV_XOR) += mv_xor.o 17obj-$(CONFIG_MV_XOR) += mv_xor.o
18obj-$(CONFIG_DW_DMAC) += dw_dmac.o 18obj-$(CONFIG_DW_DMAC) += dw/
19obj-$(CONFIG_AT_HDMAC) += at_hdmac.o 19obj-$(CONFIG_AT_HDMAC) += at_hdmac.o
20obj-$(CONFIG_MX3_IPU) += ipu/ 20obj-$(CONFIG_MX3_IPU) += ipu/
21obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o 21obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o
diff --git a/drivers/dma/dw/Kconfig b/drivers/dma/dw/Kconfig
new file mode 100644
index 000000000000..38a215af5ccc
--- /dev/null
+++ b/drivers/dma/dw/Kconfig
@@ -0,0 +1,23 @@
1#
2# DMA engine configuration for dw
3#
4
5config DW_DMAC
6 tristate "Synopsys DesignWare AHB DMA support"
7 depends on GENERIC_HARDIRQS
8 select DMA_ENGINE
9 default y if CPU_AT32AP7000
10 help
11 Support the Synopsys DesignWare AHB DMA controller. This
12 can be integrated in chips such as the Atmel AT32ap7000.
13
14config DW_DMAC_BIG_ENDIAN_IO
15 bool "Use big endian I/O register access"
16 default y if AVR32
17 depends on DW_DMAC
18 help
19 Say yes here to use big endian I/O access when reading and writing
20 to the DMA controller registers. This is needed on some platforms,
21 like the Atmel AVR32 architecture.
22
23 If unsure, use the default setting.
diff --git a/drivers/dma/dw/Makefile b/drivers/dma/dw/Makefile
new file mode 100644
index 000000000000..dd8d9936beef
--- /dev/null
+++ b/drivers/dma/dw/Makefile
@@ -0,0 +1 @@
obj-$(CONFIG_DW_DMAC) += dw_dmac.o
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw/dw_dmac.c
index 2b65ba614e60..15f3f4f79c10 100644
--- a/drivers/dma/dw_dmac.c
+++ b/drivers/dma/dw/dw_dmac.c
@@ -28,8 +28,8 @@
28#include <linux/acpi.h> 28#include <linux/acpi.h>
29#include <linux/acpi_dma.h> 29#include <linux/acpi_dma.h>
30 30
31#include "../dmaengine.h"
31#include "dw_dmac_regs.h" 32#include "dw_dmac_regs.h"
32#include "dmaengine.h"
33 33
34/* 34/*
35 * This supports the Synopsys "DesignWare AHB Central DMA Controller", 35 * This supports the Synopsys "DesignWare AHB Central DMA Controller",
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw/dw_dmac_regs.h
index 9d417200bd57..9d417200bd57 100644
--- a/drivers/dma/dw_dmac_regs.h
+++ b/drivers/dma/dw/dw_dmac_regs.h