From: Thara Gopinath <thara@xxxxxx> This patch adds device name info to OMAP2 dmtimer fclk nodes so that the fclk nodes can be retrieved by doing a clk_get with the corresponding device pointers. Signed-off-by: Partha Basak <p-basak2@xxxxxx> Signed-off-by: Thara Gopinath <thara@xxxxxx> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@xxxxxx> Cc: Paul Walmsley <paul@xxxxxxxxx> Cc: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx> Cc: Tony Lindgren <tony@xxxxxxxxxxx> --- arch/arm/mach-omap2/clock2420_data.c | 12 ++++++++++++ arch/arm/mach-omap2/clock2430_data.c | 12 ++++++++++++ 2 files changed, 24 insertions(+), 0 deletions(-) mode change 100644 => 100755 arch/arm/mach-omap2/clock2420_data.c mode change 100644 => 100755 arch/arm/mach-omap2/clock2430_data.c diff --git a/arch/arm/mach-omap2/clock2420_data.c b/arch/arm/mach-omap2/clock2420_data.c index 37d65d6..2e606c1 --- a/arch/arm/mach-omap2/clock2420_data.c +++ b/arch/arm/mach-omap2/clock2420_data.c @@ -1788,6 +1788,18 @@ static struct omap_clk omap2420_clks[] = { CLK(NULL, "gpt11_fck", &gpt11_fck, CK_242X), CLK(NULL, "gpt12_ick", &gpt12_ick, CK_242X), CLK(NULL, "gpt12_fck", &gpt12_fck, CK_242X), + CLK("dmtimer.0", "fck", &gpt1_fck, CK_242X), + CLK("dmtimer.1", "fck", &gpt2_fck, CK_242X), + CLK("dmtimer.2", "fck", &gpt3_fck, CK_242X), + CLK("dmtimer.3", "fck", &gpt4_fck, CK_242X), + CLK("dmtimer.4", "fck", &gpt5_fck, CK_242X), + CLK("dmtimer.5", "fck", &gpt6_fck, CK_242X), + CLK("dmtimer.6", "fck", &gpt7_fck, CK_242X), + CLK("dmtimer.7", "fck", &gpt8_fck, CK_242X), + CLK("dmtimer.8", "fck", &gpt9_fck, CK_242X), + CLK("dmtimer.9", "fck", &gpt10_fck, CK_242X), + CLK("dmtimer.10", "fck", &gpt11_fck, CK_242X), + CLK("dmtimer.11", "fck", &gpt12_fck, CK_242X), CLK("omap-mcbsp.1", "ick", &mcbsp1_ick, CK_242X), CLK("omap-mcbsp.1", "fck", &mcbsp1_fck, CK_242X), CLK("omap-mcbsp.2", "ick", &mcbsp2_ick, CK_242X), diff --git a/arch/arm/mach-omap2/clock2430_data.c b/arch/arm/mach-omap2/clock2430_data.c index b33118f..f9104c3 --- a/arch/arm/mach-omap2/clock2430_data.c +++ b/arch/arm/mach-omap2/clock2430_data.c @@ -1874,6 +1874,18 @@ static struct omap_clk omap2430_clks[] = { CLK(NULL, "gpt11_fck", &gpt11_fck, CK_243X), CLK(NULL, "gpt12_ick", &gpt12_ick, CK_243X), CLK(NULL, "gpt12_fck", &gpt12_fck, CK_243X), + CLK("dmtimer.0", "fck", &gpt1_fck, CK_243X), + CLK("dmtimer.1", "fck", &gpt2_fck, CK_243X), + CLK("dmtimer.2", "fck", &gpt3_fck, CK_243X), + CLK("dmtimer.3", "fck", &gpt4_fck, CK_243X), + CLK("dmtimer.4", "fck", &gpt5_fck, CK_243X), + CLK("dmtimer.5", "fck", &gpt6_fck, CK_243X), + CLK("dmtimer.6", "fck", &gpt7_fck, CK_243X), + CLK("dmtimer.7", "fck", &gpt8_fck, CK_243X), + CLK("dmtimer.8", "fck", &gpt9_fck, CK_243X), + CLK("dmtimer.9", "fck", &gpt10_fck, CK_243X), + CLK("dmtimer.10", "fck", &gpt11_fck, CK_243X), + CLK("dmtimer.11", "fck", &gpt12_fck, CK_243X), CLK("omap-mcbsp.1", "ick", &mcbsp1_ick, CK_243X), CLK("omap-mcbsp.1", "fck", &mcbsp1_fck, CK_243X), CLK("omap-mcbsp.2", "ick", &mcbsp2_ick, CK_243X), -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html