Skip to content

RFC clk: pass the 'flags' parameter to clk_fixed()

Antony Pavlov barebox 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: pass the 'flags' parameter to clk_fixed()drivers/clk/clk-fixed.c include/linux/clk.h+3 -20 replies
2/2ARM: pass the 'flags'=0 parameter to clk_fixed()arch/arm/mach-bcm2835/core.c arch/arm/mach-imx/clk-imx1.c arch/arm/mach-imx/clk-imx21.c +6 more+25 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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()

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox