linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] clk: renesas: Miscellaneous fixes
@ 2018-11-29 10:49 Geert Uytterhoeven
  2018-11-29 10:49 ` [PATCH 01/13] dt-bindings: clock: r8a7795: Remove CSIREF clock Geert Uytterhoeven
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:49 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

	Hi Mike, Stephen, Laurent, Kieran,

This patch series contains several fixes for the Renesas Clock drivers
and DT bindings, and a small simplification:
  - Removal of non-existent clocks,
  - Addition of the CPEX clocks, which can be used a source for a timer
    (CMT1),
  - Correction of DU parent clocks.
Most of these have been found by skimming the Hardware Manual Errata.

This has been boot-tested on Salvator-X(S) (R-Car H3, M3-W, M3-N), Eagle
(R-Car V3M), and Draak (R-Car D3), except for the DU parts.
Testing of the DU on R-Car D3 and E3 would be appreciated, as the DU
driver may have a workaround for the incorrect parent clock rates.

I intend to queue this in clk-renesas-for-v4.21.

Thanks!

Geert Uytterhoeven (12):
  dt-bindings: clock: r8a7795: Remove CSIREF clock
  dt-bindings: clock: r8a7796: Remove CSIREF clock
  clk: renesas: r8a774a1: Add CPEX clock
  clk: renesas: r8a7795: Add CPEX clock
  clk: renesas: r8a7796: Add CPEX clock
  clk: renesas: r8a77965: Add CPEX clock
  clk: renesas: r8a77970: Add CPEX clock
  clk: renesas: r8a77995: Correct parent clock of DU
  clk: renesas: r8a77995: Remove non-existent VIN5-7 module clocks
  clk: renesas: r8a77995: Remove non-existent SSP clocks
  clk: renesas: r8a77995: Add missing CPEX clock
  clk: renesas: r8a77995: Simplify PLL3 multiplier/divider

Takeshi Kihara (1):
  clk: renesas: r8a77990: Correct parent clock of DU

 drivers/clk/renesas/r8a774a1-cpg-mssr.c       |  1 +
 drivers/clk/renesas/r8a7795-cpg-mssr.c        |  1 +
 drivers/clk/renesas/r8a7796-cpg-mssr.c        |  1 +
 drivers/clk/renesas/r8a77965-cpg-mssr.c       |  1 +
 drivers/clk/renesas/r8a77970-cpg-mssr.c       |  1 +
 drivers/clk/renesas/r8a77990-cpg-mssr.c       |  4 ++--
 drivers/clk/renesas/r8a77995-cpg-mssr.c       | 15 ++++++---------
 include/dt-bindings/clock/r8a7795-cpg-mssr.h  |  2 +-
 include/dt-bindings/clock/r8a7796-cpg-mssr.h  |  2 +-
 include/dt-bindings/clock/r8a77995-cpg-mssr.h |  5 +++--
 10 files changed, 18 insertions(+), 15 deletions(-)

-- 
2.17.1

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

* [PATCH 01/13] dt-bindings: clock: r8a7795: Remove CSIREF clock
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
@ 2018-11-29 10:49 ` Geert Uytterhoeven
  2018-11-29 10:49 ` [PATCH 02/13] dt-bindings: clock: r8a7796: " Geert Uytterhoeven
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:49 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

The R-Car Gen3 HardWare Manual Errata for Rev. 0.52 (Nov 30, 2016)
removed the CSI reference clock on R-Car H3.

As this definition was never used, it can just be removed.
The freed slot in the DT bindings header must not be reused, though.

Fixes: 9d0c3c682033d3f1 ("clk: shmobile: Add r8a7795 CPG Core Clock Definitions")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 include/dt-bindings/clock/r8a7795-cpg-mssr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dt-bindings/clock/r8a7795-cpg-mssr.h b/include/dt-bindings/clock/r8a7795-cpg-mssr.h
index 9483896415654706..92b3e2a95179d25c 100644
--- a/include/dt-bindings/clock/r8a7795-cpg-mssr.h
+++ b/include/dt-bindings/clock/r8a7795-cpg-mssr.h
@@ -50,7 +50,7 @@
 #define R8A7795_CLK_CANFD		39
 #define R8A7795_CLK_HDMI		40
 #define R8A7795_CLK_CSI0		41
-#define R8A7795_CLK_CSIREF		42
+/* CLK_CSIREF was removed */
 #define R8A7795_CLK_CP			43
 #define R8A7795_CLK_CPEX		44
 #define R8A7795_CLK_R			45
-- 
2.17.1


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

* [PATCH 02/13] dt-bindings: clock: r8a7796: Remove CSIREF clock
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
  2018-11-29 10:49 ` [PATCH 01/13] dt-bindings: clock: r8a7795: Remove CSIREF clock Geert Uytterhoeven
