[PATCH 0/3] CCF clock divider changes

Maxime COQUELIN maxime.coquelin at st.com
Wed Jan 29 11:24:05 EST 2014


Hi Mike,

First patch fixes round_rate for power-of-two and table-based dividers when
the CLK_SET_RATE_PARENT flag isn't set.

Second patch introduces a new flag to give the possibility to round the
divider to the closest one, instead of rounding up by default.

Third patch optimizes the for-loop when CLK_SET_RATE_PARENT is set for
power-of-two and table-based dividers.

The series applies on top of v3.13 tag.

Maxime Coquelin (3):
  clk: divider: Fix best div calculation for power-of-two and table
    dividers
  clk: divider: Add round to closest divider
  clk: divider: Optimize clk_divider_bestdiv loop

 drivers/clk/clk-divider.c    |  118 ++++++++++++++++++++++++++++++++++++++++--
 include/linux/clk-provider.h |    3 ++
 2 files changed, 118 insertions(+), 3 deletions(-)

-- 
1.7.9.5




More information about the linux-arm-kernel mailing list