summaryrefslogtreecommitdiff
path: root/include/linux/amba/pl080.h
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2013-08-11 21:59:17 +0400
committerVinod Koul <vinod.koul@intel.com>2013-09-02 10:19:56 +0400
commitda1b6c05b8b5bd9af060acb319360604a0890c2e (patch)
treecae3c392c375500b663ccffcbbdcee498769c924 /include/linux/amba/pl080.h
parent48924e4224540b249e56d82e58dee5bcaabfe52b (diff)
downloadlinux-da1b6c05b8b5bd9af060acb319360604a0890c2e.tar.xz
dmaengine: PL08x: Add support for PL080S variant
PL080S is a modified version of PL080 that can be found on Samsung SoCs, such as S3C6400 and S3C6410. It has different offset of CONFIG register, separate CONTROL1 register that holds transfer size and larger maximum transfer size. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/amba/pl080.h')
-rw-r--r--include/linux/amba/pl080.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/amba/pl080.h b/include/linux/amba/pl080.h
index 3e7b62fbefbd..91b84a7f0539 100644
--- a/include/linux/amba/pl080.h
+++ b/include/linux/amba/pl080.h
@@ -87,6 +87,7 @@
#define PL080_CONTROL_SB_SIZE_MASK (0x7 << 12)
#define PL080_CONTROL_SB_SIZE_SHIFT (12)
#define PL080_CONTROL_TRANSFER_SIZE_MASK (0xfff << 0)
+#define PL080S_CONTROL_TRANSFER_SIZE_MASK (0x1ffffff << 0)
#define PL080_CONTROL_TRANSFER_SIZE_SHIFT (0)
#define PL080_BSIZE_1 (0x0)