[PATCH v4 4/6] clk: sunxi: Add support for table-based divider clocks

2014-06-26 Thread Chen-Yu Tsai
A few of the clock modules have odd dividers, such as the 2 lowest dividers being the same (2), or have the same divider when the highest bit is set. This patch adds support for optional divider tables, so the clock framework will know about the odd values. Signed-off-by: Chen-Yu Tsai Acked-by:

[PATCH v4 4/6] clk: sunxi: Add support for table-based divider clocks

2014-06-26 Thread Chen-Yu Tsai
A few of the clock modules have odd dividers, such as the 2 lowest dividers being the same (2), or have the same divider when the highest bit is set. This patch adds support for optional divider tables, so the clock framework will know about the odd values. Signed-off-by: Chen-Yu Tsai