forked from luck/tmp_suning_uos_patched
[ARM] omap: hsmmc: new short connection id names
... rather than the clock names themselves. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
6c5dbb40f4
commit
6f7607ccd1
|
@ -205,10 +205,10 @@ static struct omap_clk omap24xx_clks[] = {
|
|||
CLK(NULL, "pka_ick", &pka_ick, CK_243X | CK_242X),
|
||||
CLK(NULL, "usb_fck", &usb_fck, CK_243X | CK_242X),
|
||||
CLK(NULL, "usbhs_ick", &usbhs_ick, CK_243X),
|
||||
CLK("mmci-omap-hs.0", "mmchs_ick", &mmchs1_ick, CK_243X),
|
||||
CLK("mmci-omap-hs.0", "mmchs_fck", &mmchs1_fck, CK_243X),
|
||||
CLK("mmci-omap-hs.1", "mmchs_ick", &mmchs2_ick, CK_243X),
|
||||
CLK("mmci-omap-hs.1", "mmchs_fck", &mmchs2_fck, CK_243X),
|
||||
CLK("mmci-omap-hs.0", "ick", &mmchs1_ick, CK_243X),
|
||||
CLK("mmci-omap-hs.0", "fck", &mmchs1_fck, CK_243X),
|
||||
CLK("mmci-omap-hs.1", "ick", &mmchs2_ick, CK_243X),
|
||||
CLK("mmci-omap-hs.1", "fck", &mmchs2_fck, CK_243X),
|
||||
CLK(NULL, "gpio5_ick", &gpio5_ick, CK_243X),
|
||||
CLK(NULL, "gpio5_fck", &gpio5_fck, CK_243X),
|
||||
CLK(NULL, "mdm_intc_ick", &mdm_intc_ick, CK_243X),
|
||||
|
|
|
@ -137,10 +137,10 @@ static struct omap_clk omap34xx_clks[] = {
|
|||
CLK(NULL, "ts_fck", &ts_fck, CK_3430ES2),
|
||||
CLK(NULL, "usbtll_fck", &usbtll_fck, CK_3430ES2),
|
||||
CLK(NULL, "core_96m_fck", &core_96m_fck, CK_343X),
|
||||
CLK("mmci-omap-hs.2", "mmchs_fck", &mmchs3_fck, CK_3430ES2),
|
||||
CLK("mmci-omap-hs.1", "mmchs_fck", &mmchs2_fck, CK_343X),
|
||||
CLK("mmci-omap-hs.2", "fck", &mmchs3_fck, CK_3430ES2),
|
||||
CLK("mmci-omap-hs.1", "fck", &mmchs2_fck, CK_343X),
|
||||
CLK(NULL, "mspro_fck", &mspro_fck, CK_343X),
|
||||
CLK("mmci-omap-hs.0", "mmchs_fck", &mmchs1_fck, CK_343X),
|
||||
CLK("mmci-omap-hs.0", "fck", &mmchs1_fck, CK_343X),
|
||||
CLK("i2c_omap.3", "fck", &i2c3_fck, CK_343X),
|
||||
CLK("i2c_omap.2", "fck", &i2c2_fck, CK_343X),
|
||||
CLK("i2c_omap.1", "fck", &i2c1_fck, CK_343X),
|
||||
|
@ -166,13 +166,13 @@ static struct omap_clk omap34xx_clks[] = {
|
|||
CLK(NULL, "pka_ick", &pka_ick, CK_343X),
|
||||
CLK(NULL, "core_l4_ick", &core_l4_ick, CK_343X),
|
||||
CLK(NULL, "usbtll_ick", &usbtll_ick, CK_3430ES2),
|
||||
CLK("mmci-omap-hs.2", "mmchs_ick", &mmchs3_ick, CK_3430ES2),
|
||||
CLK("mmci-omap-hs.2", "ick", &mmchs3_ick, CK_3430ES2),
|
||||
CLK(NULL, "icr_ick", &icr_ick, CK_343X),
|
||||
CLK(NULL, "aes2_ick", &aes2_ick, CK_343X),
|
||||
CLK(NULL, "sha12_ick", &sha12_ick, CK_343X),
|
||||
CLK(NULL, "des2_ick", &des2_ick, CK_343X),
|
||||
CLK("mmci-omap-hs.1", "mmchs_ick", &mmchs2_ick, CK_343X),
|
||||
CLK("mmci-omap-hs.0", "mmchs_ick", &mmchs1_ick, CK_343X),
|
||||
CLK("mmci-omap-hs.1", "ick", &mmchs2_ick, CK_343X),
|
||||
CLK("mmci-omap-hs.0", "ick", &mmchs1_ick, CK_343X),
|
||||
CLK(NULL, "mspro_ick", &mspro_ick, CK_343X),
|
||||
CLK("omap_hdq.0", "ick", &hdq_ick, CK_343X),
|
||||
CLK("omap2_mcspi.4", "ick", &mcspi4_ick, CK_343X),
|
||||
|
|
|
@ -349,11 +349,11 @@ static void __init omap_hsmmc_reset(void)
|
|||
|
||||
dummy_pdev.id = i;
|
||||
dev_set_name(&dummy_pdev.dev, "mmci-omap-hs.%d", i);
|
||||
iclk = clk_get(dev, "mmchs_ick");
|
||||
iclk = clk_get(dev, "ick");
|
||||
if (iclk && clk_enable(iclk))
|
||||
iclk = NULL;
|
||||
|
||||
fclk = clk_get(dev, "mmchs_fck");
|
||||
fclk = clk_get(dev, "fck");
|
||||
if (fclk && clk_enable(fclk))
|
||||
fclk = NULL;
|
||||
|
||||
|
|
|
@ -920,13 +920,13 @@ static int __init omap_mmc_probe(struct platform_device *pdev)
|
|||
|
||||
sema_init(&host->sem, 1);
|
||||
|
||||
host->iclk = clk_get(&pdev->dev, "mmchs_ick");
|
||||
host->iclk = clk_get(&pdev->dev, "ick");
|
||||
if (IS_ERR(host->iclk)) {
|
||||
ret = PTR_ERR(host->iclk);
|
||||
host->iclk = NULL;
|
||||
goto err1;
|
||||
}
|
||||
host->fclk = clk_get(&pdev->dev, "mmchs_fck");
|
||||
host->fclk = clk_get(&pdev->dev, "fck");
|
||||
if (IS_ERR(host->fclk)) {
|
||||
ret = PTR_ERR(host->fclk);
|
||||
host->fclk = NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user