Re: [PATCH RFC 07/11] clk: sunxi: factors: Support custom formulas
From: Maxime Ripard
Date: Wed Jan 27 2016 - 12:32:52 EST
On Mon, Jan 25, 2016 at 09:15:43PM +0800, Chen-Yu Tsai wrote:
> Some clocks cannot be modelled using the standard factors clk formula,
> such as clocks with special pre-dividers on one parent, or clocks
> with all power-of-two dividers.
> Add support for a custom .recalc callback for factors clk. Also pass
> the current parent index to the .get_factor and .recalc callbacks.
> Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
Description: Digital signature