linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] clk: renesas: r8a779a0: Add FCP and VSP support
@ 2020-12-16 15:19 Kieran Bingham
  2020-12-16 15:19 ` [PATCH 1/3] clk: renesas: r8a779a0: Add FCPVD clock support Kieran Bingham
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kieran Bingham @ 2020-12-16 15:19 UTC (permalink / raw)
  To: Geert Uytterhoeven, linux-renesas-soc, Michael Turquette,
	Stephen Boyd, linux-clk
  Cc: Kieran Bingham

Provide clocks for the FCP and VSP-{X,D} modules on the V3U.

There are also corresponding FCPvX for fcpvx{0,1,2,3} in register 11;
however I have not been able to ascertain the clock domains for those so
they are not included in this series.


Kieran Bingham (3):
  clk: renesas: r8a779a0: Add FCPVD clock support
  clk: renesas: r8a779a0: Add VSPD clock support
  clk: renesas: r8a779a0: Add VSPX clock support

 drivers/clk/renesas/r8a779a0-cpg-mssr.c | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] clk: renesas: r8a779a0: Add FCPVD clock support
  2020-12-16 15:19 [PATCH 0/3] clk: renesas: r8a779a0: Add FCP and VSP support Kieran Bingham
@ 2020-12-16 15:19 ` Kieran Bingham
  2020-12-18 13:29   ` Geert Uytterhoeven
  2020-12-16 15:19 ` [PATCH 2/3] clk: renesas: r8a779a0: Add VSPD " Kieran Bingham
  2020-12-16 15:19 ` [PATCH 3/3] clk: renesas: r8a779a0: Add VSPX " Kieran Bingham
  2 siblings, 1 reply; 7+ messages in thread
From: Kieran Bingham @ 2020-12-16 15:19 UTC (permalink / raw)
  To: Geert Uytterhoeven, linux-renesas-soc, Michael Turquette,
	Stephen Boyd, linux-clk
  Cc: Kieran Bingham

Add clocks for the FCP for VSP-D module.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 drivers/clk/renesas/r8a779a0-cpg-mssr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/renesas/r8a779a0-cpg-mssr.c b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
index aa5389b04d74..8160f41191b2 100644
--- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
@@ -152,6 +152,8 @@ static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
 	DEF_MOD("csi41",	400,	R8A779A0_CLK_CSI0),
 	DEF_MOD("csi42",	401,	R8A779A0_CLK_CSI0),
 	DEF_MOD("csi43",	402,	R8A779A0_CLK_CSI0),
+	DEF_MOD("fcpvd0",	508,	R8A779A0_CLK_S3D1),
+	DEF_MOD("fcpvd1",	509,	R8A779A0_CLK_S3D1),
 	DEF_MOD("scif0",	702,	R8A779A0_CLK_S1D8),
 	DEF_MOD("scif1",	703,	R8A779A0_CLK_S1D8),
 	DEF_MOD("scif3",	704,	R8A779A0_CLK_S1D8),
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] clk: renesas: r8a779a0: Add VSPD clock support
  2020-12-16 15:19 [PATCH 0/3] clk: renesas: r8a779a0: Add FCP and VSP support Kieran Bingham
  2020-12-16 15:19 ` [PATCH 1/3] clk: renesas: r8a779a0: Add FCPVD clock support Kieran Bingham
