Skip to content

Commit ef3c613

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: Add CPG core wrapper for RZ/G2L SoC
Add CPG core wrapper for RZ/G2L family. Based on a patch in the BSP by Binh Nguyen <[email protected]>. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent f8ec891 commit ef3c613

File tree

4 files changed

+883
-0
lines changed

4 files changed

+883
-0
lines changed

drivers/clk/renesas/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ config CLK_RCAR_USB2_CLOCK_SEL
182182
help
183183
This is a driver for R-Car USB2 clock selector
184184

185+
config CLK_RZG2L
186+
bool "Renesas RZ/G2L family clock support" if COMPILE_TEST
187+
select RESET_CONTROLLER
188+
185189
# Generic
186190
config CLK_RENESAS_CPG_MSSR
187191
bool "CPG/MSSR clock support" if 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_RCAR_CPG_LIB) += rcar-cpg-lib.o
3636
obj-$(CONFIG_CLK_RCAR_GEN2_CPG) += rcar-gen2-cpg.o
3737
obj-$(CONFIG_CLK_RCAR_GEN3_CPG) += rcar-gen3-cpg.o
3838
obj-$(CONFIG_CLK_RCAR_USB2_CLOCK_SEL) += rcar-usb2-clock-sel.o
39+
obj-$(CONFIG_CLK_RZG2L) += renesas-rzg2l-cpg.o
3940

4041
# Generic
4142
obj-$(CONFIG_CLK_RENESAS_CPG_MSSR) += renesas-cpg-mssr.o

0 commit comments

Comments
 (0)