aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/renesas/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven2017-03-19 18:05:42 +0100
committerGeert Uytterhoeven2017-05-24 10:19:56 +0200
commitd4e59f108e904e4b58323a151a82d85a351c1eed (patch)
treee45eb528714403908f5810131b70c0927338cdfd /drivers/clk/renesas/Kconfig
parent0ea86f5a90574807fa85cc5bf4265bc25dc3438b (diff)
clk: renesas: r8a7790: Add new CPG/MSSR driver
Add a new R-Car H2 Clock Pulse Generator / Module Standby and Software Reset driver, using the CPG/MSSR driver core. This will enable support for module resets, which are not supported by the existing driver. The old driver can still be used through a Kconfig option, to preserve backward compatibility with old DTBs. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/clk/renesas/Kconfig')
-rw-r--r--drivers/clk/renesas/Kconfig13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/clk/renesas/Kconfig b/drivers/clk/renesas/Kconfig
index 9c8b44db39f1..beeeefc6e45b 100644
--- a/drivers/clk/renesas/Kconfig
+++ b/drivers/clk/renesas/Kconfig
@@ -19,6 +19,16 @@ config CLK_RENESAS
if CLK_RENESAS
+config CLK_RENESAS_LEGACY
+ bool "Legacy DT clock support"
+ depends on CLK_R8A7790
+ default y
+ help
+ Enable backward compatibility with old device trees describing a
+ hierarchical representation of the various CPG and MSTP clocks.
+
+ Say Y if you want your kernel to work with old DTBs.
+
# SoC
config CLK_EMEV2
bool "Emma Mobile EV2 clock support" if COMPILE_TEST
@@ -55,7 +65,8 @@ config CLK_R8A7779
config CLK_R8A7790
bool
- select CLK_RCAR_GEN2
+ select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
+ select CLK_RCAR_GEN2_CPG
select CLK_RENESAS_DIV6
config CLK_R8A7791