u-boot/drivers/clk
Tom Rini 2f8a6db5d8 Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig
In order to finish moving this symbol to Kconfig for all platforms, we
need to do a few more things.  First, for all platforms that define this
to a function, introduce CONFIG_DYNAMIC_SYS_CLK_FREQ, similar to
CONFIG_DYNAMIC_DDR_CLK_FREQ and populate clock_legacy.h.  This entails
also switching all users from CONFIG_SYS_CLK_FREQ to get_board_sys_clk()
and updating a few preprocessor tests.

With that done, all platforms that define a value here can be converted
to Kconfig, and a fall-back of zero is sufficiently safe to use (and
what is used today in cases where code may or may not have this
available).  Make sure that code which calls this function includes
<clock_legacy.h> to get the prototype.

Signed-off-by: Tom Rini <trini@konsulko.com>
2021-12-27 16:20:18 -05:00
..
altera drivers: clk: Add memory clock driver for Intel N5X device 2021-08-25 12:55:13 +08:00
analogbits clk: sifive: Sync-up WRPLL library with upstream Linux 2019-07-19 14:24:51 +08:00
aspeed clk: ast2600: Add RSACLK control for ACRY 2021-11-17 17:05:00 -05:00
at91 WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
exynos dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
imx WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
intel clk: x86: Correct the driver name 2021-01-30 14:25:41 -07:00
mediatek clk: mediatek: Add MT8183 clock driver 2021-01-18 15:14:13 -05:00
meson WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
microchip clk: mpfs_clk: Enable DM_FLAG_PRE_RELOC flag 2021-04-08 15:37:30 +08:00
mtmips clk: add clock driver for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mvebu clk: armada-37xx: Set DM_FLAG_PRE_RELOC 2021-07-08 16:40:52 +02:00
owl dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
renesas clk: renesas: Add R8A779A0 clock tables 2021-06-24 20:22:17 +02:00
rockchip clk: rockchip: rk3568: update clks 2021-10-15 20:57:31 +08:00
sifive clk: sifive: Fix -Wint-to-pointer-cast warning 2021-10-20 10:59:09 +08:00
sunxi clk: sunxi: Extend DM_RESET selection to SPL 2021-10-25 14:54:06 +01:00
tegra common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ti clk: ti: add am33xx/am43xx spread spectrum clock support 2021-10-11 14:27:32 -04:00
uniphier clk: uniphier: Add PCIe clock entry 2021-07-14 16:48:05 -04:00
clk-cdce9xx.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07: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: cosmetic: reorder include files 2021-12-15 12:16:16 -05:00
clk-xlnx-clock-wizard.c clk: zynq: Add clock wizard driver 2021-06-23 09:48:35 +02:00
clk.c clk: define LOG_CATEGORY for generic and ccf clocks 2021-12-15 12:16:16 -05: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_kendryte.c clk: k210: Try harder to get the best config 2021-10-07 16:08:23 +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: sandbox: Create a special fixed-rate driver 2021-03-26 17:03:08 +13: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: sandbox: Move priv/plat data to a header file 2021-03-26 17:03:08 +13:00
clk_scmi.c clk: scmi: define LOG_CATEGORY 2021-11-23 13:53:03 -05:00
clk_stm32f.c clk: clk_stm32f: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
clk_stm32h7.c clk: clk_stm32h7: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
clk_stm32mp1.c stm32mp15: replace CONFIG_TFABOOT when it is possible 2021-11-10 17:07:31 +01:00
clk_versaclock.c clk: clk_versaclock: Add support for versaclock driver 2021-08-21 18:23:02 -04:00
clk_versal.c clk: versal: Enable only GATE type clocks 2021-09-30 12:30:28 +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 Xilinx changes for v2021.04-rc3 2021-02-23 10:45:55 -05:00
clk_zynqmp.c clk: zynqmp: Add support for enabling clock on lpd_lsbus 2021-07-26 09:18:45 +02:00
ics8n3qv01.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
Kconfig clk: clk_versaclock: Add support for versaclock driver 2021-08-21 18:23:02 -04:00
Makefile clk: clk_versaclock: Add support for versaclock driver 2021-08-21 18:23:02 -04: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