linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH/RFC 05/10] arm64: dts: r8a7795: add clock for EthernetAVB
Date: Wed, 02 Sep 2015 02:01:08 +0000	[thread overview]
Message-ID: <20150902020108.GA12080@verge.net.au> (raw)
In-Reply-To: <1440667450-3513-6-git-send-email-horms+renesas@verge.net.au>

On Thu, Aug 27, 2015 at 01:11:02PM +0200, Geert Uytterhoeven wrote:
> Hi Simon, Mizuguchi-san,
> 
> On Thu, Aug 27, 2015 at 11:24 AM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
> >
> > Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
> > [horms: updated p_clk to s3d4_clk; moved to clock node; updated changelog;
> >         use R8A7795 as prefix for clock defines]
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> > ---
> >  arch/arm64/boot/dts/renesas/r8a7795.dtsi  | 11 +++++++++++
> >  include/dt-bindings/clock/r8a7795-clock.h |  1 +
> >  2 files changed, 12 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> > index a608eb92a172..0b435d8274e4 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> > @@ -227,6 +227,16 @@
> >                                         clock-output-names = "hsusb", "ehci0", "ehci1", "ehci2";
> >                                 };
> >
> > +                               mstp8_clks: mstp8_clks@e6150990 {
> > +                                       compatible = "renesas,r8a7795-mstp-clocks",
> > +                                                    "renesas,cpg-mstp-clocks";
> > +                                       reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
> > +                                       clocks =  <&s3d4_clk>;
> 
> According to the datasheet, this should be s3d2 on H3.

Thanks.

> > +                                       #clock-cells = <1>;
> > +                                       renesas,clock-indices = <R8A7795_CLK_AVB>;
> 
> The datasheet calls this "EAVB-IF", so I'd go for "R8A7795_CLK_EAVB".

I plan to go with with R8A7795_CLK_ETHERAVB for consistency with the r8a7790.

> 
> > +                                       clock-output-names = "avb";
> > +                               };
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> 

      parent reply	other threads:[~2015-09-02  2:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27  9:24 [PATCH/RFC 05/10] arm64: dts: r8a7795: add clock for EthernetAVB Simon Horman
2015-08-27 10:44 ` Sergei Shtylyov
2015-08-27 11:11 ` Geert Uytterhoeven
2015-08-27 23:47 ` Kuninori Morimoto
2015-08-28  2:23 ` Simon Horman
2015-08-28  2:23 ` Simon Horman
2015-08-28  7:42 ` Geert Uytterhoeven
2015-09-02  2:01 ` Simon Horman [this message]

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=20150902020108.GA12080@verge.net.au \
    --to=horms@verge.net.au \
    --cc=linux-sh@vger.kernel.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).