summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-06-29 21:05:31 +0200
committerMichael Turquette <mturquette@baylibre.com>2016-07-08 18:05:00 -0700
commit6174a1e24b0d13f85f64ff570e9d4efc6b0d6287 (patch)
treed5949cf527ca41aa26f69c0bcc4dc3f0414fa70f /drivers/clk/sunxi-ng/Kconfig
parentadbfb0056e03d556b98ffe93da0d7126bd630096 (diff)
downloadop-kernel-dev-6174a1e24b0d13f85f64ff570e9d4efc6b0d6287.zip
op-kernel-dev-6174a1e24b0d13f85f64ff570e9d4efc6b0d6287.tar.gz
clk: sunxi-ng: Add N-M-factor clock support
Introduce support for clocks that multiply and divide using linear factors. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20160629190535.11855-11-maxime.ripard@free-electrons.com
Diffstat (limited to 'drivers/clk/sunxi-ng/Kconfig')
-rw-r--r--drivers/clk/sunxi-ng/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig
index 2eb0fc6..d8a5da2 100644
--- a/drivers/clk/sunxi-ng/Kconfig
+++ b/drivers/clk/sunxi-ng/Kconfig
@@ -28,6 +28,12 @@ config SUNXI_CCU_NK
bool
select SUNXI_CCU_GATE
+config SUNXI_CCU_NM
+ bool
+ select RATIONAL
+ select SUNXI_CCU_FRAC
+ select SUNXI_CCU_GATE
+
config SUNXI_CCU_MP
bool
select SUNXI_CCU_GATE
OpenPOWER on IntegriCloud