diff options
author | Rajeev Kumar <rajeev-dlh.kumar@st.com> | 2012-11-10 07:43:40 +0100 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-11-21 20:45:19 +0100 |
commit | df2449aba4749fb8d04c3c1bbfad5cf8863c323b (patch) | |
tree | 46b967f34849952fa3c784befddd82875b237fb6 /drivers/clk/spear/spear6xx_clock.c | |
parent | clk: move IM-PD1 clocks to drivers/clk (diff) | |
download | linux-df2449aba4749fb8d04c3c1bbfad5cf8863c323b.tar.xz linux-df2449aba4749fb8d04c3c1bbfad5cf8863c323b.zip |
CLK: SPEAr: Fix dev_id & con_id for multiple clocks
dev_id & con_id names of multiple clocks are incorrect. This patch fixes these
names with the names that come via DT.
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Bhavna Yadav <bhavna.yadav@st.com>
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/spear/spear6xx_clock.c')
-rw-r--r-- | drivers/clk/spear/spear6xx_clock.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c index a98d0866f541..c7fa67c7c0ab 100644 --- a/drivers/clk/spear/spear6xx_clock.c +++ b/drivers/clk/spear/spear6xx_clock.c @@ -261,11 +261,13 @@ void __init spear6xx_clk_init(void) /* clock derived from pll3 clk */ clk = clk_register_gate(NULL, "usbh0_clk", "pll3_clk", 0, PERIP1_CLK_ENB, USBH0_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "usbh.0_clk"); + clk_register_clkdev(clk, NULL, "e1800000.ehci"); + clk_register_clkdev(clk, NULL, "e1900000.ohci"); clk = clk_register_gate(NULL, "usbh1_clk", "pll3_clk", 0, PERIP1_CLK_ENB, USBH1_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "usbh.1_clk"); + clk_register_clkdev(clk, NULL, "e2000000.ehci"); + clk_register_clkdev(clk, NULL, "e2100000.ohci"); clk = clk_register_gate(NULL, "usbd_clk", "pll3_clk", 0, PERIP1_CLK_ENB, USBD_CLK_ENB, 0, &_lock); |