diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-06-29 21:05:26 +0200 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2016-07-08 18:04:42 -0700 |
commit | 2a65ed42dca8721fb7aa397cc3c7321fbb3b7dba (patch) | |
tree | 16865d1a874d3a7af878de85877fe638bdd85735 /drivers/clk/sunxi-ng/Kconfig | |
parent | 1a7e7c388df10b2636e4ba18cc29ef740fbea6cc (diff) |
clk: sunxi-ng: Add mux clock support
Some clocks in the Allwinner SoCs clocks unit are just muxes.
However, those muxes might also be found in some other complicated clocks
that would benefit from the code in there to deal with "advanced" features,
like pre-dividers.
Introduce a set of helpers to reduce the code duplication in such cases.
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-6-maxime.ripard@free-electrons.com
Diffstat (limited to 'drivers/clk/sunxi-ng/Kconfig')
-rw-r--r-- | drivers/clk/sunxi-ng/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 2f135c8a61b6..4699a602e0c1 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -12,4 +12,7 @@ config SUNXI_CCU_FRAC config SUNXI_CCU_GATE bool +config SUNXI_CCU_MUX + bool + endif |