@ 2018-11-29 10:49 ` Geert Uytterhoeven
  2018-11-29 10:49 ` [PATCH 03/13] clk: renesas: r8a774a1: Add CPEX clock Geert Uytterhoeven
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:49 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

The R-Car Gen3 HardWare Manual Errata for Rev. 0.52 (Nov 30, 2016)
removed the CSI reference clock on R-Car M3-W.

As this definition was never used, it can just be removed.
The freed slot in the DT bindings header must not be reused, though.

Fixes: 972610fb23b08dd5 ("clk: renesas: Add r8a7796 CPG Core Clock Definitions")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 include/dt-bindings/clock/r8a7796-cpg-mssr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dt-bindings/clock/r8a7796-cpg-mssr.h b/include/dt-bindings/clock/r8a7796-cpg-mssr.h
index e6087f2f7e3aff4a..c0957cf458403bfb 100644
--- a/include/dt-bindings/clock/r8a7796-cpg-mssr.h
+++ b/include/dt-bindings/clock/r8a7796-cpg-mssr.h
@@ -56,7 +56,7 @@
 #define R8A7796_CLK_CANFD		45
 #define R8A7796_CLK_HDMI		46
 #define R8A7796_CLK_CSI0		47
-#define R8A7796_CLK_CSIREF		48
+/* CLK_CSIREF was removed */
 #define R8A7796_CLK_CP			49
 #define R8A7796_CLK_CPEX		50
 #define R8A7796_CLK_R			51
-- 
2.17.1


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

* [PATCH 03/13] clk: renesas: r8a774a1: Add CPEX clock
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
  2018-11-29 10:49 ` [PATCH 01/13] dt-bindings: clock: r8a7795: Remove CSIREF clock Geert Uytterhoeven
  2018-11-29 10:49 ` [PATCH 02/13] dt-bindings: clock: r8a7796: " Geert Uytterhoeven
@ 2018-11-29 10:49 ` Geert Uytterhoeven
  2018-11-29 10:49 ` [PATCH 04/13] clk: renesas: r8a7795: " Geert Uytterhoeven
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:49 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

