aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2010-12-02 02:57:08 -0500
committerFelipe Balbi <balbi@ti.com>2010-12-10 03:21:24 -0500
commit0349176120aa3024e96ae4fd7dc0e0181dc55f52 (patch)
treeefdcef1542f835f98a53507f0a8f73f5c9736012 /arch/arm
parent3b7029670d39d22f288ece95254e9ba5ceddd6ba (diff)
usb: musb: move clock handling to glue layer
musb core doesn't need to know about platform specific details. So start moving clock handling to platform glue layer and make musb core agnostic about that. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/clock2430_data.c2
-rw-r--r--arch/arm/mach-omap2/clock3xxx_data.c8
-rw-r--r--arch/arm/mach-omap2/clock44xx_data.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/clock2430_data.c b/arch/arm/mach-omap2/clock2430_data.c
index a6bccd7475a0..a9c60b7843e2 100644
--- a/arch/arm/mach-omap2/clock2430_data.c
+++ b/arch/arm/mach-omap2/clock2430_data.c
@@ -1983,7 +1983,7 @@ static struct omap_clk omap2430_clks[] = {
1983 CLK("omap-aes", "ick", &aes_ick, CK_243X), 1983 CLK("omap-aes", "ick", &aes_ick, CK_243X),
1984 CLK(NULL, "pka_ick", &pka_ick, CK_243X), 1984 CLK(NULL, "pka_ick", &pka_ick, CK_243X),
1985 CLK(NULL, "usb_fck", &usb_fck, CK_243X), 1985 CLK(NULL, "usb_fck", &usb_fck, CK_243X),
1986 CLK("musb-hdrc", "ick", &usbhs_ick, CK_243X), 1986 CLK("musb-omap2430", "ick", &usbhs_ick, CK_243X),
1987 CLK("mmci-omap-hs.0", "ick", &mmchs1_ick, CK_243X), 1987 CLK("mmci-omap-hs.0", "ick", &mmchs1_ick, CK_243X),
1988 CLK("mmci-omap-hs.0", "fck", &mmchs1_fck, CK_243X), 1988 CLK("mmci-omap-hs.0", "fck", &mmchs1_fck, CK_243X),
1989 CLK("mmci-omap-hs.1", "ick", &mmchs2_ick, CK_243X), 1989 CLK("mmci-omap-hs.1", "ick", &mmchs2_ick, CK_243X),
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c
index 3e668edbf6fe..0579604d4f25 100644
--- a/arch/arm/mach-omap2/clock3xxx_data.c
+++ b/arch/arm/mach-omap2/clock3xxx_data.c
@@ -3306,8 +3306,8 @@ static struct omap_clk omap3xxx_clks[] = {
3306 CLK(NULL, "ssi_sst_fck", &ssi_sst_fck_3430es1, CK_3430ES1), 3306 CLK(NULL, "ssi_sst_fck", &ssi_sst_fck_3430es1, CK_3430ES1),
3307 CLK(NULL, "ssi_sst_fck", &ssi_sst_fck_3430es2, CK_3430ES2), 3307 CLK(NULL, "ssi_sst_fck", &ssi_sst_fck_3430es2, CK_3430ES2),
3308 CLK(NULL, "core_l3_ick", &core_l3_ick, CK_3XXX), 3308 CLK(NULL, "core_l3_ick", &core_l3_ick, CK_3XXX),
3309 CLK("musb-hdrc", "ick", &hsotgusb_ick_3430es1, CK_3430ES1), 3309 CLK("musb-omap2430", "ick", &hsotgusb_ick_3430es1, CK_3430ES1),
3310 CLK("musb-hdrc", "ick", &hsotgusb_ick_3430es2, CK_3430ES2), 3310 CLK("musb-omap2430", "ick", &hsotgusb_ick_3430es2, CK_3430ES2),
3311 CLK(NULL, "sdrc_ick", &sdrc_ick, CK_3XXX), 3311 CLK(NULL, "sdrc_ick", &sdrc_ick, CK_3XXX),
3312 CLK(NULL, "gpmc_fck", &gpmc_fck, CK_3XXX), 3312 CLK(NULL, "gpmc_fck", &gpmc_fck, CK_3XXX),
3313 CLK(NULL, "security_l3_ick", &security_l3_ick, CK_343X), 3313 CLK(NULL, "security_l3_ick", &security_l3_ick, CK_343X),
@@ -3442,8 +3442,8 @@ static struct omap_clk omap3xxx_clks[] = {
3442 CLK("davinci_emac", "phy_clk", &emac_fck, CK_AM35XX), 3442 CLK("davinci_emac", "phy_clk", &emac_fck, CK_AM35XX),
3443 CLK("vpfe-capture", "master", &vpfe_ick, CK_AM35XX), 3443 CLK("vpfe-capture", "master", &vpfe_ick, CK_AM35XX),
3444 CLK("vpfe-capture", "slave", &vpfe_fck, CK_AM35XX), 3444 CLK("vpfe-capture", "slave", &vpfe_fck, CK_AM35XX),
3445 CLK("musb-hdrc", "ick", &hsotgusb_ick_am35xx, CK_AM35XX), 3445 CLK("musb-am35x", "ick", &hsotgusb_ick_am35xx, CK_AM35XX),
3446 CLK("musb-hdrc", "fck", &hsotgusb_fck_am35xx, CK_AM35XX), 3446 CLK("musb-am35x", "fck", &hsotgusb_fck_am35xx, CK_AM35XX),
3447 CLK(NULL, "hecc_ck", &hecc_ck, CK_AM35XX), 3447 CLK(NULL, "hecc_ck", &hecc_ck, CK_AM35XX),
3448 CLK(NULL, "uart4_ick", &uart4_ick_am35xx, CK_AM35XX), 3448 CLK(NULL, "uart4_ick", &uart4_ick_am35xx, CK_AM35XX),
3449}; 3449};
diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c
index 95dd34ce6ea1..bfcd19f8368c 100644
--- a/arch/arm/mach-omap2/clock44xx_data.c
+++ b/arch/arm/mach-omap2/clock44xx_data.c
@@ -2953,7 +2953,7 @@ static struct omap_clk omap44xx_clks[] = {
2953 CLK("ehci-omap.0", "usbhost_ick", &dummy_ck, CK_443X), 2953 CLK("ehci-omap.0", "usbhost_ick", &dummy_ck, CK_443X),
2954 CLK(NULL, "otg_60m_gfclk", &otg_60m_gfclk, CK_443X), 2954 CLK(NULL, "otg_60m_gfclk", &otg_60m_gfclk, CK_443X),
2955 CLK(NULL, "usb_otg_hs_xclk", &usb_otg_hs_xclk, CK_443X), 2955 CLK(NULL, "usb_otg_hs_xclk", &usb_otg_hs_xclk, CK_443X),
2956 CLK("musb-hdrc", "ick", &usb_otg_hs_ick, CK_443X), 2956 CLK("musb-omap2430", "ick", &usb_otg_hs_ick, CK_443X),
2957 CLK(NULL, "usb_phy_cm_clk32k", &usb_phy_cm_clk32k, CK_443X), 2957 CLK(NULL, "usb_phy_cm_clk32k", &usb_phy_cm_clk32k, CK_443X),
2958 CLK(NULL, "usb_tll_hs_usb_ch2_clk", &usb_tll_hs_usb_ch2_clk, CK_443X), 2958 CLK(NULL, "usb_tll_hs_usb_ch2_clk", &usb_tll_hs_usb_ch2_clk, CK_443X),
2959 CLK(NULL, "usb_tll_hs_usb_ch0_clk", &usb_tll_hs_usb_ch0_clk, CK_443X), 2959 CLK(NULL, "usb_tll_hs_usb_ch0_clk", &usb_tll_hs_usb_ch0_clk, CK_443X),