@ 2020-12-16 15:19 ` Kieran Bingham
  2020-12-18 13:29   ` Geert Uytterhoeven
  2020-12-16 15:19 ` [PATCH 3/3] clk: renesas: r8a779a0: Add VSPX " Kieran Bingham
  2 siblings, 1 reply; 7+ messages in thread
From: Kieran Bingham @ 2020-12-16 15:19 UTC (permalink / raw)
  To: Geert Uytterhoeven, linux-renesas-soc, Michael Turquette,
	Stephen Boyd, linux-clk
  Cc: Kieran Bingham

Add clocks for the VSPD modules on the V3U.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 drivers/clk/renesas/r8a779a0-cpg-mssr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/renesas/r8a779a0-cpg-mssr.c b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
index 8160f41191b2..2ce31508db73 100644
--- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
@@ -190,6 +190,8 @@ static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
 	DEF_MOD("vin35",	827,	R8A779A0_CLK_S1D1),
 	DEF_MOD("vin36",	828,	R8A779A0_CLK_S1D1),
 	DEF_MOD("vin37",	829,	R8A779A0_CLK_S1D1),
+	DEF_MOD("vspd0",	830,	R8A779A0_CLK_S3D1),
+	DEF_MOD("vspd1",	831,	R8A779A0_CLK_S3D1),
 };
 
 static spinlock_t cpg_lock;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] clk: renesas: r8a779a0: Add VSPX clock support
  2020-12-16 15:19 [PATCH 0/3] clk: renesas: r8a779a0: Add FCP and VSP support Kieran Bingham
  2020-12-16 15:19 ` [PATCH 1/3] clk: renesas: r8a779a0: Add FCPVD clock support Kieran Bingham
  2020-12-16 15:19 ` [PATCH 2/3] clk: renesas: r8a779a0: Add VSPD " Kieran Bingham
@ 2020-12-16 15:19 ` Kieran Bingham
  2020-12-18 13:30   ` Geert Uytterhoeven
  2 siblings, 1 reply; 7+ messages in thread
From: Kieran Bingham @ 2020-12-16 15:19 UTC (permalink / raw)
  To: Geert Uytterhoeven, linux-renesas-soc, Michael Turquette,
	Stephen Boyd, linux-clk
  Cc: Kieran Bingham

Add clocks for the VSPX.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 drivers/clk/renesas/r8a779a0-cpg-mssr.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/clk/renesas/r8a779a0-cpg-mssr.c b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
index 2ce31508db73..d7825adcb19d 100644
--- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
@@ -192,6 +192,10 @@ static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
 	DEF_MOD("vin37",	829,	R8A779A0_CLK_S1D1),
 	DEF_MOD("vspd0",	830,	R8A779A0_CLK_S3D1),
 	DEF_MOD("vspd1",	831,	R8A779A0_CLK_S3D1),
+	DEF_MOD("vspx0",	1028,	R8A779A0_CLK_S1D1),
+	DEF_MOD("vspx1",	1029,	R8A779A0_CLK_S1D1),
+	DEF_MOD("vspx2",	1030,	R8A779A0_CLK_S1D1),
+	DEF_MOD("vspx3",	1031,	R8A779A0_CLK_S1D1),
 };
 
 static spinlock_t cpg_lock;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] clk: renesas: r8a779a0: Add FCPVD clock support
  2020-12-16 15:19 ` [PATCH 1/3] clk: renesas: r8a779a0: Add FCPVD clock support Kieran Bingham
@ 2020-12-18 13:29   ` Geert Uytterhoeven
  0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2020-12-18 13:29 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: Linux-Renesas, Michael Turquette, Stephen Boyd, linux-clk

On Wed, Dec 16, 2020 at 4:19 PM Kieran Bingham
<kieran.bingham+renesas@ideasonboard.com> wrote:
> Add clocks for the FCP for VSP-D module.
>
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

Let's trust the BSP on the parent clocks...

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-clk-for-v5.12.

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] 7+ messages in thread

* Re: [PATCH 2/3] clk: renesas: r8a779a0: Add VSPD clock support
  2020-12-16 15:19 ` [PATCH 2/3] clk: renesas: r8a779a0: Add VSPD " Kieran Bingham
@ 2020-12-18 13:29   ` Geert Uytterhoeven
  0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2020-12-18 13:29 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: Linux-Renesas, Michael Turquette, Stephen Boyd, linux-clk

On Wed, Dec 16, 2020 at 4:19 PM Kieran Bingham
<kieran.bingham+renesas@ideasonboard.com> wrote:
> Add clocks for the VSPD modules on the V3U.
>
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

In BSP we trust (for the parent clocks)...

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-clk-for-v5.12.

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] 7+ messages in thread

* Re: [PATCH 3/3] clk: renesas: r8a779a0: Add VSPX clock support
  2020-12-16 15:19 ` [PATCH 3/3] clk: renesas: r8a779a0: Add VSPX " Kieran Bingham
@ 2020-12-18 13:30   ` Geert Uytterhoeven
  0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2020-12-18 13:30 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: Linux-Renesas, Michael Turquette, Stephen Boyd, linux-clk

On Wed, Dec 16, 2020 at 4:19 PM Kieran Bingham
<kieran.bingham+renesas@ideasonboard.com> wrote:
> Add clocks for the VSPX.
>
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

Let's trust the BSP on the parent clocks...

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-clk-for-v5.12.

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] 7+ messages in thread

end of thread, other threads:[~2020-12-18 13:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 15:19 [PATCH 0/3] clk: renesas: r8a779a0: Add FCP and VSP support Kieran Bingham
2020-12-16 15:19 ` [PATCH 1/3] clk: renesas: r8a779a0: Add FCPVD clock support Kieran Bingham
2020-12-18 13:29   ` Geert Uytterhoeven
2020-12-16 15:19 ` [PATCH 2/3] clk: renesas: r8a779a0: Add VSPD " Kieran Bingham
2020-12-18 13:29   ` Geert Uytterhoeven
2020-12-16 15:19 ` [PATCH 3/3] clk: renesas: r8a779a0: Add VSPX " Kieran Bingham
2020-12-18 13:30   ` Geert Uytterhoeven

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).