clk: ti: DRA7: Add timer_sys_ck aliases for Timers 13 through 16
authorSuman Anna <s-anna@ti.com>
Fri, 13 Mar 2015 22:58:38 +0000 (17:58 -0500)
committerTero Kristo <t-kristo@ti.com>
Tue, 24 Mar 2015 18:23:51 +0000 (20:23 +0200)
The OMAP DMTimer API, omap_dm_timer_set_source(), uses the clock name
timer_sys_ck for setting a timer's clock source for the source index
OMAP_TIMER_SRC_SYS_CLK. There is currently no clock alias data for
the Timers 13 through 16 for this clock name, so add the same.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/clk/ti/clk-7xx.c

index 256295eb51574e3300cfee955e38f1be20fba1da..5d2217ae447873656a9869649f0e89abe1028106 100644 (file)
@@ -300,6 +300,10 @@ static struct ti_dt_clk dra7xx_clks[] = {
        DT_CLK("48822000.timer", "timer_sys_ck", "timer_sys_clk_div"),
        DT_CLK("48824000.timer", "timer_sys_ck", "timer_sys_clk_div"),
        DT_CLK("48826000.timer", "timer_sys_ck", "timer_sys_clk_div"),
+       DT_CLK("48828000.timer", "timer_sys_ck", "timer_sys_clk_div"),
+       DT_CLK("4882a000.timer", "timer_sys_ck", "timer_sys_clk_div"),
+       DT_CLK("4882c000.timer", "timer_sys_ck", "timer_sys_clk_div"),
+       DT_CLK("4882e000.timer", "timer_sys_ck", "timer_sys_clk_div"),
        DT_CLK(NULL, "sys_clkin", "sys_clkin1"),
        { .node_name = NULL },
 };