linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: shmobile: add missing 0x0100 for SDCKCR
@ 2014-08-05  7:09 Kuninori Morimoto
  2014-08-05  7:17 ` Simon Horman
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Kuninori Morimoto @ 2014-08-05  7:09 UTC (permalink / raw)
  To: linux-sh

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Current cpg_sd01_div_table is missing
"0x0100: x 1/8" division ratio.
This patch is based on R-Car H2 v0.7, R-Car M2 v0.9.

Reported-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
>> Simon
Actually,
	linux/arch/arm/mach-shmobile/clock-r8a7790.c : div4_clks
	linux/arch/arm/mach-shmobile/clock-r8a7791.c : div4_clks
have same issue, but I ignored

 drivers/clk/shmobile/clk-rcar-gen2.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/shmobile/clk-rcar-gen2.c b/drivers/clk/shmobile/clk-rcar-gen2.c
index dff7f79..e996425 100644
--- a/drivers/clk/shmobile/clk-rcar-gen2.c
+++ b/drivers/clk/shmobile/clk-rcar-gen2.c
@@ -202,6 +202,7 @@ static const struct clk_div_table cpg_sdh_div_table[] = {
 };
 
 static const struct clk_div_table cpg_sd01_div_table[] = {
+	{  4,  8 },
 	{  5, 12 }, {  6, 16 }, {  7, 18 }, {  8, 24 },
 	{ 10, 36 }, { 11, 48 }, { 12, 10 }, {  0,  0 },
 };
-- 
1.7.9.5


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

end of thread, other threads:[~2014-08-06  1:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-05  7:09 [PATCH] clk: shmobile: add missing 0x0100 for SDCKCR Kuninori Morimoto
2014-08-05  7:17 ` Simon Horman
2014-08-05  7:25 ` Geert Uytterhoeven
2014-08-05  8:51 ` Kuninori Morimoto
2014-08-05  8:57 ` Kuninori Morimoto
2014-08-05  9:06 ` Laurent Pinchart
2014-08-06  0:32 ` Simon Horman
2014-08-06  0:39 ` Kuninori Morimoto
2014-08-06  1:29 ` Simon Horman
2014-08-06  1:32 ` Kuninori Morimoto
2014-08-06  1:41 ` Simon Horman

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