aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/renesas/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-10-16 11:41:19 +0200
committerGeert Uytterhoeven <geert+renesas@glider.be>2017-05-24 10:19:59 +0200
commit6449ab814148bb2b9a3006a44da5fde656e599b8 (patch)
tree1359f827c9f1c55c3abe876a3a5eb247f8cc2d04 /drivers/clk/renesas/Kconfig
parentclk: renesas: r8a7790: Add new CPG/MSSR driver (diff)
downloadlinux-dev-6449ab814148bb2b9a3006a44da5fde656e599b8.tar.xz
linux-dev-6449ab814148bb2b9a3006a44da5fde656e599b8.zip
clk: renesas: r8a7791/r8a7793: Add new CPG/MSSR driver
Add a new R-Car M2-W/N 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/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/clk/renesas/Kconfig b/drivers/clk/renesas/Kconfig
index beeeefc6e45b..9826ac6a7596 100644
--- a/drivers/clk/renesas/Kconfig
+++ b/drivers/clk/renesas/Kconfig
@@ -21,7 +21,7 @@ if CLK_RENESAS
config CLK_RENESAS_LEGACY
bool "Legacy DT clock support"
- depends on CLK_R8A7790
+ depends on CLK_R8A7790 || CLK_R8A7791
default y
help
Enable backward compatibility with old device trees describing a
@@ -71,7 +71,8 @@ config CLK_R8A7790
config CLK_R8A7791
bool
- select CLK_RCAR_GEN2
+ select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
+ select CLK_RCAR_GEN2_CPG
select CLK_RENESAS_DIV6
config CLK_R8A7792