Implement support for the CPEX clock on RZ/G2M.  This clock can be
selected as a clock source for CMT1 (Compare Match Timer Type 1).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a774a1-cpg-mssr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/renesas/r8a774a1-cpg-mssr.c b/drivers/clk/renesas/r8a774a1-cpg-mssr.c
index b0da34217bdf428e..10e852518870c9ab 100644
--- a/drivers/clk/renesas/r8a774a1-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a774a1-cpg-mssr.c
@@ -100,6 +100,7 @@ static const struct cpg_core_clk r8a774a1_core_clks[] __initconst = {
 
 	DEF_FIXED("cl",         R8A774A1_CLK_CL,    CLK_PLL1_DIV2, 48, 1),
 	DEF_FIXED("cp",         R8A774A1_CLK_CP,    CLK_EXTAL,      2, 1),
+	DEF_FIXED("cpex",       R8A774A1_CLK_CPEX,  CLK_EXTAL,      2, 1),
 
 	DEF_DIV6P1("csi0",      R8A774A1_CLK_CSI0,  CLK_PLL1_DIV4, 0x00c),
 	DEF_DIV6P1("mso",       R8A774A1_CLK_MSO,   CLK_PLL1_DIV4, 0x014),
-- 
2.17.1


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

* [PATCH 04/13] clk: renesas: r8a7795: Add CPEX clock
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (2 preceding siblings ...)
  2018-11-29 10:49 ` [PATCH 03/13] clk: renesas: r8a774a1: Add CPEX clock Geert Uytterhoeven
@ 2018-11-29 10:49 ` Geert Uytterhoeven
  2018-11-29 10:50 ` [PATCH 05/13] clk: renesas: r8a7796: " Geert Uytterhoeven
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:49 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

Implement support for the CPEX clock on R-Car H3.  This clock can be
selected as a clock source for CMT1 (Compare Match Timer Type 1).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a7795-cpg-mssr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/renesas/r8a7795-cpg-mssr.c b/drivers/clk/renesas/r8a7795-cpg-mssr.c
index 119c024407263568..86842c9fd314e924 100644
--- a/drivers/clk/renesas/r8a7795-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a7795-cpg-mssr.c
@@ -104,6 +104,7 @@ static struct cpg_core_clk r8a7795_core_clks[] __initdata = {
 	DEF_FIXED("cl",         R8A7795_CLK_CL,    CLK_PLL1_DIV2, 48, 1),
 	DEF_FIXED("cr",         R8A7795_CLK_CR,    CLK_PLL1_DIV4,  2, 1),
 	DEF_FIXED("cp",         R8A7795_CLK_CP,    CLK_EXTAL,      2, 1),
+	DEF_FIXED("cpex",       R8A7795_CLK_CPEX,  CLK_EXTAL,      2, 1),
 
 	DEF_DIV6P1("canfd",     R8A7795_CLK_CANFD, CLK_PLL1_DIV4, 0x244),
 	DEF_DIV6P1("csi0",      R8A7795_CLK_CSI0,  CLK_PLL1_DIV4, 0x00c),
-- 
2.17.1


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

* [PATCH 05/13] clk: renesas: r8a7796: Add CPEX clock
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (3 preceding siblings ...)
  2018-11-29 10:49 ` [PATCH 04/13] clk: renesas: r8a7795: " Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 10:50 ` [PATCH 06/13] clk: renesas: r8a77965: " Geert Uytterhoeven
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

Implement support for the CPEX clock on R-Car M3-W.  This clock can be
selected as a clock source for CMT1 (Compare Match Timer Type 1).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a7796-cpg-mssr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-mssr.c
index 10567386e6dd83eb..12c455859f2c28f2 100644
--- a/drivers/clk/renesas/r8a7796-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a7796-cpg-mssr.c
@@ -103,6 +103,7 @@ static const struct cpg_core_clk r8a7796_core_clks[] __initconst = {
 
 	DEF_FIXED("cl",         R8A7796_CLK_CL,    CLK_PLL1_DIV2, 48, 1),
 	DEF_FIXED("cp",         R8A7796_CLK_CP,    CLK_EXTAL,      2, 1),
+	DEF_FIXED("cpex",       R8A7796_CLK_CPEX,  CLK_EXTAL,      2, 1),
 
 	DEF_DIV6P1("canfd",     R8A7796_CLK_CANFD, CLK_PLL1_DIV4, 0x244),
 	DEF_DIV6P1("csi0",      R8A7796_CLK_CSI0,  CLK_PLL1_DIV4, 0x00c),
-- 
2.17.1


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

* [PATCH 06/13] clk: renesas: r8a77965: Add CPEX clock
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (4 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 05/13] clk: renesas: r8a7796: " Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 10:50 ` [PATCH 07/13] clk: renesas: r8a77970: " Geert Uytterhoeven
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

Implement support for the CPEX clock on R-Car M3-N.  This clock can be
selected as a clock source for CMT1 (Compare Match Timer Type 1).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a77965-cpg-mssr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/renesas/r8a77965-cpg-mssr.c b/drivers/clk/renesas/r8a77965-cpg-mssr.c
index 1fcc411502da5e5f..eb1cca58a1e1ff07 100644
--- a/drivers/clk/renesas/r8a77965-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77965-cpg-mssr.c
@@ -100,6 +100,7 @@ static const struct cpg_core_clk r8a77965_core_clks[] __initconst = {
 
 	DEF_FIXED("cl",		R8A77965_CLK_CL,	CLK_PLL1_DIV2,	48, 1),
 	DEF_FIXED("cp",		R8A77965_CLK_CP,	CLK_EXTAL,	2, 1),
+	DEF_FIXED("cpex",	R8A77965_CLK_CPEX,	CLK_EXTAL,	2, 1),
 
 	DEF_DIV6P1("canfd",	R8A77965_CLK_CANFD,	CLK_PLL1_DIV4,	0x244),
 	DEF_DIV6P1("csi0",	R8A77965_CLK_CSI0,	CLK_PLL1_DIV4,	0x00c),
-- 
2.17.1


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

* [PATCH 07/13] clk: renesas: r8a77970: Add CPEX clock
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (5 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 06/13] clk: renesas: r8a77965: " Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 10:50 ` [PATCH 08/13] clk: renesas: r8a77990: Correct parent clock of DU Geert Uytterhoeven
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

Implement support for the CPEX clock on R-Car V3M.  This clock can be
selected as a clock source for CMT1 (Compare Match Timer Type 1).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a77970-cpg-mssr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/renesas/r8a77970-cpg-mssr.c b/drivers/clk/renesas/r8a77970-cpg-mssr.c
index 9d845ebd7355add2..cbed3769a100738d 100644
--- a/drivers/clk/renesas/r8a77970-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77970-cpg-mssr.c
@@ -96,6 +96,7 @@ static const struct cpg_core_clk r8a77970_core_clks[] __initconst = {
 
 	DEF_FIXED("cl",		R8A77970_CLK_CL,    CLK_PLL1_DIV2, 48, 1),
 	DEF_FIXED("cp",		R8A77970_CLK_CP,    CLK_EXTAL,	    2, 1),
+	DEF_FIXED("cpex",	R8A77970_CLK_CPEX,  CLK_EXTAL,	    2, 1),
 
 	DEF_DIV6P1("canfd",	R8A77970_CLK_CANFD, CLK_PLL1_DIV4, 0x244),
 	DEF_DIV6P1("mso",	R8A77970_CLK_MSO,   CLK_PLL1_DIV4, 0x014),
-- 
2.17.1


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

* [PATCH 08/13] clk: renesas: r8a77990: Correct parent clock of DU
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (6 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 07/13] clk: renesas: r8a77970: " Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 12:25   ` Laurent Pinchart
  2018-11-29 10:50 ` [PATCH 09/13] clk: renesas: r8a77995: " Geert Uytterhoeven
                   ` (6 subsequent siblings)
  14 siblings, 1 reply; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Takeshi Kihara, Geert Uytterhoeven

From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

According to the R-Car Gen3 Hardware Manual Rev 1.00, the parent clock
of the DU module clocks on R-Car E3 is S1D1.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Fixes: 3570a2af473789c5 ("clk: renesas: cpg-mssr: Add support for R-Car E3")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a77990-cpg-mssr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/drivers/clk/renesas/r8a77990-cpg-mssr.c
index 9eb80180eea0b1a6..9a278c75c918cfa8 100644
--- a/drivers/clk/renesas/r8a77990-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c
@@ -183,8 +183,8 @@ static const struct mssr_mod_clk r8a77990_mod_clks[] __initconst = {
 	DEF_MOD("ehci0",		 703,	R8A77990_CLK_S3D4),
 	DEF_MOD("hsusb",		 704,	R8A77990_CLK_S3D4),
 	DEF_MOD("csi40",		 716,	R8A77990_CLK_CSI0),
-	DEF_MOD("du1",			 723,	R8A77990_CLK_S2D1),
-	DEF_MOD("du0",			 724,	R8A77990_CLK_S2D1),
+	DEF_MOD("du1",			 723,	R8A77990_CLK_S1D1),
+	DEF_MOD("du0",			 724,	R8A77990_CLK_S1D1),
 	DEF_MOD("lvds",			 727,	R8A77990_CLK_S2D1),
 
 	DEF_MOD("vin5",			 806,	R8A77990_CLK_S1D2),
-- 
2.17.1


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

* [PATCH 09/13] clk: renesas: r8a77995: Correct parent clock of DU
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (7 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 08/13] clk: renesas: r8a77990: Correct parent clock of DU Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 12:28   ` Laurent Pinchart
  2018-11-29 10:50 ` [PATCH 10/13] clk: renesas: r8a77995: Remove non-existent VIN5-7 module clocks Geert Uytterhoeven
                   ` (5 subsequent siblings)
  14 siblings, 1 reply; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

According to the R-Car Gen3 Hardware Manual Rev 1.00, the parent clock
of the DU module clocks on R-Car D3 is S1D1.

Fixes: d71e851d82c6cfe5 ("clk: renesas: cpg-mssr: Add R8A77995 support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a77995-cpg-mssr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c
index 47e60e3dbe05ff18..ad95dc225e9c039a 100644
--- a/drivers/clk/renesas/r8a77995-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c
@@ -146,8 +146,8 @@ static const struct mssr_mod_clk r8a77995_mod_clks[] __initconst = {
 	DEF_MOD("vspbs",		 627,	R8A77995_CLK_S0D1),
 	DEF_MOD("ehci0",		 703,	R8A77995_CLK_S3D2),
 	DEF_MOD("hsusb",		 704,	R8A77995_CLK_S3D2),
-	DEF_MOD("du1",			 723,	R8A77995_CLK_S2D1),
-	DEF_MOD("du0",			 724,	R8A77995_CLK_S2D1),
+	DEF_MOD("du1",			 723,	R8A77995_CLK_S1D1),
+	DEF_MOD("du0",			 724,	R8A77995_CLK_S1D1),
 	DEF_MOD("lvds",			 727,	R8A77995_CLK_S2D1),
 	DEF_MOD("vin7",			 804,	R8A77995_CLK_S1D2),
 	DEF_MOD("vin6",			 805,	R8A77995_CLK_S1D2),
-- 
2.17.1


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

* [PATCH 10/13] clk: renesas: r8a77995: Remove non-existent VIN5-7 module clocks
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (8 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 09/13] clk: renesas: r8a77995: " Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 10:50 ` [PATCH 11/13] clk: renesas: r8a77995: Remove non-existent SSP clocks Geert Uytterhoeven
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

R-Car Gen3 Hardware Manual Errata for Rev 0.80 of February 28, 2018,
removed the module clocks for the Video Input Module (VIN) channels 5-7
on R-Car D3, as they do not exist on this SoC.

Fixes: d71e851d82c6cfe5 ("clk: renesas: cpg-mssr: Add R8A77995 support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a77995-cpg-mssr.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c
index ad95dc225e9c039a..5cbdabc311f73de5 100644
--- a/drivers/clk/renesas/r8a77995-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c
@@ -149,9 +149,6 @@ static const struct mssr_mod_clk r8a77995_mod_clks[] __initconst = {
 	DEF_MOD("du1",			 723,	R8A77995_CLK_S1D1),
 	DEF_MOD("du0",			 724,	R8A77995_CLK_S1D1),
 	DEF_MOD("lvds",			 727,	R8A77995_CLK_S2D1),
-	DEF_MOD("vin7",			 804,	R8A77995_CLK_S1D2),
-	DEF_MOD("vin6",			 805,	R8A77995_CLK_S1D2),
-	DEF_MOD("vin5",			 806,	R8A77995_CLK_S1D2),
 	DEF_MOD("vin4",			 807,	R8A77995_CLK_S1D2),
 	DEF_MOD("etheravb",		 812,	R8A77995_CLK_S3D2),
 	DEF_MOD("imr0",			 823,	R8A77995_CLK_S1D2),
-- 
2.17.1


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

* [PATCH 11/13] clk: renesas: r8a77995: Remove non-existent SSP clocks
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (9 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 10/13] clk: renesas: r8a77995: Remove non-existent VIN5-7 module clocks Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 10:50 ` [PATCH 12/13] clk: renesas: r8a77995: Add missing CPEX clock Geert Uytterhoeven
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

The R-Car Gen3 HardWare Manual Errata for Rev. 0.80 (Dec 22, 2017, and
Feb 28, 2018) removed the SSPSRC, SSP1, and SSP2 clocks on R-Car D3, as
this SoC does not have a Stream and Security Processor.

As these definitions were never used, they can just be removed.
The freed slots in the DT bindings header must not be reused, though.

Fixes: 714c53aa2e2d6d60 ("clk: renesas: Add r8a77995 CPG Core Clock Definitions")
Fixes: d71e851d82c6cfe5 ("clk: renesas: cpg-mssr: Add R8A77995 support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a77995-cpg-mssr.c       | 1 -
 include/dt-bindings/clock/r8a77995-cpg-mssr.h | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c
index 5cbdabc311f73de5..f2636a34c96c08ca 100644
--- a/drivers/clk/renesas/r8a77995-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c
@@ -42,7 +42,6 @@ enum clk_ids {
 	CLK_S2,
 	CLK_S3,
 	CLK_SDSRC,
-	CLK_SSPSRC,
 	CLK_RINT,
 	CLK_OCO,
 
diff --git a/include/dt-bindings/clock/r8a77995-cpg-mssr.h b/include/dt-bindings/clock/r8a77995-cpg-mssr.h
index 1eb11acfa563dbd8..80b3c5ec9118b544 100644
--- a/include/dt-bindings/clock/r8a77995-cpg-mssr.h
+++ b/include/dt-bindings/clock/r8a77995-cpg-mssr.h
@@ -35,8 +35,8 @@
 #define R8A77995_CLK_CRD2		24
 #define R8A77995_CLK_SD0H		25
 #define R8A77995_CLK_SD0		26
-#define R8A77995_CLK_SSP2		27
-#define R8A77995_CLK_SSP1		28
+/* CLK_SSP2 was removed */
+/* CLK_SSP1 was removed */
 #define R8A77995_CLK_RPC		29
 #define R8A77995_CLK_RPCD2		30
 #define R8A77995_CLK_ZA2		31
-- 
2.17.1


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

* [PATCH 12/13] clk: renesas: r8a77995: Add missing CPEX clock
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (10 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 11/13] clk: renesas: r8a77995: Remove non-existent SSP clocks Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 10:50 ` [PATCH 13/13] clk: renesas: r8a77995: Simplify PLL3 multiplier/divider Geert Uytterhoeven
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

The R-Car Gen3 HardWare Manual Errata for Rev. 0.80 (Feb 28, 2018) added
the CPEX clock on R-Car D3.  This clock can be selected as a clock
source for CMT1 (Compare Match Timer Type 1).

Add the missing clock to the DT bindings header, and implement support
for it in the clock driver.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a77995-cpg-mssr.c       | 3 ++-
 include/dt-bindings/clock/r8a77995-cpg-mssr.h | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c
index f2636a34c96c08ca..b9745665731fac7e 100644
--- a/drivers/clk/renesas/r8a77995-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c
@@ -22,7 +22,7 @@
 
 enum clk_ids {
 	/* Core Clock Outputs exported to DT */
-	LAST_DT_CORE_CLK = R8A77995_CLK_CP,
+	LAST_DT_CORE_CLK = R8A77995_CLK_CPEX,
 
 	/* External Input Clocks */
 	CLK_EXTAL,
@@ -92,6 +92,7 @@ static const struct cpg_core_clk r8a77995_core_clks[] __initconst = {
 
 	DEF_FIXED("cl",        R8A77995_CLK_CL,    CLK_PLL1,      48, 1),
 	DEF_FIXED("cp",        R8A77995_CLK_CP,    CLK_EXTAL,      2, 1),
+	DEF_FIXED("cpex",      R8A77995_CLK_CPEX,  CLK_EXTAL,      4, 1),
 
 	DEF_DIV6_RO("osc",     R8A77995_CLK_OSC,   CLK_EXTAL, CPG_RCKCR,  8),
 
diff --git a/include/dt-bindings/clock/r8a77995-cpg-mssr.h b/include/dt-bindings/clock/r8a77995-cpg-mssr.h
index 80b3c5ec9118b544..fd701c4e87cf0e22 100644
--- a/include/dt-bindings/clock/r8a77995-cpg-mssr.h
+++ b/include/dt-bindings/clock/r8a77995-cpg-mssr.h
@@ -49,5 +49,6 @@
 #define R8A77995_CLK_LV0		38
 #define R8A77995_CLK_LV1		39
 #define R8A77995_CLK_CP			40
+#define R8A77995_CLK_CPEX		41
 
 #endif /* __DT_BINDINGS_CLOCK_R8A77995_CPG_MSSR_H__ */
-- 
2.17.1


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

* [PATCH 13/13] clk: renesas: r8a77995: Simplify PLL3 multiplier/divider
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (11 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 12/13] clk: renesas: r8a77995: Add missing CPEX clock Geert Uytterhoeven
@ 2018-11-29 10:50 ` Geert Uytterhoeven
  2018-11-29 12:31 ` [PATCH 00/13] clk: renesas: Miscellaneous fixes Laurent Pinchart
  2018-11-29 21:49 ` Stephen Boyd
  14 siblings, 0 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2018-11-29 10:50 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Laurent Pinchart, Kieran Bingham
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

116/6 can be simplified to 58/3.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a77995-cpg-mssr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c
index b9745665731fac7e..eee3874865a95b1a 100644
--- a/drivers/clk/renesas/r8a77995-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c
@@ -191,14 +191,14 @@ static const unsigned int r8a77995_crit_mod_clks[] __initconst = {
  * MD19		EXTAL (MHz)	PLL0		PLL1		PLL3
  *--------------------------------------------------------------------
  * 0		48 x 1		x250/4		x100/3		x100/3
- * 1		48 x 1		x250/4		x100/3		x116/6
+ * 1		48 x 1		x250/4		x100/3		x58/3
  */
 #define CPG_PLL_CONFIG_INDEX(md)	(((md) & BIT(19)) >> 19)
 
 static const struct rcar_gen3_cpg_pll_config cpg_pll_configs[2] __initconst = {
 	/* EXTAL div	PLL1 mult/div	PLL3 mult/div */
 	{ 1,		100,	3,	100,	3,	},
-	{ 1,		100,	3,	116,	6,	},
+	{ 1,		100,	3,	58,	3,	},
 };
 
 static int __init r8a77995_cpg_mssr_init(struct device *dev)
-- 
2.17.1


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

* Re: [PATCH 08/13] clk: renesas: r8a77990: Correct parent clock of DU
  2018-11-29 10:50 ` [PATCH 08/13] clk: renesas: r8a77990: Correct parent clock of DU Geert Uytterhoeven
@ 2018-11-29 12:25   ` Laurent Pinchart
  0 siblings, 0 replies; 18+ messages in thread
From: Laurent Pinchart @ 2018-11-29 12:25 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Michael Turquette, Stephen Boyd, Kieran Bingham, linux-clk,
	linux-renesas-soc, Takeshi Kihara

Hi Geert,

Thank you for the patch.

On Thursday, 29 November 2018 12:50:03 EET Geert Uytterhoeven wrote:
> From: Takeshi Kihara <takeshi.kihara.df@renesas.com>
> 
> According to the R-Car Gen3 Hardware Manual Rev 1.00, the parent clock
> of the DU module clocks on R-Car E3 is S1D1.
> 
> Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
> Fixes: 3570a2af473789c5 ("clk: renesas: cpg-mssr: Add support for R-Car E3")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/clk/renesas/r8a77990-cpg-mssr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c
> b/drivers/clk/renesas/r8a77990-cpg-mssr.c index
> 9eb80180eea0b1a6..9a278c75c918cfa8 100644
> --- a/drivers/clk/renesas/r8a77990-cpg-mssr.c
> +++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c
> @@ -183,8 +183,8 @@ static const struct mssr_mod_clk r8a77990_mod_clks[]
> __initconst = { DEF_MOD("ehci0",		 703,	R8A77990_CLK_S3D4),
>  	DEF_MOD("hsusb",		 704,	R8A77990_CLK_S3D4),
>  	DEF_MOD("csi40",		 716,	R8A77990_CLK_CSI0),
> -	DEF_MOD("du1",			 723,	R8A77990_CLK_S2D1),
> -	DEF_MOD("du0",			 724,	R8A77990_CLK_S2D1),
> +	DEF_MOD("du1",			 723,	R8A77990_CLK_S1D1),
> +	DEF_MOD("du0",			 724,	R8A77990_CLK_S1D1),
>  	DEF_MOD("lvds",			 727,	R8A77990_CLK_S2D1),
> 
>  	DEF_MOD("vin5",			 806,	R8A77990_CLK_S1D2),

-- 
Regards,

Laurent Pinchart




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

* Re: [PATCH 09/13] clk: renesas: r8a77995: Correct parent clock of DU
  2018-11-29 10:50 ` [PATCH 09/13] clk: renesas: r8a77995: " Geert Uytterhoeven
@ 2018-11-29 12:28   ` Laurent Pinchart
  0 siblings, 0 replies; 18+ messages in thread
From: Laurent Pinchart @ 2018-11-29 12:28 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Michael Turquette, Stephen Boyd, Kieran Bingham, linux-clk,
	linux-renesas-soc

Hi Geert,

Thank you for the patch.

On Thursday, 29 November 2018 12:50:04 EET Geert Uytterhoeven wrote:
> According to the R-Car Gen3 Hardware Manual Rev 1.00, the parent clock
> of the DU module clocks on R-Car D3 is S1D1.
> 
> Fixes: d71e851d82c6cfe5 ("clk: renesas: cpg-mssr: Add R8A77995 support")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

The patch has no effect on the DU operation as the rcar-du driver hardcodes a 
different clock source for the dot clock. However, after hacking the driver to 
hardcode usage of this clock, operation off the LVDS output is improved. I 
thus believe this change to be correct in addition to not having any effect 
with the current mainline code :-)

Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/clk/renesas/r8a77995-cpg-mssr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c
> b/drivers/clk/renesas/r8a77995-cpg-mssr.c index
> 47e60e3dbe05ff18..ad95dc225e9c039a 100644
> --- a/drivers/clk/renesas/r8a77995-cpg-mssr.c
> +++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c
> @@ -146,8 +146,8 @@ static const struct mssr_mod_clk r8a77995_mod_clks[]
> __initconst = { DEF_MOD("vspbs",		 627,	R8A77995_CLK_S0D1),
>  	DEF_MOD("ehci0",		 703,	R8A77995_CLK_S3D2),
>  	DEF_MOD("hsusb",		 704,	R8A77995_CLK_S3D2),
> -	DEF_MOD("du1",			 723,	R8A77995_CLK_S2D1),
> -	DEF_MOD("du0",			 724,	R8A77995_CLK_S2D1),
> +	DEF_MOD("du1",			 723,	R8A77995_CLK_S1D1),
> +	DEF_MOD("du0",			 724,	R8A77995_CLK_S1D1),
>  	DEF_MOD("lvds",			 727,	R8A77995_CLK_S2D1),
>  	DEF_MOD("vin7",			 804,	R8A77995_CLK_S1D2),
>  	DEF_MOD("vin6",			 805,	R8A77995_CLK_S1D2),

-- 
Regards,

Laurent Pinchart




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

* Re: [PATCH 00/13] clk: renesas: Miscellaneous fixes
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (12 preceding siblings ...)
  2018-11-29 10:50 ` [PATCH 13/13] clk: renesas: r8a77995: Simplify PLL3 multiplier/divider Geert Uytterhoeven
@ 2018-11-29 12:31 ` Laurent Pinchart
  2018-11-29 21:49 ` Stephen Boyd
  14 siblings, 0 replies; 18+ messages in thread
From: Laurent Pinchart @ 2018-11-29 12:31 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Michael Turquette, Stephen Boyd, Kieran Bingham, linux-clk,
	linux-renesas-soc

Hi Geert,

On Thursday, 29 November 2018 12:49:55 EET Geert Uytterhoeven wrote:
> 	Hi Mike, Stephen, Laurent, Kieran,
> 
> This patch series contains several fixes for the Renesas Clock drivers
> and DT bindings, and a small simplification:
>   - Removal of non-existent clocks,
>   - Addition of the CPEX clocks, which can be used a source for a timer
>     (CMT1),
>   - Correction of DU parent clocks.
> Most of these have been found by skimming the Hardware Manual Errata.
> 
> This has been boot-tested on Salvator-X(S) (R-Car H3, M3-W, M3-N), Eagle
> (R-Car V3M), and Draak (R-Car D3), except for the DU parts.
> Testing of the DU on R-Car D3 and E3 would be appreciated, as the DU
> driver may have a workaround for the incorrect parent clock rates.

As explained in my review of 09/13, I believe the DU clock patches to both be 
correct and have no effect for D3 and E3. No action is needed on the DU side, 
there is no workaround for the incorrect frequency.

> I intend to queue this in clk-renesas-for-v4.21.
> 
> Thanks!
> 
> Geert Uytterhoeven (12):
>   dt-bindings: clock: r8a7795: Remove CSIREF clock
>   dt-bindings: clock: r8a7796: Remove CSIREF clock
>   clk: renesas: r8a774a1: Add CPEX clock
>   clk: renesas: r8a7795: Add CPEX clock
>   clk: renesas: r8a7796: Add CPEX clock
>   clk: renesas: r8a77965: Add CPEX clock
>   clk: renesas: r8a77970: Add CPEX clock
>   clk: renesas: r8a77995: Correct parent clock of DU
>   clk: renesas: r8a77995: Remove non-existent VIN5-7 module clocks
>   clk: renesas: r8a77995: Remove non-existent SSP clocks
>   clk: renesas: r8a77995: Add missing CPEX clock
>   clk: renesas: r8a77995: Simplify PLL3 multiplier/divider
> 
> Takeshi Kihara (1):
>   clk: renesas: r8a77990: Correct parent clock of DU
> 
>  drivers/clk/renesas/r8a774a1-cpg-mssr.c       |  1 +
>  drivers/clk/renesas/r8a7795-cpg-mssr.c        |  1 +
>  drivers/clk/renesas/r8a7796-cpg-mssr.c        |  1 +
>  drivers/clk/renesas/r8a77965-cpg-mssr.c       |  1 +
>  drivers/clk/renesas/r8a77970-cpg-mssr.c       |  1 +
>  drivers/clk/renesas/r8a77990-cpg-mssr.c       |  4 ++--
>  drivers/clk/renesas/r8a77995-cpg-mssr.c       | 15 ++++++---------
>  include/dt-bindings/clock/r8a7795-cpg-mssr.h  |  2 +-
>  include/dt-bindings/clock/r8a7796-cpg-mssr.h  |  2 +-
>  include/dt-bindings/clock/r8a77995-cpg-mssr.h |  5 +++--
>  10 files changed, 18 insertions(+), 15 deletions(-)

-- 
Regards,

Laurent Pinchart




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

* Re: [PATCH 00/13] clk: renesas: Miscellaneous fixes
  2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
                   ` (13 preceding siblings ...)
  2018-11-29 12:31 ` [PATCH 00/13] clk: renesas: Miscellaneous fixes Laurent Pinchart
@ 2018-11-29 21:49 ` Stephen Boyd
  14 siblings, 0 replies; 18+ messages in thread
From: Stephen Boyd @ 2018-11-29 21:49 UTC (permalink / raw)
  To: Geert Uytterhoeven, Kieran Bingham, Laurent Pinchart, Michael Turquette
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

Quoting Geert Uytterhoeven (2018-11-29 02:49:55)
>         Hi Mike, Stephen, Laurent, Kieran,
> 
> This patch series contains several fixes for the Renesas Clock drivers
> and DT bindings, and a small simplification:
>   - Removal of non-existent clocks,
>   - Addition of the CPEX clocks, which can be used a source for a timer
>     (CMT1),
>   - Correction of DU parent clocks.
> Most of these have been found by skimming the Hardware Manual Errata.
> 
> This has been boot-tested on Salvator-X(S) (R-Car H3, M3-W, M3-N), Eagle
> (R-Car V3M), and Draak (R-Car D3), except for the DU parts.
> Testing of the DU on R-Car D3 and E3 would be appreciated, as the DU
> driver may have a workaround for the incorrect parent clock rates.
> 
> I intend to queue this in clk-renesas-for-v4.21.
> 

Ok. For the whole series:

Acked-by: Stephen Boyd <sboyd@kernel.org>

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

end of thread, other threads:[~2018-11-29 21:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
2018-11-29 10:49 ` [PATCH 01/13] dt-bindings: clock: r8a7795: Remove CSIREF clock Geert Uytterhoeven
2018-11-29 10:49 ` [PATCH 02/13] dt-bindings: clock: r8a7796: " Geert Uytterhoeven
2018-11-29 10:49 ` [PATCH 03/13] clk: renesas: r8a774a1: Add CPEX clock Geert Uytterhoeven
2018-11-29 10:49 ` [PATCH 04/13] clk: renesas: r8a7795: " Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 05/13] clk: renesas: r8a7796: " Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 06/13] clk: renesas: r8a77965: " Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 07/13] clk: renesas: r8a77970: " Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 08/13] clk: renesas: r8a77990: Correct parent clock of DU Geert Uytterhoeven
2018-11-29 12:25   ` Laurent Pinchart
2018-11-29 10:50 ` [PATCH 09/13] clk: renesas: r8a77995: " Geert Uytterhoeven
2018-11-29 12:28   ` Laurent Pinchart
2018-11-29 10:50 ` [PATCH 10/13] clk: renesas: r8a77995: Remove non-existent VIN5-7 module clocks Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 11/13] clk: renesas: r8a77995: Remove non-existent SSP clocks Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 12/13] clk: renesas: r8a77995: Add missing CPEX clock Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 13/13] clk: renesas: r8a77995: Simplify PLL3 multiplier/divider Geert Uytterhoeven
2018-11-29 12:31 ` [PATCH 00/13] clk: renesas: Miscellaneous fixes Laurent Pinchart
2018-11-29 21:49 ` Stephen Boyd

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