* [PATCH 1/1] clk: renesas: cpg-mssr: r8a7795: add IMR clocks
@ 2017-02-13 21:06 Sergei Shtylyov
2017-02-15 8:31 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Sergei Shtylyov @ 2017-02-13 21:06 UTC (permalink / raw)
To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd, linux-clk,
linux-renesas-soc
Cc: Konstantin Kozhevnikov, Sergei Shtylyov
Add the IMR[0-3] clocks to the R8A7795 CPG/MSSR driver.
Based on the original (and large) patch by Konstantin Kozhevnikov
<Konstantin.Kozhevnikov@cogentembedded.com>.
Signed-off-by: Konstantin Kozhevnikov <Konstantin.Kozhevnikov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'clk-next' branch of CLK group's 'linux.git' repo.
drivers/clk/renesas/r8a7795-cpg-mssr.c | 4 ++++
1 file changed, 4 insertions(+)
Index: linux/drivers/clk/renesas/r8a7795-cpg-mssr.c
===================================================================
--- linux.orig/drivers/clk/renesas/r8a7795-cpg-mssr.c
+++ linux/drivers/clk/renesas/r8a7795-cpg-mssr.c
@@ -208,6 +208,10 @@ static const struct mssr_mod_clk r8a7795
DEF_MOD("vin0", 811, R8A7795_CLK_S2D1),
DEF_MOD("etheravb", 812, R8A7795_CLK_S3D2),
DEF_MOD("sata0", 815, R8A7795_CLK_S3D2),
+ DEF_MOD("imr3", 820, R8A7795_CLK_S2D1),
+ DEF_MOD("imr2", 821, R8A7795_CLK_S2D1),
+ DEF_MOD("imr1", 822, R8A7795_CLK_S2D1),
+ DEF_MOD("imr0", 823, R8A7795_CLK_S2D1),
DEF_MOD("gpio7", 905, R8A7795_CLK_CP),
DEF_MOD("gpio6", 906, R8A7795_CLK_CP),
DEF_MOD("gpio5", 907, R8A7795_CLK_CP),
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH 1/1] clk: renesas: cpg-mssr: r8a7795: add IMR clocks
2017-02-13 21:06 [PATCH 1/1] clk: renesas: cpg-mssr: r8a7795: add IMR clocks Sergei Shtylyov
@ 2017-02-15 8:31 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2017-02-15 8:31 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Geert Uytterhoeven, Michael Turquette, Stephen Boyd, linux-clk,
Linux-Renesas, Konstantin Kozhevnikov
On Mon, Feb 13, 2017 at 10:06 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add the IMR[0-3] clocks to the R8A7795 CPG/MSSR driver.
>
> Based on the original (and large) patch by Konstantin Kozhevnikov
> <Konstantin.Kozhevnikov@cogentembedded.com>.
>
> Signed-off-by: Konstantin Kozhevnikov <Konstantin.Kozhevnikov@cogentembedded.com>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
I cannot verify the parent clocks for H3 ES1.x, but they match the parent clocks
for the VSPs.
Will queue in clk-renesas-for-v4.12.
> ---
> This patch is against the 'clk-next' branch of CLK group's 'linux.git' repo.
>
> drivers/clk/renesas/r8a7795-cpg-mssr.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> Index: linux/drivers/clk/renesas/r8a7795-cpg-mssr.c
> ===================================================================
> --- linux.orig/drivers/clk/renesas/r8a7795-cpg-mssr.c
> +++ linux/drivers/clk/renesas/r8a7795-cpg-mssr.c
> @@ -208,6 +208,10 @@ static const struct mssr_mod_clk r8a7795
> DEF_MOD("vin0", 811, R8A7795_CLK_S2D1),
> DEF_MOD("etheravb", 812, R8A7795_CLK_S3D2),
> DEF_MOD("sata0", 815, R8A7795_CLK_S3D2),
> + DEF_MOD("imr3", 820, R8A7795_CLK_S2D1),
> + DEF_MOD("imr2", 821, R8A7795_CLK_S2D1),
> + DEF_MOD("imr1", 822, R8A7795_CLK_S2D1),
> + DEF_MOD("imr0", 823, R8A7795_CLK_S2D1),
> DEF_MOD("gpio7", 905, R8A7795_CLK_CP),
> DEF_MOD("gpio6", 906, R8A7795_CLK_CP),
> DEF_MOD("gpio5", 907, R8A7795_CLK_CP),
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-15 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 21:06 [PATCH 1/1] clk: renesas: cpg-mssr: r8a7795: add IMR clocks Sergei Shtylyov
2017-02-15 8:31 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox