From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Mike Turquette <mturquette@linaro.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Linux-sh list <linux-sh@vger.kernel.org>,
Pavel Kiryukhin <vksavl@gmail.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH] clk-rcar-gen2: RCAN clock support
Date: Fri, 05 Sep 2014 13:33:28 +0000 [thread overview]
Message-ID: <5409BBA8.8080202@cogentembedded.com> (raw)
In-Reply-To: <CAMuHMdU0GJyYiP8NkELZia00gzKMmVRQ+1YwWCrFRLQytJ6YPw@mail.gmail.com>
Hello.
On 09/05/2014 01:03 PM, Geert Uytterhoeven wrote:
>>> Add RCAN clock support to the R-Car generation 2 CPG driver. This clock
>>> gets
>>> derived from the USB_EXTAL clock by dividing it by 6. The layout of
>>> RCANCKCR
>>> register is close to those of the clocks supported by the 'clk-div6'
>>> driver
>>> but has no divider field, and so can't be supported by that driver...
>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>> ---
>>> The patch is against the 'clk-next' branch of Mike Turquette's 'linux.git'
>>> repo.
>>> drivers/clk/shmobile/clk-rcar-gen2.c | 99
>>> +++++++++++++++++++++++++++++++++++
>>> 1 file changed, 99 insertions(+)
>> More than a months has passed, there hasn't been any feedback, patch
>> hasn't been applied... what's wrong with it?
> Sorry for missing this, it went under my radar.
> I'm not a clock expert (pulling in Laurent), but it looks fine to me.
> I'm just wondering whether you can simplify the code by using clk-gate?
The gated clocks inherit their clock rate from the parent, while the RCAN
clock has a fixed divisor (6). I'm gonna look into composite clocks instead.
> Gr{oetje,eeting}s,
> Geert
WBR, Sergei
next prev parent reply other threads:[~2014-09-05 13:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 20:23 [PATCH] clk-rcar-gen2: RCAN clock support Sergei Shtylyov
2014-09-03 19:57 ` Sergei Shtylyov
2014-09-05 9:03 ` Geert Uytterhoeven
2014-09-05 9:17 ` Geert Uytterhoeven
2014-09-05 15:47 ` Sergei Shtylyov
2014-09-05 13:33 ` Sergei Shtylyov [this message]
2014-09-10 10:36 ` Laurent Pinchart
2014-12-23 22:59 ` Sergei Shtylyov
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=5409BBA8.8080202@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=geert@linux-m68k.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=vksavl@gmail.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;
as well as URLs for NNTP newsgroup(s).