]> git.baikalelectronics.ru Git - uboot.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)
commitf5b313f1bb5c354afe6d4eb5be90547c5fdb6cca
tree8f29a112787a565d04753a88fbab6e69dd655fc4
parent620377b81fa8552a9eabd69b2b7b96d4a0bf335c
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