u-boot/drivers/clk
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
..
altera drivers: clk: Update license for Intel N5X device 2022-07-01 15:00:39 +08:00
analogbits common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
aspeed clk: ast2600: Keep PLL power on 2023-03-06 17:03:56 -05:00
at91 clk: at91: Fix initializing arrays 2023-09-29 16:45:40 +03:00
exynos dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
imx common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
intel clk: x86: Correct the driver name 2021-01-30 14:25:41 -07:00
mediatek clk: mediatek: add clock driver support for MediaTek MT7988 SoC 2023-08-03 09:40:49 -04:00
meson clk: meson: update driver for g12a-ao clocks 2022-04-25 09:25:00 +02:00
microchip clk: microchip: mpfs: fix criticality of peripheral clocks 2022-11-15 15:37:17 +08:00
mtmips clk: mtmips: add clock driver for MediaTek MT7621 SoC 2022-07-13 23:03:37 +02:00
mvebu treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
nuvoton clk: nuvoton: fix bug for calculate pll clock 2023-02-12 12:39:46 -05:00
owl clk: actions: Add SD/MMC clocks 2022-01-18 12:48:17 -05:00
renesas clk: renesas: Add RZ/G2L & RZ/G2LC CPG driver 2023-10-16 15:46:18 +02:00
rockchip common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
sifive clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI 2023-07-06 17:28:08 +08:00
starfive clk: starfive: jh7110: Add of_xlate ops and macros for clock id conversion 2023-07-24 13:21:16 +08:00
stm32 clk: stm32mp1: Add support for USART1 clock 2023-10-04 13:26:03 +02:00
sunxi clk: sunxi: Add NAND clocks and resets 2023-04-28 01:06:57 +01:00
tegra clk: Remove no-op request and rfree callbacks 2022-02-24 23:58:13 -05:00
ti clk: ti: clk-sci: Notify AVS driver based upon clock rate 2023-10-12 14:06:04 -04:00
uniphier clk: uniphier: Add missing USB SS-PHY clocks 2023-02-22 19:40:11 +01:00
clk-cdce9xx.c clk: cdce9xx: Convert .of_xlate to .request 2022-02-24 23:58:13 -05:00
clk-composite.c clk: define LOG_CATEGORY for generic and ccf clocks 2021-12-15 12:16:16 -05:00
clk-divider.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk-fixed-factor.c clk: define LOG_CATEGORY for generic and ccf clocks 2021-12-15 12:16:16 -05:00
clk-gate.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk-gpio.c clk: Add GPIO-controlled clock gate driver 2023-09-09 04:53:31 +02:00
clk-hsdk-cgu.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk-mux.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk-uclass.c clk: Dont return error when assigned-clocks is empty or missing 2023-09-21 13:20:11 +02:00
clk-xlnx-clock-wizard.c clk: zynq: Add clock wizard driver 2021-06-23 09:48:35 +02:00
clk.c clk: ccf: Add some helper functions for clock ops 2022-03-30 13:03:29 -04:00
clk_bcm6345.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_boston.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk_fixed_factor.c clk: define LOG_CATEGORY for generic and ccf clocks 2021-12-15 12:16:16 -05:00
clk_fixed_rate.c clk: define LOG_CATEGORY for generic and ccf clocks 2021-12-15 12:16:16 -05:00
clk_k210.c Correct SPL uses of CMD_CLK 2023-02-09 16:32:25 -05:00
clk_octeon.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clk_pic32.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clk_sandbox.c clk: Make rfree return void 2022-03-30 13:02:55 -04:00
clk_sandbox_ccf.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk_sandbox_test.c clk: Make clk_free return void 2022-03-30 13:02:55 -04:00
clk_scmi.c scmi: refactor the code to hide a channel from devices 2023-10-13 16:59:23 -04:00
clk_versaclock.c ARM: dts: rmobile: Synchronize DTs with Linux 6.1.7 2023-02-02 01:49:19 +01:00
clk_versal.c Revert "clk: versal: Enable clock driver for Versal NET" 2023-10-09 12:14:05 +02:00
clk_vexpress_osc.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_zynq.c clk: Add clk_get_by_name_optional 2022-02-25 01:41:04 -05:00
clk_zynqmp.c clk: zynqmp: Add gem rx and tsu clocks to return register 2023-07-21 09:00:39 +02:00
ics8n3qv01.c clk: Remove no-op request and rfree callbacks 2022-02-24 23:58:13 -05:00
Kconfig clk: Add GPIO-controlled clock gate driver 2023-09-09 04:53:31 +02:00
Makefile clk: Add GPIO-controlled clock gate driver 2023-09-09 04:53:31 +02:00
mpc83xx_clk.c clk: mpc83xx: Fix clocks for mpc832x 2023-04-06 14:50:03 +02:00
mpc83xx_clk.h Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00