[U-Boot] [PATCH V2 00/14] imx: mx6/7: support lcdif

Peng Fan Peng.Fan at freescale.com
Tue Oct 20 13:39:30 CEST 2015


Changes v2:
 1. Rebased on Latest U-Boot
 2. Add i.MX7 LCDIF support

This patch set is to introduce lcdif support for i.MX6/7.
Patchset tested on mx6ul_14x14/9x9_evk and mx7dsabresd boards.

1/14
There are two LCD interface for i.MX6SX and one interface for i.MX6UL,
so change the prototype mxs_set_lcdclk to handle different interface.

[2,3]/14
I am not sure, but from my understanding, the 'board_' should be discarded.

4/14
mx28 and mx6ul/sx have similar register layout and bit definitions, so
move related structure and bit definitions to imx-common.

[5,6,7]/14
is to add related CCM macros, clock apis for enable lcdif on i.MX6

8/14
support lcdif for i.MX6UL 14x14/9x9 board

9/14
Introduce lcdif_power_down, to make system stable when reset or boot os

[10,11]/14
Need to call lcdif_power_down, before trigger wdog reset or boot os.
Or we may met unexpected system hang.

[12,13,14]/14
Mainly support LCDIF for i.MX7.

Peng Fan (14):
  mxs: add parameter base_addr for mxs_set_lcdclk
  sandisk: sfp: correct function name
  xfi3: correct function name
  imx: imx-common: move lcdif structure and macro definition to
    imx-common
  imx: mx6: fix register address
  imx: mx6: crm_reg: add LCDIF related macros
  imx: mx6: add clock api for lcdif
  imx: mx6ul_14x14_evk: support lcdif display
  video: mxsfb: introduce lcdif_power_down
  imx: mx6: implement reset_misc
  imx: imx-common: power down lcdif before boot os
  imx: mx7: compile misc.c for mx7
  imx: mx7 use the common lcdif register structure
  imx: mx7dsabresd: support lcdif

 arch/arm/cpu/arm926ejs/mxs/clock.c                |   2 +-
 arch/arm/cpu/armv7/mx6/clock.c                    | 239 ++++++++++++++++++++++
 arch/arm/cpu/armv7/mx6/soc.c                      |   8 +
 arch/arm/imx-common/Makefile                      |   2 +-
 arch/arm/imx-common/cpu.c                         |   3 +
 arch/arm/include/asm/arch-mx6/clock.h             |   2 +
 arch/arm/include/asm/arch-mx6/crm_regs.h          |  34 ++-
 arch/arm/include/asm/arch-mx6/imx-regs.h          |  15 +-
 arch/arm/include/asm/arch-mx7/imx-regs.h          |  96 +--------
 arch/arm/include/asm/arch-mxs/clock.h             |   2 +-
 arch/arm/include/asm/arch-mxs/regs-lcdif.h        | 201 +-----------------
 arch/arm/include/asm/imx-common/regs-lcdif.h      | 224 ++++++++++++++++++++
 arch/arm/include/asm/imx-common/sys_proto.h       |   2 +
 board/creative/xfi3/xfi3.c                        |   2 +-
 board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c |  63 ++++++
 board/freescale/mx7dsabresd/mx7dsabresd.c         |  64 ++++++
 board/sandisk/sansa_fuze_plus/sfp.c               |   2 +-
 drivers/video/mxsfb.c                             |  19 +-
 include/configs/mx6ul_14x14_evk.h                 |  18 ++
 include/configs/mx7dsabresd.h                     |  17 ++
 20 files changed, 705 insertions(+), 310 deletions(-)
 create mode 100644 arch/arm/include/asm/imx-common/regs-lcdif.h

-- 
1.8.4




More information about the U-Boot mailing list