OMAP3xxx: clock: add clkdev aliases for McBSP fclk source switching
The OMAP3 clock tree already contains the infrastructure to support clock framework-based McBSP functional clock source switching. But it did not contain the clkdev aliases for the McBSP code to refer to the parent clocks in an SoC integration-neutral way. So, add the clkdev aliases for the parent clocks. Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
Родитель
b115b743c2
Коммит
829e5b127a
|
@ -3208,6 +3208,11 @@ static struct omap_clk omap3xxx_clks[] = {
|
|||
CLK(NULL, "osc_sys_ck", &osc_sys_ck, CK_3XXX),
|
||||
CLK(NULL, "sys_ck", &sys_ck, CK_3XXX),
|
||||
CLK(NULL, "sys_altclk", &sys_altclk, CK_3XXX),
|
||||
CLK("omap-mcbsp.1", "pad_fck", &mcbsp_clks, CK_3XXX),
|
||||
CLK("omap-mcbsp.2", "pad_fck", &mcbsp_clks, CK_3XXX),
|
||||
CLK("omap-mcbsp.3", "pad_fck", &mcbsp_clks, CK_3XXX),
|
||||
CLK("omap-mcbsp.4", "pad_fck", &mcbsp_clks, CK_3XXX),
|
||||
CLK("omap-mcbsp.5", "pad_fck", &mcbsp_clks, CK_3XXX),
|
||||
CLK(NULL, "mcbsp_clks", &mcbsp_clks, CK_3XXX),
|
||||
CLK(NULL, "sys_clkout1", &sys_clkout1, CK_3XXX),
|
||||
CLK(NULL, "dpll1_ck", &dpll1_ck, CK_3XXX),
|
||||
|
@ -3273,6 +3278,8 @@ static struct omap_clk omap3xxx_clks[] = {
|
|||
CLK(NULL, "cpefuse_fck", &cpefuse_fck, CK_3430ES2 | CK_AM35XX),
|
||||
CLK(NULL, "ts_fck", &ts_fck, CK_3430ES2 | CK_AM35XX),
|
||||
CLK(NULL, "usbtll_fck", &usbtll_fck, CK_3430ES2 | CK_AM35XX),
|
||||
CLK("omap-mcbsp.1", "prcm_fck", &core_96m_fck, CK_3XXX),
|
||||
CLK("omap-mcbsp.5", "prcm_fck", &core_96m_fck, CK_3XXX),
|
||||
CLK(NULL, "core_96m_fck", &core_96m_fck, CK_3XXX),
|
||||
CLK("mmci-omap-hs.2", "fck", &mmchs3_fck, CK_3430ES2 | CK_AM35XX),
|
||||
CLK("mmci-omap-hs.1", "fck", &mmchs2_fck, CK_3XXX),
|
||||
|
@ -3366,6 +3373,9 @@ static struct omap_clk omap3xxx_clks[] = {
|
|||
CLK(NULL, "omap_32ksync_ick", &omap_32ksync_ick, CK_3XXX),
|
||||
CLK(NULL, "gpt12_ick", &gpt12_ick, CK_3XXX),
|
||||
CLK(NULL, "gpt1_ick", &gpt1_ick, CK_3XXX),
|
||||
CLK("omap-mcbsp.2", "prcm_fck", &per_96m_fck, CK_3XXX),
|
||||
CLK("omap-mcbsp.3", "prcm_fck", &per_96m_fck, CK_3XXX),
|
||||
CLK("omap-mcbsp.4", "prcm_fck", &per_96m_fck, CK_3XXX),
|
||||
CLK(NULL, "per_96m_fck", &per_96m_fck, CK_3XXX),
|
||||
CLK(NULL, "per_48m_fck", &per_48m_fck, CK_3XXX),
|
||||
CLK(NULL, "uart3_fck", &uart3_fck, CK_3XXX),
|
||||
|
|
Загрузка…
Ссылка в новой задаче