]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: renesas: prepare for non R-Car clock drivers
authorRalph Siemsen <ralph.siemsen@linaro.org>
Sat, 13 May 2023 01:36:50 +0000 (21:36 -0400)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 13 May 2023 02:01:30 +0000 (04:01 +0200)
commit2f6c3f49354a856089d182bb0ee84745e0a68ab1
tree8f29a112787a565d04753a88fbab6e69dd655fc4
parent54232a705729f26bf569ee6d314f96b7acdb485e
clk: renesas: prepare for non R-Car clock drivers

Add new CONFIG_CLK_RCAR to control compilation of shared code for R-Car
clock drivers (renesas-cpg-mssr.c). Enable this for R-Car Gen2 and 3.

This is necessary so that CONFIG_CLK_RENESAS can be enabled, allowing
recursion into the drivers/clk/reneasas directory, without bringing in
the R-Car support code. The support code contains platform specific
access (TMU_BASE) which is not needed on other Renesas devices such as
RZ/N1.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/clk/renesas/Kconfig
drivers/clk/renesas/Makefile