Re: [PATCH 04/26] clk: prima2: declare OF clock provider

From: Sebastian Hesselbarth
Date: Fri Sep 27 2013 - 14:22:10 EST

On 09/22/2013 12:37 PM, Barry Song wrote:
2013/9/22 Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx>:
On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote:

On 09/19/13 10:45, Barry Song wrote:

@@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void)

of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data);
+CLK_OF_DECLARE(sirfsoc_clk, "sirf,prima2-clkc", sirfsoc_clk_init);

hi Sebastian,
what if the driver is compatible with multiple clk controllers and we
want to add another compatible string here except "sirf,prima2-clkc"?


Just add
CLK_OF_DECLARE(other_fancy_clk, "sirf,different-compatible",

Barry, BTW, do I get your Acked-By for this and the corresponding
removal patch?

Sebastian, would you wait for a while as i need to merge them and make a test.

Sure, take your time.
I now have almost all Acked-by's for the other patches, would be
great if you find some time to test this on prima2 anytime soon.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at