[RFC 0/2] clk: pass the 'flags' parameter to clk_fixed()

Antony Pavlov antonynpavlov at gmail.com
Thu Dec 6 03:25:34 EST 2012


The 'flags' parameter make possible creation
of a 'CLK_ALWAYS_ENABLED' clock without code overhead.

So it is possible to create clock this way
 clk_fixed("main_clock", 24000000, 0);
or that way
 clk_fixed("main_clock", 24000000, CLK_ALWAYS_ENABLED);

I can't check my clk_fixed-related changes for ARM-based
boards, so please consider, do we need CLK_ALWAYS_ENABLED
in the patch '[RFC 2/2]' or we need '0'.

[RFC 1/2] clk: pass the 'flags' parameter to clk_fixed()
[RFC 2/2] ARM: pass the 'flags'=0 parameter to clk_fixed()



More information about the barebox mailing list