cpufreq: arm: sunxi: cpufreq driver from linux-sunxi

This is not intended for submission, just for testing.

Taken from the linux-sunxi kernel tree, sunxi-3.0 branch; see

    https://github.com/linux-sunxi/linux-sunxi/tree/sunxi-3.0/arch/arm/mach-sun4i/cpu-freq

Now also supporting sun5i, and smarter DTization so it doesn't break
sun7i or other platforms.

Note that the driver is not built as it's currently broken
arm: configs: minimal config for sunxi SOCs

This is a minimal configuration suitable for development on sunxi
devices.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Travis CI configuration
dma: sun4i: Add support for the DMA engine on sun[457]i SoCs

This patch adds support for the DMA engine present on Allwinner A10,
A13, A10S and A20 SoCs. This engine has two kinds of channels: normal
and dedicated. The main difference is in the mode of operation;
while a single normal channel may be operating at any given time,
dedicated channels may operate simultaneously provided there is no
overlap of source or destination.

Hardware documentation can be found on A10 User Manual (section 12), A13
User Manual (section 14) and A20 User Manual (section 1.12)

Signed-off-by: Emilio López <emilio@elopez.com.ar>
dma: sun4i: Improve memcpy performance

By making sure we use the biggest burst and bus width possible,
we can get a considerable increase in memcpy performance.
dma: sun4i: cyclic support
spi: sun4i: add DMA support

This patch adds support for 64 byte or bigger transfers on the
sun4i SPI controller. Said transfers will be performed via DMA.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
ARM: sun4i: Add node to represent the DMA controller

Let's add a node to represent the A10 DMA controller on the device tree.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
ARM: sun5i: Add nodes to represent the DMA controllers

The A10S and A13 SoCs have sun4i-compatible DMA controllers. Let's add
the corresponding nodes to represent them on the device tree.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
ARM: sun7i: Add node to represent the DMA controller

The A20 SoC has a sun4i-compatible DMA controller. Let's add a node to
represent it on the device tree.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
ARM: sun4i: enable DMA on SPI

All of our SPI controllers support DMA transfers, so let's add the
properties here so they can be used when it's best to do so.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
ARM: sun5i: enable DMA on SPI

All of our SPI controllers support DMA transfers, so let's add the
properties here so they can be used when it's best to do so.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
ARM: sun7i: enable DMA on SPI

All of our SPI controllers support DMA transfers, so let's add the
properties here so they can be used when it's best to do so.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
ARM: sun4i: cubieboard: add an SPIdev device for testing
ARM: sun7i: cubietruck: add an SPIdev device for testing
ARM: sun5i: a10s-olinuxino-micro: add an SPIdev device for testing
serial: 8250_dw: support DMA on the OF case

Currently, DMA properties on the DT are ignored when using the 8250_dw
driver. With this patch, DMA will be used when available.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
ARM: sun7i: add DMA properties to UARTs

Our UARTs also support DMA transfers, let's enable them for the sake of
testing.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
ARM: sunxi: refresh upstream defconfigs to enable DMA driver