linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: aisheng.dong@freescale.com (Dong Aisheng)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] mtd: gpmi: change the code for clocks
Date: Fri, 29 Jun 2012 20:14:38 +0800	[thread overview]
Message-ID: <20120629121437.GQ5844@shlinux2.ap.freescale.net> (raw)
In-Reply-To: <20120629111334.GB29197@S2101-09.ap.freescale.net>

On Fri, Jun 29, 2012 at 07:13:36PM +0800, Shawn Guo wrote:
> On Fri, Jun 29, 2012 at 05:54:33PM +0800, Dong Aisheng wrote:
> > > > > No, that's silly. You would have to change the driver for each
> > > > > new platform that the driver can support.
> > > > > 
> > > > If the new platform is fully compatible with exist platforms, then no.
> > > > If need more clocks, then in either way, we have to add support in driver.
> > > > 
> > > Even if it had fewer clocks you would have to change the driver!
> > > 
> > Yes.
> > For your case, you need create some dummy clock, right?
> > If yes, i would intend to explictly to define it for a new type
> > of IP.
> > 
> I'm with Lothar on this.  At least for imx28 case, we do not even need
> dummy clock, because NULL con_id in clkdev lookup will have all those
> clocks match the only one gpmi-nand clock on imx28, as I already said.
> 
I'm not quite understand. Can you clarify a bit more?
For extra clocks need by mx6q like "gpmi_bch", they're indeed have con_id.
Getting them will not fail on imx28 without dummy clock?

Regards
Dong Aisheng

  reply	other threads:[~2012-06-29 12:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29  3:52 [PATCH 1/3] ARM: imx6q: add clocks for gpmi-nand Huang Shijie
2012-06-29  1:50 ` Shawn Guo
2012-06-29  2:29 ` Dong Aisheng
2012-06-29  2:57   ` Huang Shijie
2012-06-29  3:03     ` Shawn Guo
2012-06-29  3:52 ` [PATCH 2/3] ARM: imx6q: add DT node for gpmi nand Huang Shijie
2012-06-29  3:10   ` Dong Aisheng
2012-06-29  3:24     ` Huang Shijie
2012-06-29  3:52 ` [PATCH 3/3] mtd: gpmi: change the code for clocks Huang Shijie
2012-06-29  2:06   ` Shawn Guo
2012-06-29  2:32     ` Huang Shijie
2012-06-29  5:52     ` Huang Shijie
2012-06-29  6:33     ` Dong Aisheng
2012-06-29  9:29       ` Lothar Waßmann
2012-06-29  9:34         ` Dong Aisheng
2012-06-29  9:44           ` Lothar Waßmann
2012-06-29  9:54             ` Dong Aisheng
2012-06-29 11:13               ` Shawn Guo
2012-06-29 12:14                 ` Dong Aisheng [this message]
2012-06-29 12:41                   ` Shawn Guo
2012-06-29 12:41                     ` Dong Aisheng
2012-06-29 12:53                       ` Shawn Guo
2012-06-29 10:02             ` Huang Shijie
2012-06-29 11:22               ` Shawn Guo
2012-06-30 17:52         ` Mark Brown
2012-06-29  3:35   ` Subodh Nijsure

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=20120629121437.GQ5844@shlinux2.ap.freescale.net \
    --to=aisheng.dong@freescale.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).