From: Michal Simek <michal.simek@xilinx.com>
To: Josh Cartwright <josh.cartwright@ni.com>,
Soren Brinkmann <sorenb@xilinx.com>
Cc: Mike Turquette <mturquette@ti.com>,
Rob Herring <rob.herring@calxeda.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
John Linn <linnj@xilinx.com>, "arm@kernel.org" <arm@kernel.org>
Subject: RE: [PATCH v2 2/5] clk: Add support for fundamental zynq clks
Date: Wed, 14 Nov 2012 15:12:54 +0000 [thread overview]
Message-ID: <4d134063-467e-4ae9-9070-e45d5dc11c36@CH1EHSMHS010.ehs.local> (raw)
In-Reply-To: <20121113220257.GN1718@beefymiracle.amer.corp.natinst.com>
> -----Original Message-----
> From: Josh Cartwright [mailto:josh.cartwright@ni.com]
> Sent: Tuesday, November 13, 2012 11:03 PM
> To: Soren Brinkmann; Michal Simek
> Cc: Mike Turquette; Rob Herring; linux-kernel@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; John Linn; arm@kernel.org
> Subject: Re: [PATCH v2 2/5] clk: Add support for fundamental zynq clks
>
> 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.
No problem with that.
thanks,
Michal
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
next prev parent reply other threads:[~2012-11-14 15:13 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
2012-11-14 15:12 ` Michal Simek [this message]
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=4d134063-467e-4ae9-9070-e45d5dc11c36@CH1EHSMHS010.ehs.local \
--to=michal.simek@xilinx.com \
--cc=arm@kernel.org \
--cc=josh.cartwright@ni.com \
--cc=linnj@xilinx.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@ti.com \
--cc=rob.herring@calxeda.com \
--cc=sorenb@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
all inboxes | Powered by JetHome®