Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
46c2eb64
Commit
46c2eb64
authored
Feb 02, 2015
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/rcar' into for-linus
parents
2cd6f792
ee4b876b
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1765 additions
and
5 deletions
+1765
-5
Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt
Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt
+0
-3
drivers/dma/Makefile
drivers/dma/Makefile
+1
-1
drivers/dma/sh/Kconfig
drivers/dma/sh/Kconfig
+13
-1
drivers/dma/sh/Makefile
drivers/dma/sh/Makefile
+1
-0
drivers/dma/sh/rcar-dmac.c
drivers/dma/sh/rcar-dmac.c
+1747
-0
include/linux/dmaengine.h
include/linux/dmaengine.h
+3
-0
No files found.
Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt
View file @
46c2eb64
...
@@ -5,9 +5,6 @@ controller instances named DMAC capable of serving multiple clients. Channels
...
@@ -5,9 +5,6 @@ controller instances named DMAC capable of serving multiple clients. Channels
can be dedicated to specific clients or shared between a large number of
can be dedicated to specific clients or shared between a large number of
clients.
clients.
DMA clients are connected to the DMAC ports referenced by an 8-bit identifier
called MID/RID.
Each DMA client is connected to one dedicated port of the DMAC, identified by
Each DMA client is connected to one dedicated port of the DMAC, identified by
an 8-bit port number called the MID/RID. A DMA controller can thus serve up to
an 8-bit port number called the MID/RID. A DMA controller can thus serve up to
256 clients in total. When the number of hardware channels is lower than the
256 clients in total. When the number of hardware channels is lower than the
...
...
drivers/dma/Makefile
View file @
46c2eb64
...
@@ -19,7 +19,7 @@ obj-$(CONFIG_AT_HDMAC) += at_hdmac.o
...
@@ -19,7 +19,7 @@ obj-$(CONFIG_AT_HDMAC) += at_hdmac.o
obj-$(CONFIG_AT_XDMAC)
+=
at_xdmac.o
obj-$(CONFIG_AT_XDMAC)
+=
at_xdmac.o
obj-$(CONFIG_MX3_IPU)
+=
ipu/
obj-$(CONFIG_MX3_IPU)
+=
ipu/
obj-$(CONFIG_TXX9_DMAC)
+=
txx9dmac.o
obj-$(CONFIG_TXX9_DMAC)
+=
txx9dmac.o
obj-$(CONFIG_
SH_DMAE_BASE
)
+=
sh/
obj-$(CONFIG_
RENESAS_DMA
)
+=
sh/
obj-$(CONFIG_COH901318)
+=
coh901318.o coh901318_lli.o
obj-$(CONFIG_COH901318)
+=
coh901318.o coh901318_lli.o
obj-$(CONFIG_AMCC_PPC440SPE_ADMA)
+=
ppc4xx/
obj-$(CONFIG_AMCC_PPC440SPE_ADMA)
+=
ppc4xx/
obj-$(CONFIG_IMX_SDMA)
+=
imx-sdma.o
obj-$(CONFIG_IMX_SDMA)
+=
imx-sdma.o
...
...
drivers/dma/sh/Kconfig
View file @
46c2eb64
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
# DMA engine configuration for sh
# DMA engine configuration for sh
#
#
config RENESAS_DMA
bool
select DMA_ENGINE
#
#
# DMA Engine Helpers
# DMA Engine Helpers
#
#
...
@@ -12,7 +16,7 @@ config SH_DMAE_BASE
...
@@ -12,7 +16,7 @@ config SH_DMAE_BASE
depends on !SUPERH || SH_DMA
depends on !SUPERH || SH_DMA
depends on !SH_DMA_API
depends on !SH_DMA_API
default y
default y
select
DMA_ENGINE
select
RENESAS_DMA
help
help
Enable support for the Renesas SuperH DMA controllers.
Enable support for the Renesas SuperH DMA controllers.
...
@@ -52,3 +56,11 @@ config RCAR_AUDMAC_PP
...
@@ -52,3 +56,11 @@ config RCAR_AUDMAC_PP
depends on SH_DMAE_BASE
depends on SH_DMAE_BASE
help
help
Enable support for the Renesas R-Car Audio DMAC Peripheral Peripheral controllers.
Enable support for the Renesas R-Car Audio DMAC Peripheral Peripheral controllers.
config RCAR_DMAC
tristate "Renesas R-Car Gen2 DMA Controller"
depends on ARCH_SHMOBILE || COMPILE_TEST
select RENESAS_DMA
help
This driver supports the general purpose DMA controller found in the
Renesas R-Car second generation SoCs.
drivers/dma/sh/Makefile
View file @
46c2eb64
...
@@ -16,3 +16,4 @@ obj-$(CONFIG_SH_DMAE) += shdma.o
...
@@ -16,3 +16,4 @@ obj-$(CONFIG_SH_DMAE) += shdma.o
obj-$(CONFIG_SUDMAC)
+=
sudmac.o
obj-$(CONFIG_SUDMAC)
+=
sudmac.o
obj-$(CONFIG_RCAR_HPB_DMAE)
+=
rcar-hpbdma.o
obj-$(CONFIG_RCAR_HPB_DMAE)
+=
rcar-hpbdma.o
obj-$(CONFIG_RCAR_AUDMAC_PP)
+=
rcar-audmapp.o
obj-$(CONFIG_RCAR_AUDMAC_PP)
+=
rcar-audmapp.o
obj-$(CONFIG_RCAR_DMAC)
+=
rcar-dmac.o
drivers/dma/sh/rcar-dmac.c
0 → 100644
View file @
46c2eb64
This diff is collapsed.
Click to expand it.
include/linux/dmaengine.h
View file @
46c2eb64
...
@@ -279,6 +279,9 @@ enum dma_slave_buswidth {
...
@@ -279,6 +279,9 @@ enum dma_slave_buswidth {
DMA_SLAVE_BUSWIDTH_3_BYTES
=
3
,
DMA_SLAVE_BUSWIDTH_3_BYTES
=
3
,
DMA_SLAVE_BUSWIDTH_4_BYTES
=
4
,
DMA_SLAVE_BUSWIDTH_4_BYTES
=
4
,
DMA_SLAVE_BUSWIDTH_8_BYTES
=
8
,
DMA_SLAVE_BUSWIDTH_8_BYTES
=
8
,
DMA_SLAVE_BUSWIDTH_16_BYTES
=
16
,
DMA_SLAVE_BUSWIDTH_32_BYTES
=
32
,
DMA_SLAVE_BUSWIDTH_64_BYTES
=
64
,
};
};
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment