Re: [PATCH 1/2] clk: Add support for power of two type dividers

From: Rajendra Nayak
Date: Wed May 23 2012 - 00:46:10 EST


On Wednesday 23 May 2012 01:56 AM, Mike Turquette wrote:
On 20120517-15:52, Rajendra Nayak wrote:
Quite often dividers and the value programmed in the
register have a relation of 'power of two', something like
value div
0 1
1 2
2 4
3 8...

Add support for such dividers as part of clk-divider.

The clk-divider flag 'CLK_DIVIDER_POWER_OF_TWO' should be used
to define such clocks.

Signed-off-by: Rajendra Nayak<rnayak@xxxxxx>

Hi Rajendra,

This patch looks good to me. I'll take it into my clk-next branch
towards 3.6 since I'm done pulling stuff for 3.5.

It's good to see CLK_DIVIDER_POWER_OF_TWO finally get used :-)

great, thanks Mike.


Regards,
Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/