[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdUnQLKZhAvaOJKeoG7yF0kG14LX20KqehadH-gbW1B9_g@mail.gmail.com>
Date: Wed, 12 Jan 2022 11:16:36 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Ulrich Hecht <uli@...nd.eu>
Cc: Ulrich Hecht <uli+renesas@...nd.eu>,
Linux-Renesas <linux-renesas-soc@...r.kernel.org>,
netdev <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>, linux-can@...r.kernel.org,
"Lad, Prabhakar" <prabhakar.mahadev-lad.rj@...renesas.com>,
Biju Das <biju.das.jz@...renesas.com>,
Wolfram Sang <wsa@...nel.org>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
Wolfgang Grandegger <wg@...ndegger.com>,
Marc Kleine-Budde <mkl@...gutronix.de>,
Jakub Kicinski <kuba@...nel.org>, mailhol.vincent@...adoo.fr,
socketcan@...tkopp.net,
Kieran Bingham <kieran.bingham@...asonboard.com>
Subject: Re: [PATCH v2 1/5] clk: renesas: r8a779a0: add CANFD module clock
Hi Uli,
On Wed, Jan 12, 2022 at 9:56 AM Ulrich Hecht <uli@...nd.eu> wrote:
> > On 01/12/2022 9:44 AM Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
> > > --- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c
> > > +++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
> > > @@ -136,6 +136,7 @@ static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
> > > DEF_MOD("avb3", 214, R8A779A0_CLK_S3D2),
> > > DEF_MOD("avb4", 215, R8A779A0_CLK_S3D2),
> > > DEF_MOD("avb5", 216, R8A779A0_CLK_S3D2),
> > > + DEF_MOD("canfd0", 328, R8A779A0_CLK_CANFD),
> >
> > The datasheet calls this "canfd".
> >
> > > DEF_MOD("csi40", 331, R8A779A0_CLK_CSI0),
> > > DEF_MOD("csi41", 400, R8A779A0_CLK_CSI0),
> > > DEF_MOD("csi42", 401, R8A779A0_CLK_CSI0),
> >
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
> > i.e. will queue in renesas-clk-for-v5.18 with the above fixed.
>
> Don't do that! There already is a DIV4 clock called "canfd", and using that name twice breaks stuff. The BSP calls this clock "can-fd" for that reason.
Thanks, I stand corrected.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-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
Powered by blists - more mailing lists