[U-Boot] [PATCH v7 02/11] video: add Faraday FTLCDC200 LCD controller support

Anatolij Gustschin agust at denx.de
Fri Aug 9 21:33:32 CEST 2013


On Mon, 29 Jul 2013 13:51:44 +0800
Kuo-Jung Su <dantesu at gmail.com> wrote:

> From: Kuo-Jung Su <dantesu at faraday-tech.com>
> 
> Faraday FTLCDC200 Color LCD controller performs translation of
> pixel-coded data into the required formats and timings to
> drive a variety of single/dual mono and color LCDs.
> 
> Depending on the LCD type and mode, the unpacked data can represent:
>    1. an actual true display gray or color value
>    2. an address to a 256 x 16 bit wide palette RAM gray or color value.
> 
> The FTLCDC200 generates 4 individual interrupts for:
>    1. DMA FIFO underflow
>    2. base address update
>    3. vertical status
>    4. bus error.
> 
> There is also a single combined interrupt that is raised when any of
> the individual interrupts become active.
> 
> Signed-off-by: Kuo-Jung Su <dantesu at faraday-tech.com>
> CC: Albert Aribaud <albert.u.boot at aribaud.net>
> CC: Anatolij Gustschin <agust at denx.de>
> ---
> Changes for v7:
>    - Update license to use SPDX identifiers.
> 
> Changes for v6:
>    - Nothing updates
> 
> Changes for v5:
>    - Coding Style cleanup:
>      struct chip_regs __iomem *regs -> struct chip_regs *regs
>    - Chain it back to Faraday A360/A369 patch series, because
>      Faraday A369 depends on the header file of this patch
>      for I2C work-around.(Enable I2C clock to prevent I2C bus hangs)
> 
> Changes for v4:
>    - Nothing updates
> 
> Changes for v3:
>    - Nothing updates
> 
> Changes for v2:
>    - Make it a separate patch, rather then a part of
>      Faraday A36x patch series
> 
>  drivers/video/Makefile          |    1 +
>  drivers/video/ftlcdc200.c       |  136 +++++++++++++++++++++++++
>  drivers/video/ftlcdc200_panel.c |  209 +++++++++++++++++++++++++++++++++++++++
>  include/faraday/ftlcdc200.h     |  178 +++++++++++++++++++++++++++++++++
>  include/lcd.h                   |   33 +++++++
>  5 files changed, 557 insertions(+)
>  create mode 100644 drivers/video/ftlcdc200.c
>  create mode 100644 drivers/video/ftlcdc200_panel.c
>  create mode 100644 include/faraday/ftlcdc200.h

Acked-by: Anatolij Gustschin <agust at denx.de>

Thanks,

Anatolij


More information about the U-Boot mailing list