linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: shijie8@gmail.com (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 0/2] add gpmi support for imx6q
Date: Mon,  2 Jul 2012 21:39:30 -0400	[thread overview]
Message-ID: <1341279572-6098-1-git-send-email-shijie8@gmail.com> (raw)

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

             reply	other threads:[~2012-07-03  1:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03  1:39 Huang Shijie [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341279572-6098-1-git-send-email-shijie8@gmail.com \
    --to=shijie8@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).