mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
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>
This commit is contained in:
parent
2f6c3f4935
commit
f6c7122ce6
3 changed files with 1110 additions and 0 deletions
|
@ -150,3 +150,9 @@ config CLK_R8A779G0
|
||||||
depends on CLK_RCAR_GEN3
|
depends on CLK_RCAR_GEN3
|
||||||
help
|
help
|
||||||
Enable this to support the clocks on Renesas R8A779G0 SoC.
|
Enable this to support the clocks on Renesas R8A779G0 SoC.
|
||||||
|
|
||||||
|
config CLK_R9A06G032
|
||||||
|
bool "Renesas R9A06G032 clock driver"
|
||||||
|
depends on CLK_RENESAS
|
||||||
|
help
|
||||||
|
Enable this to support the clocks on Renesas R9A06G032 SoC.
|
||||||
|
|
|
@ -22,3 +22,4 @@ obj-$(CONFIG_CLK_R8A77995) += r8a77995-cpg-mssr.o
|
||||||
obj-$(CONFIG_CLK_R8A779A0) += r8a779a0-cpg-mssr.o
|
obj-$(CONFIG_CLK_R8A779A0) += r8a779a0-cpg-mssr.o
|
||||||
obj-$(CONFIG_CLK_R8A779F0) += r8a779f0-cpg-mssr.o
|
obj-$(CONFIG_CLK_R8A779F0) += r8a779f0-cpg-mssr.o
|
||||||
obj-$(CONFIG_CLK_R8A779G0) += r8a779g0-cpg-mssr.o
|
obj-$(CONFIG_CLK_R8A779G0) += r8a779g0-cpg-mssr.o
|
||||||
|
obj-$(CONFIG_CLK_R9A06G032) += r9a06g032-clocks.o
|
||||||
|
|
1103
drivers/clk/renesas/r9a06g032-clocks.c
Normal file
1103
drivers/clk/renesas/r9a06g032-clocks.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue