summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/Kconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-07-31 10:40:17 +0200
committerJerome Brunet <jbrunet@baylibre.com>2019-08-09 12:10:03 +0200
commit26d34431add04a98a60b8935c25765914fa773f7 (patch)
treee38143104bf5f1d1521b82eee12d321244cb49cd /drivers/clk/meson/Kconfig
parent3567894b6914813299300019e028874927210880 (diff)
clk: meson: add g12a cpu dynamic divider driver
Add a clock driver for the cpu dynamic divider, this divider needs to have a flag set before setting the divider value then removed while writing the new value to the register. This drivers implements this behavior and will be used essentially on the Amlogic G12A and G12B SoCs for cpu clock trees. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/Kconfig')
-rw-r--r--drivers/clk/meson/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/clk/meson/Kconfig b/drivers/clk/meson/Kconfig
index 500be0b0d473..dabeb435d067 100644
--- a/drivers/clk/meson/Kconfig
+++ b/drivers/clk/meson/Kconfig
@@ -36,6 +36,10 @@ config COMMON_CLK_MESON_EE_CLKC
tristate
select COMMON_CLK_MESON_REGMAP
+config COMMON_CLK_MESON_CPU_DYNDIV
+ tristate
+ select COMMON_CLK_MESON_REGMAP
+
config COMMON_CLK_MESON8B
bool
depends on ARCH_MESON
@@ -98,6 +102,7 @@ config COMMON_CLK_G12A
select COMMON_CLK_MESON_PLL
select COMMON_CLK_MESON_AO_CLKC
select COMMON_CLK_MESON_EE_CLKC
+ select COMMON_CLK_MESON_CPU_DYNDIV
select MFD_SYSCON
help
Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2