u-boot/drivers/clk
Hai Pham 1b4ca865b2 clk: renesas: rcar-gen3: Factor out CPG library
R-Car V3U has a CPG different enough to not be a generic Gen3 CPG but
similar enough to reuse code. Introduce a new CPG library, factor out
the SD clock and RPC clock handling and hook them to the generic Gen3
CPG driver so we have an equal state.

Based on Linux commit [1] and [2] by Wolfram Sang

[1] 8bb67d87346a ("clk: renesas: rcar-gen3: Factor out CPG library")
[2] 6f21d145b90f ("clk: renesas: cpg-lib: Move RPC clock registration to
the library")

Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Marek: - Add rcar_clk_* prefix to all functions
       - Rebase on changes to
         clk: renesas: Introduce and use rcar_clk_get_rate64_div_table function
       - Use u32_encode_bits/GENMASK bitfield ops
2023-02-02 01:49:20 +01:00
..
altera drivers: clk: Update license for Intel N5X device 2022-07-01 15:00:39 +08:00
analogbits clk: sifive: Sync-up WRPLL library with upstream Linux 2019-07-19 14:24:51 +08:00
aspeed clk: aspeed: Get HCLK frequency support 2022-09-13 12:08:40 -04:00
at91 global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
exynos dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
imx clk-imx8mm: Only build QSPI clocks when CONFIG_NXP_FSPI=y 2022-10-21 11:54:13 +02: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 MT7981 SoC 2022-09-23 15:09:16 -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: Add support for NPCM845 2022-10-06 21:05:17 -04:00
owl clk: actions: Add SD/MMC clocks 2022-01-18 12:48:17 -05:00
renesas clk: renesas: rcar-gen3: Factor out CPG library 2023-02-02 01:49:20 +01:00
rockchip clk: rockchip: Add rv1126 clk support 2023-01-16 18:01:11 +08:00
sifive dt-bindings: clock: sifive: sync FU740 PRCI clock binding header 2022-09-06 13:00:15 +08:00
stm32 clk: stm32mp13: introduce STM32MP13 RCC driver 2022-12-07 16:49:35 +01:00
sunxi clk: sunxi: Add DE2 display-related clocks/resets 2023-01-23 01:18:31 +00:00
tegra clk: Remove no-op request and rfree callbacks 2022-02-24 23:58:13 -05:00
ti arm: mach-k3: am62a: introduce auto-generated SoC data 2022-12-09 14:10:28 -05:00
uniphier clk: uniphier: Add PCIe clock entry 2021-07-14 16:48:05 -04: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 clk: define LOG_CATEGORY for generic and ccf clocks 2021-12-15 12:16:16 -05: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 clk: define LOG_CATEGORY for generic and ccf clocks 2021-12-15 12:16:16 -05:00
clk-hsdk-cgu.c clk: Update drivers to use -EINVAL 2021-04-06 16:33:19 +12:00
clk-mux.c clk: define LOG_CATEGORY for generic and ccf clocks 2021-12-15 12:16:16 -05:00
clk-uclass.c clk: update clk_clean_rate_cache to use private clk struct 2022-10-19 12:28:30 -04: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 dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07: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 k210: fix k210_pll_calc_config() 2022-10-20 15:22:30 +08: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 clk: scmi: support SCMI multi-channel 2022-06-23 13:12:55 -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 clk: versal: Return error in case if clock setup failed 2023-01-16 15:33:58 +01: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 support for for DP audio/video clocks 2022-04-05 15:09:47 +02:00
ics8n3qv01.c clk: Remove no-op request and rfree callbacks 2022-02-24 23:58:13 -05:00
Kconfig clk: versal: Enable clock driver for Versal NET 2022-09-26 14:23:29 +02:00
Makefile clk: Add directory for STM32 clock drivers 2022-06-17 14:11:43 +02:00
mpc83xx_clk.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc83xx_clk.h Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00