Re: [PATCH v2 1/2] clk: sunxi: Add support for A80 APBS clock

2016-02-12 Thread Rob Herring
On Fri, Feb 12, 2016 at 05:31:14PM +0800, Chen-Yu Tsai wrote: > A80's APBS clock is not the same as the APB0 clock on A23. The A80's > is a zero-based divider, while the A23's is a power-of-two divider. > > Replace the CLK_OF_DECLARE version of sun8i-a23-apb0. This also extends > the common setup

[PATCH v2 1/2] clk: sunxi: Add support for A80 APBS clock

2016-02-12 Thread Chen-Yu Tsai
A80's APBS clock is not the same as the APB0 clock on A23. The A80's is a zero-based divider, while the A23's is a power-of-two divider. Replace the CLK_OF_DECLARE version of sun8i-a23-apb0. This also extends the common setup function to take div clk flags. Signed-off-by: Chen-Yu Tsai --- Docum