linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] add gpmi support for imx6q
@ 2012-07-03  1:39 Huang Shijie
  2012-07-03  1:39 ` [PATCH v4 1/2] ARM: imx6q: add clocks for gpmi-nand Huang Shijie
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Huang Shijie @ 2012-07-03  1:39 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

-- 
1.7.4.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-08-24  8:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-03  1:39 [PATCH v4 0/2] add gpmi support for imx6q Huang Shijie
2012-07-03  1:39 ` [PATCH v4 1/2] ARM: imx6q: add clocks for gpmi-nand Huang Shijie
2012-07-17  5:41   ` Shawn Guo
2012-07-18 13:12   ` Artem Bityutskiy
2012-07-03  1:39 ` [PATCH v4 2/2] mtd: gpmi: change the code for clocks Huang Shijie
2012-07-16 15:12 ` [PATCH v4 0/2] add gpmi support for imx6q Artem Bityutskiy
2012-07-17  3:07   ` [PATCH] mtd: gpmi: fix the compiler warnings Huang Shijie
2012-07-17  5:57   ` [PATCH v2] " Huang Shijie
2012-07-17  6:14   ` [PATCH v3] " Huang Shijie
2012-08-01  2:27     ` Huang Shijie
2012-08-24  8:09       ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).