Skip to content

add gpmi support for imx6q

Huang Shijie linux-arm-kernel linux-mtd 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 0 repliesNew
  2. v33 patches 0 repliesSuperseded
  3. v23 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Changes in v4 from the cover letter

[1] add con_id for gpmi nand
[2] balance the clk_prepare_enable()/clk_disable_unprepare() in __gpmi_enable_clk();
[3] do not send the second patch which is applied to Shawn's tree.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: imx6q: add clocks for gpmi-nandarch/arm/mach-imx/clk-imx6q.c+7 -12 replies
2/2mtd: gpmi: change the code for clocksdrivers/mtd/nand/gpmi-nand/gpmi-lib.c drivers/mtd/nand/gpmi-nand/gpmi-nand.c drivers/mtd/nand/gpmi-nand/gpmi-nand.h+112 -180 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchShawn Guo
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] add gpmi support for imx6q

This patch set adds the gpmi-nand support for imx6q.

I prefer to add the clocks in the gpmi-nand driver.
Yes, it will change the gpmi nand driver, but we have to do so. The reason is :
We will support the ONFI nand in mx6q in the future. If the ONFI nand is set to Sync mode, we have to __change__ the clocks explicitly.

Test this patch set on imx6q-arm2 board and imx28-evk board.

v3 --> v4:
[1] add con_id for gpmi nand
[2] balance the clk_prepare_enable()/clk_disable_unprepare() in __gpmi_enable_clk();
[3] do not send the second patch which is applied to Shawn's tree.

v2 --> v3:
[1] fix a bug the clocks.

v1 --> v2:
[1] add dev_id for the gpmi-nand's clocks.
[2] set the default values for these clocks.

Huang Shijie (2):
ARM: imx6q: add clocks for gpmi-nand
mtd: gpmi: change the code for clocks

 arch/arm/mach-imx/clk-imx6q.c          |    8 +++-
 drivers/mtd/nand/gpmi-nand/gpmi-lib.c  |   45 ++++++++++++++---
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c |   82 ++++++++++++++++++++++++++++----
 drivers/mtd/nand/gpmi-nand/gpmi-nand.h |    3 +-
 4 files changed, 119 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.4.4