diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-10-16 11:41:19 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-05-24 10:19:59 +0200 |
commit | 6449ab814148bb2b9a3006a44da5fde656e599b8 (patch) | |
tree | 1359f827c9f1c55c3abe876a3a5eb247f8cc2d04 /drivers/clk/renesas/renesas-cpg-mssr.c | |
parent | d4e59f108e904e4b58323a151a82d85a351c1eed (diff) | |
download | lwn-6449ab814148bb2b9a3006a44da5fde656e599b8.tar.gz lwn-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/renesas-cpg-mssr.c')
-rw-r--r-- | drivers/clk/renesas/renesas-cpg-mssr.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/clk/renesas/renesas-cpg-mssr.c b/drivers/clk/renesas/renesas-cpg-mssr.c index 76cb7a992b1a..ea6a47148030 100644 --- a/drivers/clk/renesas/renesas-cpg-mssr.c +++ b/drivers/clk/renesas/renesas-cpg-mssr.c @@ -645,6 +645,17 @@ static const struct of_device_id cpg_mssr_match[] = { .data = &r8a7790_cpg_mssr_info, }, #endif +#ifdef CONFIG_CLK_R8A7791 + { + .compatible = "renesas,r8a7791-cpg-mssr", + .data = &r8a7791_cpg_mssr_info, + }, + /* R-Car M2-N is (almost) identical to R-Car M2-W w.r.t. clocks. */ + { + .compatible = "renesas,r8a7793-cpg-mssr", + .data = &r8a7791_cpg_mssr_info, + }, +#endif #ifdef CONFIG_CLK_R8A7795 { .compatible = "renesas,r8a7795-cpg-mssr", |