public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Josh Cartwright <josh.cartwright@ni.com>
To: Soren Brinkmann <soren.brinkmann@xilinx.com>,
	Michal Simek <michal.simek@xilinx.com>
Cc: Mike Turquette <mturquette@ti.com>,
	Rob Herring <rob.herring@calxeda.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	John Linn <john.linn@xilinx.com>,
	arm@kernel.org
Subject: Re: [PATCH v2 2/5] clk: Add support for fundamental zynq clks
Date: Tue, 13 Nov 2012 16:02:57 -0600	[thread overview]
Message-ID: <20121113220257.GN1718@beefymiracle.amer.corp.natinst.com> (raw)
In-Reply-To: <df95297d-a875-464a-b7a1-c494f2522a43@CO1EHSMHS027.ehs.local>

On Thu, Nov 08, 2012 at 03:28:07PM -0800, Soren Brinkmann wrote:
> One note below:
>
> On Wed, Oct 31, 2012 at 12:58:52PM -0600, Josh Cartwright wrote:
[..]
> > --- /dev/null
> > +++ b/drivers/clk/clk-zynq.c
[..]
> > +struct zynq_periph_clk {
> > +	struct clk_hw		hw;
> > +	struct clk_onecell_data	onecell_data;
> > +	struct clk		*gates[2];
> > +	void __iomem		*clk_ctrl;
> > +	spinlock_t		clkact_lock;
> > +};
> > +
> > +#define to_zynq_periph_clk(hw)	container_of(hw, struct zynq_periph_clk, hw)
> > +
> > +static const u8 periph_clk_parent_map[] = {
> > +	0, 0, 1, 2
> > +};
> > +#define PERIPH_CLK_CTRL_SRC(x)	(periph_clk_parent_map[((x) & 3) >> 4])
>
> I think this should be:
> #define PERIPH_CLK_CTRL_SRC(x)	(periph_clk_parent_map[((x) & 0x30) >> 4])

Yes indeed it should be, thanks.

Michal-  I'll just be following up with a v3 of this patch instead of
spinning up the whole set to save myself some time.  If you'd rather I
spin up the whole set, let me know.

Thanks,

  Josh

  reply	other threads:[~2012-11-13 22:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-08 18:49 [PATCH v2 0/5] zynq clk support Josh Cartwright
2012-10-31 18:24 ` [PATCH v2 1/5] ARM: zynq: dts: split up device tree Josh Cartwright
2012-11-12 12:00   ` Michal Simek
2012-10-31 18:58 ` [PATCH v2 2/5] clk: Add support for fundamental zynq clks Josh Cartwright
2012-11-08 23:28   ` Soren Brinkmann
2012-11-13 22:02     ` Josh Cartwright [this message]
2012-11-14 15:12       ` Michal Simek
2012-11-13 23:26     ` [PATCH v3] " Josh Cartwright
2012-11-13 23:55       ` Mike Turquette
2012-11-14 15:14         ` Michal Simek
     [not found]   ` <20121108232807.GG18904@xsjpsgb1010.xilinx.com>
2012-11-12 11:57     ` [PATCH v2 2/5] " Michal Simek
2012-10-31 19:28 ` [PATCH v2 4/5] serial: xilinx_uartps: get clock rate info from dts Josh Cartwright
2012-10-31 19:56 ` [PATCH v2 5/5] ARM: zynq: add clk binding support to the ttc Josh Cartwright
2012-11-08 18:04 ` [PATCH v2 3/5] ARM: zynq: use zynq clk bindings Josh Cartwright
2012-11-08 23:38 ` [PATCH v2 0/5] zynq clk support Soren Brinkmann

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=20121113220257.GN1718@beefymiracle.amer.corp.natinst.com \
    --to=josh.cartwright@ni.com \
    --cc=arm@kernel.org \
    --cc=john.linn@xilinx.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=mturquette@ti.com \
    --cc=rob.herring@calxeda.com \
    --cc=soren.brinkmann@xilinx.com \
    /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