From 1a7e7c388df10b2636e4ba18cc29ef740fbea6cc Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 29 Jun 2016 21:05:25 +0200 Subject: clk: sunxi-ng: Add gate clock support Some clocks in the Allwinner SoCs clocks unit are just simple gates. Add support for those clocks. Since it's a feature that can also be found in more complex clocks, provide a bunch of helpers that can be reused later on. Signed-off-by: Maxime Ripard Signed-off-by: Michael Turquette Link: lkml.kernel.org/r/20160629190535.11855-5-maxime.ripard@free-electrons.com --- drivers/clk/sunxi-ng/Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/clk/sunxi-ng/Kconfig') diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 3d117d7..2f135c8 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -9,4 +9,7 @@ if SUNXI_CCU config SUNXI_CCU_FRAC bool +config SUNXI_CCU_GATE + bool + endif -- cgit v1.1