Skip to content

imx: mx6: support lcdif

Peng Fan u-boot 1 version New

Get series with b4
b4 am 20151020091916.GA4585@shlinux2

Versions newest first

  1. v1 Latest0 of 11 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 11 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/11] imx: mx6: support lcdif

Hi Stefano,

Quoted 6 lines · Stefano Babic

Hi Peng,

I have not forgotten this series. Anyway, this has introduced aome changes that could brick other boards and it is my opininio to postpone it after 2015.10 release. Of course, I will send to you a full review for that.

The patch set has been here for a long time. Since now 2015.10 released, Can you please review this patch set?

Thanks,
Peng.

Quoted 77 lines

Best regards,
Stefano Babic

Quoted 63 lines · Peng Fan

This patch set is to introduce lcdif support for i.MX6.

Now only i.MX6UL support is in this patchset. Patchset tested on mx6ul_14x14_evk and mx6ul_9x9_evk (needs 9x9 SPL patch applied).

1/11
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]/11
I am not sure, but from my understanding, the 'board_' should be discarded.

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

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

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

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

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

Peng Fan (11):
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

 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/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-mxs/clock.h             |   2 +-
 arch/arm/include/asm/arch-mxs/regs-lcdif.h        | 201 +-----------------
 arch/arm/include/asm/imx-common/regs-lcdif.h      | 222 ++++++++++++++++++++
 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/sandisk/sansa_fuze_plus/sfp.c               |   2 +-
 drivers/video/mxsfb.c                             |  19 +-
 include/configs/mx6ul_14x14_evk.h                 |  18 ++
 16 files changed, 620 insertions(+), 214 deletions(-)
 create mode 100644 arch/arm/include/asm/imx-common/regs-lcdif.h
Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================