clk: renesas: Rename CLK_R8A7796 to CLK_R8A77960
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 23 Oct 2019 12:29:40 +0000 (14:29 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 1 Nov 2019 12:36:38 +0000 (13:36 +0100)
Rename CONFIG_CLK_R8A7796 for R-Car M3-W (R8A77960) to
CONFIG_CLK_R8A77960, to avoid confusion with R-Car M3-W+ (R8A77961),
which will use CONFIG_CLK_R8A77961.

Extend the dependency of CONFIG_CLK_R8A77960 from CONFIG_ARCH_R8A7796 to
CONFIG_ARCH_R8A77960, to relax dependencies for a future rename of the
SoC configuration symbol.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20191023122941.12342-4-geert+renesas@glider.be
drivers/clk/renesas/Kconfig
drivers/clk/renesas/Makefile
drivers/clk/renesas/renesas-cpg-mssr.c

index be03bb74801252bc567099beebe70c19dd5a02a3..a48f75ec1400c090a85246665bcec66ec3dc7362 100644 (file)
@@ -21,7 +21,7 @@ config CLK_RENESAS
        select CLK_R8A7792 if ARCH_R8A7792
        select CLK_R8A7794 if ARCH_R8A7794
        select CLK_R8A7795 if ARCH_R8A7795
-       select CLK_R8A7796 if ARCH_R8A7796
+       select CLK_R8A77960 if ARCH_R8A77960 || ARCH_R8A7796
        select CLK_R8A77965 if ARCH_R8A77965
        select CLK_R8A77970 if ARCH_R8A77970
        select CLK_R8A77980 if ARCH_R8A77980
@@ -109,7 +109,7 @@ config CLK_R8A7795
        bool "R-Car H3 clock support" if COMPILE_TEST
        select CLK_RCAR_GEN3_CPG
 
-config CLK_R8A7796
+config CLK_R8A77960
        bool "R-Car M3-W clock support" if COMPILE_TEST
        select CLK_RCAR_GEN3_CPG
 
index ef0fdd00d2b741b200a1697dd32469e5cdf80d7a..58211d0f04bf4d4b7a66f8e50462308ea6d3686b 100644 (file)
@@ -18,7 +18,7 @@ obj-$(CONFIG_CLK_R8A7791)             += r8a7791-cpg-mssr.o
 obj-$(CONFIG_CLK_R8A7792)              += r8a7792-cpg-mssr.o
 obj-$(CONFIG_CLK_R8A7794)              += r8a7794-cpg-mssr.o
 obj-$(CONFIG_CLK_R8A7795)              += r8a7795-cpg-mssr.o
-obj-$(CONFIG_CLK_R8A7796             += r8a7796-cpg-mssr.o
+obj-$(CONFIG_CLK_R8A77960)             += r8a7796-cpg-mssr.o
 obj-$(CONFIG_CLK_R8A77965)             += r8a77965-cpg-mssr.o
 obj-$(CONFIG_CLK_R8A77970)             += r8a77970-cpg-mssr.o
 obj-$(CONFIG_CLK_R8A77980)             += r8a77980-cpg-mssr.o
index 35966678148e2c8bffb1306f10a9329e79ed486f..c2f96e63498e14cc2003d6e08003e0a84aae0442 100644 (file)
@@ -749,7 +749,7 @@ static const struct of_device_id cpg_mssr_match[] = {
                .data = &r8a7795_cpg_mssr_info,
        },
 #endif
-#ifdef CONFIG_CLK_R8A7796
+#ifdef CONFIG_CLK_R8A77960
        {
                .compatible = "renesas,r8a7796-cpg-mssr",
                .data = &r8a7796_cpg_mssr_info,