Skip to content

Commit 470e3f0

Browse files
shimodaygeertu
authored andcommitted
clk: renesas: rcar-gen4: Introduce R-Car Gen4 CPG driver
According to the official website [1], the R-Car V3U SoC is based on the R-Car Gen4 architecture. So, introduce R-Car Gen4 CPG driver. [1] https://www.renesas.com/us/en/products/automotive-products/automotive-system-chips-socs/r-car-v3u-best-class-r-car-v3u-asil-d-system-chip-automated-driving Signed-off-by: Yoshihiro Shimoda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 33b22d9 commit 470e3f0

File tree

7 files changed

+437
-341
lines changed

7 files changed

+437
-341
lines changed

drivers/clk/renesas/Kconfig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ config CLK_R8A77995
149149

150150
config CLK_R8A779A0
151151
bool "R-Car V3U clock support" if COMPILE_TEST
152-
select CLK_RCAR_CPG_LIB
153-
select CLK_RENESAS_CPG_MSSR
152+
select CLK_RCAR_GEN4_CPG
154153

155154
config CLK_R9A06G032
156155
bool "RZ/N1D clock support" if COMPILE_TEST
@@ -178,6 +177,11 @@ config CLK_RCAR_GEN3_CPG
178177
select CLK_RCAR_CPG_LIB
179178
select CLK_RENESAS_CPG_MSSR
180179

180+
config CLK_RCAR_GEN4_CPG
181+
bool "R-Car Gen4 clock support" if COMPILE_TEST
182+
select CLK_RCAR_CPG_LIB
183+
select CLK_RENESAS_CPG_MSSR
184+
181185
config CLK_RCAR_USB2_CLOCK_SEL
182186
bool "Renesas R-Car USB2 clock selector support"
183187
depends on ARCH_RENESAS || COMPILE_TEST

drivers/clk/renesas/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ obj-$(CONFIG_CLK_SH73A0) += clk-sh73a0.o
3636
obj-$(CONFIG_CLK_RCAR_CPG_LIB) += rcar-cpg-lib.o
3737
obj-$(CONFIG_CLK_RCAR_GEN2_CPG) += rcar-gen2-cpg.o
3838
obj-$(CONFIG_CLK_RCAR_GEN3_CPG) += rcar-gen3-cpg.o
39+
obj-$(CONFIG_CLK_RCAR_GEN4_CPG) += rcar-gen4-cpg.o
3940
obj-$(CONFIG_CLK_RCAR_USB2_CLOCK_SEL) += rcar-usb2-clock-sel.o
4041
obj-$(CONFIG_CLK_RZG2L) += rzg2l-cpg.o
4142

0 commit comments

Comments
 (0)