dma: amba-pl08x: Use bitmap to pass variant specific quirks

Instead of defining new bool field in vendor_data struct for each quirk,
it is more reasonable to use a single flags field and make each quirk
use single bits.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
dma: amba-pl08x: Refactor pl08x_getbytes_chan() to lower indentation

Further patch will introduce support for PL080S, which requires some
things to be done conditionally, thus increasing indentation level of
some functions even more.

This patch reduces indentation level of pl08x_getbytes_chan() function
by inverting several conditions and returning from function wherever
possible.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
dma: amba-pl08x: Add support for different offset of CONFIG register

Some variants of PL08x (namely PL080S, found in Samsung S3C64xx SoCs)
have CONFIG register at different offset. This patch makes the driver
use offset from vendor data struct.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
dma: amba-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>
dma: amba-pl08x: Add support for different maximum transfer size

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
dma: amba-pl08x: Keep LLIs aligned to 4-word boundary

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
dmaengine: PL08x: Fix reading the byte count in cctl

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
dmaengine: PL08x: Add cyclic transfer support

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
clk: samsung: s3c64xx: Add aliases for DMA clocks

The new amba-pl08x driver requires another set of clock aliases, so this
patch adds them.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
spi: s3c64xx: Do not require legacy DMA API in case of S3C64XX

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ASoC: samsung: Do not require legacy DMA API in case of S3C64XX

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: s3c64xx: Add DMA platform data when booting with DT

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: dts: s3c64xx: Add nodes for DMA controllers

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: s3c64xx: smdk6410: Register backlight after registering PWM device

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>