aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2012-09-24 10:43:19 -0400
committerMike Turquette <mturquette@linaro.org>2012-10-29 14:06:07 -0400
commit2f896ac0be9a0c7739033ef1f8821223f4a6a908 (patch)
tree7f16d4c23127ace1ce7f36c22335a766edc7f5d6 /drivers
parentb0ea0fc753bfda1e9c20af403187758eb32052fd (diff)
clk: ux500: Update sdmmc clock to 100MHz for u8500
For u8500 and using 100MHz as the frequency also requires the ape opp 100 voltage, thus use the prcmu_opp_volt_scalable clock type. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/ux500/u8500_clk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c
index ca4a25ed844c..7bebf1f62c65 100644
--- a/drivers/clk/ux500/u8500_clk.c
+++ b/drivers/clk/ux500/u8500_clk.c
@@ -170,10 +170,11 @@ void u8500_clk_init(void)
170 clk_register_clkdev(clk, NULL, "mtu0"); 170 clk_register_clkdev(clk, NULL, "mtu0");
171 clk_register_clkdev(clk, NULL, "mtu1"); 171 clk_register_clkdev(clk, NULL, "mtu1");
172 172
173 clk = clk_reg_prcmu_gate("sdmmcclk", NULL, PRCMU_SDMMCCLK, CLK_IS_ROOT); 173 clk = clk_reg_prcmu_opp_volt_scalable("sdmmcclk", NULL, PRCMU_SDMMCCLK,
174 100000000,
175 CLK_IS_ROOT|CLK_SET_RATE_GATE);
174 clk_register_clkdev(clk, NULL, "sdmmc"); 176 clk_register_clkdev(clk, NULL, "sdmmc");
175 177
176
177 clk = clk_reg_prcmu_scalable("dsi_pll", "hdmiclk", 178 clk = clk_reg_prcmu_scalable("dsi_pll", "hdmiclk",
178 PRCMU_PLLDSI, 0, CLK_SET_RATE_GATE); 179 PRCMU_PLLDSI, 0, CLK_SET_RATE_GATE);
179 clk_register_clkdev(clk, "dsihs2", "mcde"); 180 clk_register_clkdev(clk, "dsihs2", "mcde");