ARM/dmaengine: pl08x: pass reasonable memcpy settings
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 20 May 2017 21:42:50 +0000 (23:42 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 24 May 2017 04:14:32 +0000 (09:44 +0530)
commit4166a56aa8d5babe979d8e0834a741c9f015ad14
tree6849acc60f113988d19f9edd65aa99faeeecf09a
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ARM/dmaengine: pl08x: pass reasonable memcpy settings

We cannot use bits from configuration registers as API between
platforms and driver like this, abstract it out to two enums
and mimic the stuff passed as device tree data.

This is done to make it possible for the driver to generate the
ccfg word on-the-fly so we can support more PL08x derivatives.

Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/mach-lpc32xx/phy3250.c
arch/arm/mach-s3c64xx/pl080.c
arch/arm/mach-spear/spear3xx.c
arch/arm/mach-spear/spear6xx.c
drivers/dma/amba-pl08x.c
include/linux/amba/pl08x.h