Hi eyerone,
> 0001-ARM-OMAP-generic-add-call-to-of_clk_init.patch
>
>
> From 850120371830ffb5e2146aeb2d21c724d6ded09e Mon Sep 17 00:00:00 2001
> From: Daniel Mack <
zon...@gmail.com>
> Date: Tue, 19 Feb 2013 12:05:25 +0100
> Subject: [PATCH] ARM: OMAP: generic: add call to of_clk_init()
>
> This is needed to instanciate fixed clocks in the DT.
>
> Signed-off-by: Daniel Mack <
zon...@gmail.com>
> ---
> arch/arm/mach-omap2/board-generic.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
> index 0274ff7..3580f16 100644
> --- a/arch/arm/mach-omap2/board-generic.c
> +++ b/arch/arm/mach-omap2/board-generic.c
> @@ -15,6 +15,7 @@
> #include <linux/of_irq.h>
> #include <linux/of_platform.h>
> #include <linux/irqdomain.h>
> +#include <linux/clk-provider.h>
>
> #include <asm/mach/arch.h>
>
> @@ -35,6 +36,11 @@ static struct of_device_id omap_dt_match_table[] __initdata = {
> { }
> };
>
> +static const __initconst struct of_device_id clk_match[] = {
> + { .compatible = "fixed-clock", .data = of_fixed_clk_setup, },
> + {}
> +};
> +
> static void __init omap_generic_init(void)
> {
> omap_sdrc_init(NULL, NULL);
> @@ -49,6 +55,7 @@ static void __init omap_generic_init(void)
> omap4_panda_display_init_of();
> else if (of_machine_is_compatible("ti,omap4-sdp"))
> omap_4430sdp_display_init_of();
> + of_clk_init(clk_match);
> }
>
> #ifdef CONFIG_SOC_OMAP2420
Any opinion about this approach?