u-boot/drivers/clk
Andre Przywara d6cb09d89d clk: sunxi: add and use dummy gate clocks
Some devices enumerate various clocks in their DT, and many drivers
just blanketly try to enable all of them. This creates problems
since we only model a few gate clocks, and the clock driver outputs
a warning when a clock is not described:
=========
sunxi_set_gate: (CLK#3) unhandled
=========

Some clocks don't have an enable bit, or are already enabled in a
different way, so we might want to just ignore them.

Add a CCU_CLK_F_DUMMY_GATE flag that indicates that case, and define
a GATE_DUMMY macro that can be used in the clock description array.
Define a few clocks, used by some pinctrl devices, that way to suppress
the runtime warnings.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
2022-05-24 01:16:15 +01: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 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
at91 clk: Use generic CCF ops where possible 2022-03-30 14:18:56 -04:00
exynos dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
imx clk: imx8mp: Fix 24M and 32k clock 2022-04-13 09:38:25 +02: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 clk: meson: update driver for g12a-ao clocks 2022-04-25 09:25:00 +02:00
microchip clk: Use generic CCF ops where possible 2022-03-30 14:18:56 -04: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
nuvoton clk: nuvoton: Add support for NPCM750 2022-05-05 09:28:47 -04:00
owl clk: actions: Add SD/MMC clocks 2022-01-18 12:48:17 -05:00
renesas treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
rockchip rockchip: rk3066: add clock driver for rk3066 soc 2022-04-18 11:25:13 +08:00
sifive clk: sifive: Fix -Wint-to-pointer-cast warning 2021-10-20 10:59:09 +08:00
sunxi clk: sunxi: add and use dummy gate clocks 2022-05-24 01:16:15 +01:00
tegra clk: Remove no-op request and rfree callbacks 2022-02-24 23:58:13 -05:00
ti clk: Remove no-op request and rfree callbacks 2022-02-24 23:58:13 -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: Consolidate some clock functions 2022-03-30 13:03:26 -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: use the board vendor name rather than the marketing name 2022-03-15 17:43:11 +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: fix scmi_clk_get_attibute() 2022-05-05 19:37:11 -04:00
clk_stm32f.c treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
clk_stm32h7.c treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
clk_stm32mp1.c clk: stm32mp1: Add missing newline 2022-05-10 13:56:11 +02:00
clk_versaclock.c clk: versaclock: Remove xlate function 2022-02-24 23:58:13 -05: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 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 vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
Makefile clk: nuvoton: Add support for NPCM750 2022-05-05 09:28:47 -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