summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/ccu_nkmp.h
diff options
context:
space:
mode:
authorIcenowy Zheng2018-03-16 15:02:11 +0100
committerMaxime Ripard2018-03-18 21:16:54 +0100
commita910f251ee084230e2f8d214f1621346cec94e69 (patch)
tree0d6f3659b49faa55ca3b4af6a8f07f0bf52ed4ad /drivers/clk/sunxi-ng/ccu_nkmp.h
parentclk: sunxi-ng: h3: h5: export CLK_PLL_VIDEO (diff)
downloadkernel-qcow2-linux-a910f251ee084230e2f8d214f1621346cec94e69.tar.gz
kernel-qcow2-linux-a910f251ee084230e2f8d214f1621346cec94e69.tar.xz
kernel-qcow2-linux-a910f251ee084230e2f8d214f1621346cec94e69.zip
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.h2
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 a82facbc6144..6940503e7fc4 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;
};