diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-06-29 21:05:25 +0200 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2016-07-08 18:04:38 -0700 |
commit | 1a7e7c388df10b2636e4ba18cc29ef740fbea6cc (patch) | |
tree | 2a8cb1c6544e3dd1e3d8f23992c3818b82629ddc /drivers/clk/sunxi-ng/Kconfig | |
parent | 89a3dfb787072438f72de95ff3fe7b58213e08c1 (diff) |
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 <maxime.ripard@free-electrons.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20160629190535.11855-5-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 3d117d7a3621..2f135c8a61b6 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 |