clk: shmobile: add missing 0x0100 for SDCKCR
Subsystems (3)
PATCH v2 1/3 clk: shmobile: add missing 0x0100 for SDCKCR
From: Kuninori Morimoto <[email protected]>
10cdfe9f327ab8d120cf6957e58c6203e3a53847
(clk: shmobile: Add R-Car Gen2 clocks support)
added R-Car Gen2 clock support via DT for v3.14.
But, cpg_sd01_div_table is missing
"0x0100: x 1/8" division ratio.
This patch fixes hidden bug.
It is based on R-Car H2 v0.7, R-Car M2 v0.9.
--- drivers/clk/shmobile/clk-rcar-gen2.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/shmobile/clk-rcar-gen2.c +1 -0
@@ -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 }, };
Signature · 1 line
1.7.9.5
Quoted 11 lines · Kuninori Morimoto
From: Kuninori Morimoto <[email protected]>
10cdfe9f327ab8d120cf6957e58c6203e3a53847
(clk: shmobile: Add R-Car Gen2 clocks support)
added R-Car Gen2 clock support via DT for v3.14.But,
cpg_sd01_div_tableis missing
"0x0100: x 1/8" division ratio.
This patch fixes hidden bug.
It is based on R-Car H2 v0.7, R-Car M2 v0.9.
Quoted 4 lines
Acked-by Laurent Pinchart <[email protected]>Reported-by Yusuke Goda <[email protected]>Signed-off-by Kuninori Morimoto <[email protected]>
Thanks Morimoto-san.
Mike, could you consider picking up this patch.
It is a bug fix but it doesn't manifest as no boards use the clock in question.
I believe the remaining two patches in this series should go though my renesas tree.
Quoted 19 lines
--- drivers/clk/shmobile/clk-rcar-gen2.c | 1 + 1 file changed, 1 insertion(+)drivers/clk/shmobile/clk-rcar-gen2.c +1
-0@@ -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 }, };Signature · 1 line
1.7.9.5
Mike Turquette
AppliedQuoting Simon Horman (2014-08-05 18:40:57)
Quoted 17 lines · Kuninori Morimoto
Quoted 11 lines
From: Kuninori Morimoto <[email protected]>
10cdfe9f327ab8d120cf6957e58c6203e3a53847
(clk: shmobile: Add R-Car Gen2 clocks support)
added R-Car Gen2 clock support via DT for v3.14.But,
cpg_sd01_div_tableis missing
"0x0100: x 1/8" division ratio.
This patch fixes hidden bug.
It is based on R-Car H2 v0.7, R-Car M2 v0.9.Quoted 4 lines
Acked-by Laurent Pinchart <[email protected]>Reported-by Yusuke Goda <[email protected]>Signed-off-by Kuninori Morimoto <[email protected]>
Quoted 7 lines
Thanks Morimoto-san.
Acked-by Simon Horman <[email protected]>Mike, could you consider picking up this patch.
It is a bug fix but it doesn't manifest as no boards use the clock in question.
Applied to clk-next.
Regards,
Mike
Quoted 23 lines
I believe the remaining two patches in this series should go though my renesas tree.
Quoted 19 lines
--- drivers/clk/shmobile/clk-rcar-gen2.c | 1 + 1 file changed, 1 insertion(+)drivers/clk/shmobile/clk-rcar-gen2.c +1
-0@@ -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 }, };Signature · 1 line
1.7.9.5