This patch adds the DAB clock to the R8A77990 SoC.
Signed-off-by: Fabrizio Castro <[email protected]>
---
drivers/clk/renesas/r8a77990-cpg-mssr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/drivers/clk/renesas/r8a77990-cpg-mssr.c
index 2d172f80b34c..a582f2ec3294 100644
--- a/drivers/clk/renesas/r8a77990-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c
@@ -232,6 +232,7 @@ static const struct mssr_mod_clk r8a77990_mod_clks[] __initconst = {
DEF_MOD("ssi2", 1013, MOD_CLK_ID(1005)),
DEF_MOD("ssi1", 1014, MOD_CLK_ID(1005)),
DEF_MOD("ssi0", 1015, MOD_CLK_ID(1005)),
+ DEF_MOD("dab", 1016, R8A77990_CLK_S3D1),
DEF_MOD("scu-all", 1017, R8A77990_CLK_S3D4),
DEF_MOD("scu-dvc1", 1018, MOD_CLK_ID(1017)),
DEF_MOD("scu-dvc0", 1019, MOD_CLK_ID(1017)),
--
2.25.1
Hi Fabrizio,
On Thu, Feb 25, 2021 at 11:52 PM Fabrizio Castro
<[email protected]> wrote:
> This patch adds the DAB clock to the R8A77990 SoC.
>
> Signed-off-by: Fabrizio Castro <[email protected]>
Thanks for your patch!
> --- a/drivers/clk/renesas/r8a77990-cpg-mssr.c
> +++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c
> @@ -232,6 +232,7 @@ static const struct mssr_mod_clk r8a77990_mod_clks[] __initconst = {
> DEF_MOD("ssi2", 1013, MOD_CLK_ID(1005)),
> DEF_MOD("ssi1", 1014, MOD_CLK_ID(1005)),
> DEF_MOD("ssi0", 1015, MOD_CLK_ID(1005)),
> + DEF_MOD("dab", 1016, R8A77990_CLK_S3D1),
Unfortunately this bit is not documented in the R-Car Gen3 Hardware
User's Manual, so I have to trust you on this.
> DEF_MOD("scu-all", 1017, R8A77990_CLK_S3D4),
> DEF_MOD("scu-dvc1", 1018, MOD_CLK_ID(1017)),
> DEF_MOD("scu-dvc0", 1019, MOD_CLK_ID(1017)),
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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
Hi Geert,
Thanks for your feedback!
> From: Geert Uytterhoeven <[email protected]>
> Sent: 26 February 2021 08:35
> Subject: Re: [PATCH 1/7] clk: renesas: r8a77990: Add DAB clock
>
> Hi Fabrizio,
>
> On Thu, Feb 25, 2021 at 11:52 PM Fabrizio Castro
> <[email protected]> wrote:
> > This patch adds the DAB clock to the R8A77990 SoC.
> >
> > Signed-off-by: Fabrizio Castro <[email protected]>
>
> Thanks for your patch!
>
> > --- a/drivers/clk/renesas/r8a77990-cpg-mssr.c
> > +++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c
> > @@ -232,6 +232,7 @@ static const struct mssr_mod_clk r8a77990_mod_clks[]
> __initconst = {
> > DEF_MOD("ssi2", 1013, MOD_CLK_ID(1005)),
> > DEF_MOD("ssi1", 1014, MOD_CLK_ID(1005)),
> > DEF_MOD("ssi0", 1015, MOD_CLK_ID(1005)),
> > + DEF_MOD("dab", 1016, R8A77990_CLK_S3D1),
>
> Unfortunately this bit is not documented in the R-Car Gen3 Hardware
> User's Manual, so I have to trust you on this.
Yeah, unfortunately there is no official document with this information
as of yet.
Cheers,
Fab
>
> > DEF_MOD("scu-all", 1017, R8A77990_CLK_S3D4),
> > DEF_MOD("scu-dvc1", 1018, MOD_CLK_ID(1017)),
> > DEF_MOD("scu-dvc0", 1019, MOD_CLK_ID(1017)),
>
> 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
Hi Geert,
> From: Fabrizio Castro <[email protected]>
> Sent: 01 March 2021 14:47
> Subject: RE: [PATCH 1/7] clk: renesas: r8a77990: Add DAB clock
>
> Hi Geert,
>
> Thanks for your feedback!
>
> > From: Geert Uytterhoeven <[email protected]>
> > Sent: 26 February 2021 08:35
> > Subject: Re: [PATCH 1/7] clk: renesas: r8a77990: Add DAB clock
> >
> > Hi Fabrizio,
> >
> > On Thu, Feb 25, 2021 at 11:52 PM Fabrizio Castro
> > <[email protected]> wrote:
> > > This patch adds the DAB clock to the R8A77990 SoC.
> > >
> > > Signed-off-by: Fabrizio Castro <[email protected]>
> >
> > Thanks for your patch!
> >
> > > --- a/drivers/clk/renesas/r8a77990-cpg-mssr.c
> > > +++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c
> > > @@ -232,6 +232,7 @@ static const struct mssr_mod_clk
> r8a77990_mod_clks[]
> > __initconst = {
> > > DEF_MOD("ssi2", 1013, MOD_CLK_ID(1005)),
> > > DEF_MOD("ssi1", 1014, MOD_CLK_ID(1005)),
> > > DEF_MOD("ssi0", 1015, MOD_CLK_ID(1005)),
> > > + DEF_MOD("dab", 1016, R8A77990_CLK_S3D1),
> >
> > Unfortunately this bit is not documented in the R-Car Gen3 Hardware
> > User's Manual, so I have to trust you on this.
>
> Yeah, unfortunately there is no official document with this information
> as of yet.
I think this patch is worth taking.
Thanks,
Fab
>
> Cheers,
> Fab
>
> >
> > > DEF_MOD("scu-all", 1017, R8A77990_CLK_S3D4),
> > > DEF_MOD("scu-dvc1", 1018, MOD_CLK_ID(1017)),
> > > DEF_MOD("scu-dvc0", 1019, MOD_CLK_ID(1017)),
> >
> > 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