]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: renesas: add R906G032 driver
authorRalph Siemsen <ralph.siemsen@linaro.org>
Sat, 13 May 2023 01:36:51 +0000 (21:36 -0400)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 13 May 2023 02:01:30 +0000 (04:01 +0200)
commitf6c7122ce699e748ad848b62112ee6f3943054e5
tree98ce63201a9188acb3bfbece5c78c0732f2c2f2b
parent2f6c3f49354a856089d182bb0ee84745e0a68ab1
clk: renesas: add R906G032 driver

Clock driver for the Renesas RZ/N1 SoC family. This is based on
Linux kernel 6.2.y drivers/clk/renesas/r9a06g032-clocks.c as found in
commit 02693e11611e ("clk: renesas: r9a06g032: Repair grave increment error"),
with the following additional patch series applied:
https://lore.kernel.org/linux-renesas-soc/20230301215520.828455-1-ralph.siemsen@linaro.org/

Notable difference: this version avoids allocating a 'struct clk'
for each clock source, as this is problematic before relocation.
Instead, it uses the same approach as existing Renesas R-Car Gen2/3
clock drivers, using a temporary structure filled on-the-fly.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/clk/renesas/Kconfig
drivers/clk/renesas/Makefile
drivers/clk/renesas/r9a06g032-clocks.c [new file with mode: 0644]