clk: sunxi-ng: Support fixed post-dividers on NKMP style clocks
commita910f251ee084230e2f8d214f1621346cec94e69
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 16 Mar 2018 14:02:11 +0000 (16 22:02 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Sun, 18 Mar 2018 20:16:54 +0000 (18 21:16 +0100)
tree0d6f3659b49faa55ca3b4af6a8f07f0bf52ed4ad
parent55de0f31df1a31b346edfe98d061f11162ff1ad4
clk: sunxi-ng: Support fixed post-dividers on NKMP style clocks

On the new Allwinner H6 SoC, multiple PLL's are NMP style clocks
(modelled as NKMP with no K) and have fixed post-dividers.

Add fixed post divider support to the NKMP style clocks.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/clk/sunxi-ng/ccu_nkmp.c
drivers/clk/sunxi-ng/ccu_nkmp.h