[ARM] omap: w1: convert omap HDQ clocks to match by devid and conid
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Родитель
5fe2338040
Коммит
cc51c9d444
|
@ -184,8 +184,8 @@ static struct omap_clk omap24xx_clks[] = {
|
||||||
CLK(NULL, "fac_fck", &fac_fck, CK_243X | CK_242X),
|
CLK(NULL, "fac_fck", &fac_fck, CK_243X | CK_242X),
|
||||||
CLK(NULL, "eac_ick", &eac_ick, CK_242X),
|
CLK(NULL, "eac_ick", &eac_ick, CK_242X),
|
||||||
CLK(NULL, "eac_fck", &eac_fck, CK_242X),
|
CLK(NULL, "eac_fck", &eac_fck, CK_242X),
|
||||||
CLK(NULL, "hdq_ick", &hdq_ick, CK_243X | CK_242X),
|
CLK("omap_hdq.0", "ick", &hdq_ick, CK_243X | CK_242X),
|
||||||
CLK(NULL, "hdq_fck", &hdq_fck, CK_243X | CK_242X),
|
CLK("omap_hdq.1", "fck", &hdq_fck, CK_243X | CK_242X),
|
||||||
CLK("i2c_omap.1", "ick", &i2c1_ick, CK_243X | CK_242X),
|
CLK("i2c_omap.1", "ick", &i2c1_ick, CK_243X | CK_242X),
|
||||||
CLK("i2c_omap.1", "fck", &i2c1_fck, CK_242X),
|
CLK("i2c_omap.1", "fck", &i2c1_fck, CK_242X),
|
||||||
CLK("i2c_omap.1", "fck", &i2chs1_fck, CK_243X),
|
CLK("i2c_omap.1", "fck", &i2chs1_fck, CK_243X),
|
||||||
|
|
|
@ -155,7 +155,7 @@ static struct omap_clk omap34xx_clks[] = {
|
||||||
CLK(NULL, "uart1_fck", &uart1_fck, CK_343X),
|
CLK(NULL, "uart1_fck", &uart1_fck, CK_343X),
|
||||||
CLK(NULL, "fshostusb_fck", &fshostusb_fck, CK_3430ES1),
|
CLK(NULL, "fshostusb_fck", &fshostusb_fck, CK_3430ES1),
|
||||||
CLK(NULL, "core_12m_fck", &core_12m_fck, CK_343X),
|
CLK(NULL, "core_12m_fck", &core_12m_fck, CK_343X),
|
||||||
CLK(NULL, "hdq_fck", &hdq_fck, CK_343X),
|
CLK("omap_hdq.0", "fck", &hdq_fck, CK_343X),
|
||||||
CLK(NULL, "ssi_ssr_fck", &ssi_ssr_fck, CK_343X),
|
CLK(NULL, "ssi_ssr_fck", &ssi_ssr_fck, CK_343X),
|
||||||
CLK(NULL, "ssi_sst_fck", &ssi_sst_fck, CK_343X),
|
CLK(NULL, "ssi_sst_fck", &ssi_sst_fck, CK_343X),
|
||||||
CLK(NULL, "core_l3_ick", &core_l3_ick, CK_343X),
|
CLK(NULL, "core_l3_ick", &core_l3_ick, CK_343X),
|
||||||
|
@ -174,7 +174,7 @@ static struct omap_clk omap34xx_clks[] = {
|
||||||
CLK("mmci-omap-hs.1", "mmchs_ick", &mmchs2_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.0", "mmchs_ick", &mmchs1_ick, CK_343X),
|
||||||
CLK(NULL, "mspro_ick", &mspro_ick, CK_343X),
|
CLK(NULL, "mspro_ick", &mspro_ick, CK_343X),
|
||||||
CLK(NULL, "hdq_ick", &hdq_ick, CK_343X),
|
CLK("omap_hdq.0", "ick", &hdq_ick, CK_343X),
|
||||||
CLK("omap2_mcspi.4", "ick", &mcspi4_ick, CK_343X),
|
CLK("omap2_mcspi.4", "ick", &mcspi4_ick, CK_343X),
|
||||||
CLK("omap2_mcspi.3", "ick", &mcspi3_ick, CK_343X),
|
CLK("omap2_mcspi.3", "ick", &mcspi3_ick, CK_343X),
|
||||||
CLK("omap2_mcspi.2", "ick", &mcspi2_ick, CK_343X),
|
CLK("omap2_mcspi.2", "ick", &mcspi2_ick, CK_343X),
|
||||||
|
|
|
@ -590,8 +590,8 @@ static int __init omap_hdq_probe(struct platform_device *pdev)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* get interface & functional clock objects */
|
/* get interface & functional clock objects */
|
||||||
hdq_data->hdq_ick = clk_get(&pdev->dev, "hdq_ick");
|
hdq_data->hdq_ick = clk_get(&pdev->dev, "ick");
|
||||||
hdq_data->hdq_fck = clk_get(&pdev->dev, "hdq_fck");
|
hdq_data->hdq_fck = clk_get(&pdev->dev, "fck");
|
||||||
|
|
||||||
if (IS_ERR(hdq_data->hdq_ick) || IS_ERR(hdq_data->hdq_fck)) {
|
if (IS_ERR(hdq_data->hdq_ick) || IS_ERR(hdq_data->hdq_fck)) {
|
||||||
dev_dbg(&pdev->dev, "Can't get HDQ clock objects\n");
|
dev_dbg(&pdev->dev, "Can't get HDQ clock objects\n");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче