u-boot/drivers/clk/renesas
Paul Barker 1918ff5c95 clk: renesas: Add RZ/G2L & RZ/G2LC CPG driver
This driver provides clock and reset control for the Renesas R9A07G044L
(RZ/G2L) and R9A07G044C (RZ/G2LC) SoC. It consists of two parts:

* driver code which is applicable to all SoCs in the RZ/G2L family.

* static data describing the clocks and resets which are specific to the
  R9A07G044{L,C} SoCs. The identifier r9a07g044 (without a final letter)
  is used to indicate that both SoCs are supported.

clk_set_rate() and clk_get_rate() are implemented only for the clocks
that are actually used in u-boot.

The CPG driver is marked with DM_FLAG_PRE_RELOC to ensure that its bind
function is called before the SCIF (serial port) driver is probed. This
is required so that we can de-assert the relevant reset signal during
the serial driver probe function.

This patch is based on the corresponding Linux v6.5 driver
(commit 52e12027d50affbf60c6c9c64db8017391b0c22e).

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2023-10-16 15:46:18 +02:00
..
clk-rcar-gen2.c clk: renesas: Convert Gen2/Gen3 clock tables to clk-provider struct clk_div_table 2023-02-02 01:49:20 +01:00
clk-rcar-gen3.c clk: renesas: Tear clock controller down last before booting OS 2023-08-13 00:03:36 +02:00
Kconfig clk: renesas: Add RZ/G2L & RZ/G2LC CPG driver 2023-10-16 15:46:18 +02:00
Makefile clk: renesas: Add RZ/G2L & RZ/G2LC CPG driver 2023-10-16 15:46:18 +02:00
r8a774a1-cpg-mssr.c clk: renesas: Synchronize R8A774A1 RZ/G2M clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a774b1-cpg-mssr.c clk: renesas: Synchronize R8A774B1 RZ/G2N clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a774c0-cpg-mssr.c clk: renesas: Synchronize R8A774C0 RZ/G2E clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a774e1-cpg-mssr.c clk: renesas: Synchronize R8A774E1 RZ/G2H clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a779a0-cpg-mssr.c clk: renesas: Synchronize R8A779A0 V3U clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a779f0-cpg-mssr.c clk: renesas: Synchronize R8A779F0 S4 clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a779g0-cpg-mssr.c clk: renesas: Synchronize R8A779G0 V4H clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a7790-cpg-mssr.c clk: renesas: Synchronize R8A7790 H2 clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a7791-cpg-mssr.c clk: renesas: Synchronize R8A7791 M2-W and R8A7793 M2-N clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a7792-cpg-mssr.c clk: renesas: Synchronize R8A7792 V2H clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a7794-cpg-mssr.c clk: renesas: Synchronize R8A7794 E2 clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a7795-cpg-mssr.c clk: renesas: Synchronize R8A77951 H3 clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a7796-cpg-mssr.c clk: renesas: Synchronize R8A77960 M3-W and R8A77961 M3-W+ clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a77965-cpg-mssr.c clk: renesas: Synchronize R8A77965 M3-N clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a77970-cpg-mssr.c clk: renesas: Synchronize R8A77970 V3M clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a77980-cpg-mssr.c clk: renesas: Synchronize R8A77980 V3H clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a77990-cpg-mssr.c clk: renesas: Synchronize R8A77990 E3 clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r8a77995-cpg-mssr.c clk: renesas: Synchronize R8A77995 D3 clock tables with Linux 6.5.3 2023-10-01 00:08:28 +02:00
r9a06g032-clocks.c clk: renesas: add R906G032 driver 2023-05-13 04:01:30 +02:00
r9a07g044-cpg.c clk: renesas: Add RZ/G2L & RZ/G2LC CPG driver 2023-10-16 15:46:18 +02:00
rcar-cpg-lib.c clk: renesas: rcar-gen3: Factor out CPG library 2023-02-02 01:49:20 +01:00
rcar-cpg-lib.h clk: renesas: rcar-gen3: Factor out CPG library 2023-02-02 01:49:20 +01:00
rcar-gen2-cpg.h clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
rcar-gen3-cpg.h clk: renesas: Update R-Car Gen3 driver Gen4 support 2023-04-07 17:13:28 +02:00
renesas-cpg-mssr.c clk: renesas: Update R-Car Gen3 driver Gen4 support 2023-04-07 17:13:28 +02:00
renesas-cpg-mssr.h clk: renesas: Update R-Car Gen3 driver Gen4 support 2023-04-07 17:13:28 +02:00
rzg2l-cpg.c clk: renesas: Add RZ/G2L & RZ/G2LC CPG driver 2023-10-16 15:46:18 +02:00
rzg2l-cpg.h clk: renesas: Add RZ/G2L & RZ/G2LC CPG driver 2023-10-16 15:46:18 +02:00