Skip to content

Commit 92d1eba

Browse files
committed
clk: renesas: Rename CLK_R8A7796 to CLK_R8A77960
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 <[email protected]> Reviewed-by: Yoshihiro Shimoda <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e751a25 commit 92d1eba

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

drivers/clk/renesas/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ config CLK_RENESAS
2121
select CLK_R8A7792 if ARCH_R8A7792
2222
select CLK_R8A7794 if ARCH_R8A7794
2323
select CLK_R8A7795 if ARCH_R8A7795
24-
select CLK_R8A7796 if ARCH_R8A7796
24+
select CLK_R8A77960 if ARCH_R8A77960 || ARCH_R8A7796
2525
select CLK_R8A77965 if ARCH_R8A77965
2626
select CLK_R8A77970 if ARCH_R8A77970
2727
select CLK_R8A77980 if ARCH_R8A77980
@@ -109,7 +109,7 @@ config CLK_R8A7795
109109
bool "R-Car H3 clock support" if COMPILE_TEST
110110
select CLK_RCAR_GEN3_CPG
111111

112-
config CLK_R8A7796
112+
config CLK_R8A77960
113113
bool "R-Car M3-W clock support" if COMPILE_TEST
114114
select CLK_RCAR_GEN3_CPG
115115

drivers/clk/renesas/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ obj-$(CONFIG_CLK_R8A7791) += r8a7791-cpg-mssr.o
1818
obj-$(CONFIG_CLK_R8A7792) += r8a7792-cpg-mssr.o
1919
obj-$(CONFIG_CLK_R8A7794) += r8a7794-cpg-mssr.o
2020
obj-$(CONFIG_CLK_R8A7795) += r8a7795-cpg-mssr.o
21-
obj-$(CONFIG_CLK_R8A7796) += r8a7796-cpg-mssr.o
21+
obj-$(CONFIG_CLK_R8A77960) += r8a7796-cpg-mssr.o
2222
obj-$(CONFIG_CLK_R8A77965) += r8a77965-cpg-mssr.o
2323
obj-$(CONFIG_CLK_R8A77970) += r8a77970-cpg-mssr.o
2424
obj-$(CONFIG_CLK_R8A77980) += r8a77980-cpg-mssr.o

drivers/clk/renesas/renesas-cpg-mssr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ static const struct of_device_id cpg_mssr_match[] = {
749749
.data = &r8a7795_cpg_mssr_info,
750750
},
751751
#endif
752-
#ifdef CONFIG_CLK_R8A7796
752+
#ifdef CONFIG_CLK_R8A77960
753753
{
754754
.compatible = "renesas,r8a7796-cpg-mssr",
755755
.data = &r8a7796_cpg_mssr_info,

0 commit comments

Comments
 (0)