[U-Boot] [PATCH 01/11] dma: apbh: Add special circular mode for LCD

Anatolij Gustschin agust at denx.de
Fri Aug 9 21:50:31 CEST 2013


On Tue, 30 Jul 2013 23:37:51 +0200
Marek Vasut <marex at denx.de> wrote:

> Add special function that executes a specially crafted circular
> DMA descriptor. The function doesn't wait for the descriptor to
> finish the transfer, since the descritor never finishes. This is
> useful when operating a SmartLCD through the LCDIF interface, as
> the LCDIF does not give us any means to have continuous refresh
> of the SmartLCD. Instead, the RUN bit in the LCDIF CTRL register
> must be triggered manually. This can be worked around by starting
> an DMA transfer which continuously sets the RUN bit. This function
> allows starting exactly such transfer.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Otavio Salvador <otavio at ossystems.com.br>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>  arch/arm/include/asm/imx-common/dma.h |    2 ++
>  drivers/dma/apbh_dma.c                |   22 ++++++++++++++++++++++
>  2 files changed, 24 insertions(+)

Applied to u-boot-video/master. Thanks!

Anatolij


More information about the U-Boot mailing list