diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2018-03-16 22:02:11 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-03-18 21:16:54 +0100 |
commit | a910f251ee084230e2f8d214f1621346cec94e69 (patch) | |
tree | 0d6f3659b49faa55ca3b4af6a8f07f0bf52ed4ad /drivers/clk/sunxi-ng/ccu_nkmp.h | |
parent | 55de0f31df1a31b346edfe98d061f11162ff1ad4 (diff) | |
download | op-kernel-dev-a910f251ee084230e2f8d214f1621346cec94e69.zip op-kernel-dev-a910f251ee084230e2f8d214f1621346cec94e69.tar.gz |
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>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu_nkmp.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu_nkmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/ccu_nkmp.h b/drivers/clk/sunxi-ng/ccu_nkmp.h index a82facb..6940503 100644 --- a/drivers/clk/sunxi-ng/ccu_nkmp.h +++ b/drivers/clk/sunxi-ng/ccu_nkmp.h @@ -34,6 +34,8 @@ struct ccu_nkmp { struct ccu_div_internal m; struct ccu_div_internal p; + unsigned int fixed_post_div; + struct ccu_common common; }; |