diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-02-12 15:58:32 +0100 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2018-03-13 10:03:58 +0100 |
commit | ea11dda9e091aba0fe6497108477699286a2d036 (patch) | |
tree | 66c38116ef525ea6bedecde93e39dd6738c70226 /drivers/clk/meson/Kconfig | |
parent | clk: meson: remove obsolete comments (diff) | |
download | linux-ea11dda9e091aba0fe6497108477699286a2d036.tar.xz linux-ea11dda9e091aba0fe6497108477699286a2d036.zip |
clk: meson: add regmap clocks
Meson clock controllers need to move the classical iomem registers to
regmap. This is triggered because the HHI controllers found on the GXBB
and GXL host more than just clocks. To properly handle this, we would
like to migrate HHI to syscon. Also GXBB AO clock controller already use
regmap, AXG AO and Audio clock controllers will as well.
The purpose of this change is to provide a common structure to these
meson controllers (and possibly others) for regmap based clocks.
This change provides the basic gate, mux and divider, based on the
helpers provided by the related generic clocks
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/Kconfig')
-rw-r--r-- | drivers/clk/meson/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/meson/Kconfig b/drivers/clk/meson/Kconfig index 7694302c70a4..e97e85077da1 100644 --- a/drivers/clk/meson/Kconfig +++ b/drivers/clk/meson/Kconfig @@ -3,6 +3,10 @@ config COMMON_CLK_AMLOGIC depends on OF depends on ARCH_MESON || COMPILE_TEST +config COMMON_CLK_REGMAP_MESON + bool + select REGMAP + config COMMON_CLK_MESON8B bool depends on COMMON_CLK_AMLOGIC |