u-boot/drivers/clk
Stephan Gerhold 1079d4bf2e
clk: qcom: apq8016: Fix SDCC clock warnings
As of commit dc8754e8e4 ("clk/qcom: apq8016: improve clk_enable logging")
there are now warnings in the U-Boot console on DragonBoard 410c:

  apq8016_clk_enable: unknown clk id 122
  apq8016_clk_enable: unknown clk id 123
  apq8016_clk_enable: unknown clk id 124
  apq8016_clk_enable: unknown clk id 125

This is because we don't implement enable() properly for the SDCC clocks.
Currently they are being enabled as part of set_rate().

Fix this by moving the enable calls out of the apq8016_clk_init_sdc()
function and convert them to the equivalent GATE_CLK_POLLED() definitions.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Link: https://lore.kernel.org/r/20250424-apq8016-clock-fixes2-v2-6-fcc371c9e45f@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
2025-06-02 18:20:16 +02:00
..
adi Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
airoha reset: airoha: Add driver for controlling reset line of AN7581 2025-04-01 08:44:51 -06:00
altera drivers: clk: agilex5: Set PLL to asynchronous mode 2025-02-25 10:53:41 -06:00
analogbits clk: sifive: append missing \n to messages 2024-09-10 10:10:43 +08:00
aspeed Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
at91 Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
exynos global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
imx spi: fspi: Add imxrt1170 device data 2025-05-12 18:42:53 -03:00
intel Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mediatek arm: mediatek: remove CONFIG_MT8512 2025-02-21 11:36:37 -06:00
meson clk: meson: gxbb: add HDMI clocks 2024-10-14 09:06:16 +02:00
microchip clk: microchip: mpfs: support new syscon based devicetree configuration 2024-10-29 19:58:22 +08:00
mtmips Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvebu Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
nuvoton clk: nuvoton: add read only feature for clk driver 2023-12-15 13:05:55 -05:00
owl Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
qcom clk: qcom: apq8016: Fix SDCC clock warnings 2025-06-02 18:20:16 +02:00
renesas clk: rzg2l: Ignore disable for core clocks 2025-03-11 23:06:18 +01:00
rockchip clk: rockchip: Add rk3576 clk support 2025-04-23 22:12:05 +08:00
sifive drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
sophgo clk: sophgo: Fix return values of register updating helpers 2025-03-25 12:13:42 +08:00
starfive dts: starfive: Switch to using upstream DT 2024-12-18 13:19:15 +08:00
stm32 clk: stm32mp1: fix DSI clock setting 2025-04-25 16:00:22 +02:00
sunxi clk: sunxi: Add support for the A100/A133 CCU 2025-03-27 00:26:35 +00:00
tegra driver: clk: tegra: init basic clocks on probe 2024-12-16 17:07:39 -06:00
thead clk: thead: Port clock controller driver of TH1520 SoC 2025-05-21 16:49:57 +08:00
ti arm: mach-k3: j721e: Split out J7200 SoC support from J721e 2025-04-05 18:28:02 -06:00
uniphier Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_bcm6345.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_boston.c clk: boston: Allow to get regmap from parent device 2025-04-22 15:08:47 -06:00
clk_fixed_factor.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_fixed_rate.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_k210.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_octeon.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clk_pic32.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_sandbox_ccf.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_sandbox_test.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_sandbox.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_scmi.c clk: scmi: check the clock state/parent/rate control permissions 2025-05-03 16:55:32 -03:00
clk_versaclock.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_versal.c clk: versal: Store driver data in data section 2025-03-03 16:09:59 +01:00
clk_vexpress_osc.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
clk_zynq.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
clk_zynqmp.c clk: zynqmp: Add set_rate support for display clocks 2024-08-05 16:10:36 +02:00
clk-cdce9xx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk-composite.c clk: imx: Pass CCM udevice into clk_register_composite() 2025-04-28 10:42:01 -03:00
clk-divider.c clk: clk-divider: Resolve parent clock by name 2025-03-24 08:51:35 -03:00
clk-fixed-factor.c clk: clk-fixed-factor: Resolve parent clock by name 2025-03-24 08:51:35 -03:00
clk-gate.c clk: clk-gate: Resolve parent clock by name 2025-03-24 08:51:34 -03:00
clk-gpio.c clk: clk-gpio: add actual gated clock 2024-01-29 22:35:34 -05:00
clk-hsdk-cgu.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk-mux.c clk: clk-mux: Resolve parent clock by name 2025-03-24 08:51:34 -03:00
clk-stub.c clk: stub: add qcom,glink-smd-rpm 2025-04-10 15:43:11 +02:00
clk-uclass.c clk: Fix clk_set_parent() regression 2025-05-12 08:04:51 -06:00
clk-xlnx-clock-wizard.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ics8n3qv01.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig clk: thead: Port clock controller driver of TH1520 SoC 2025-05-21 16:49:57 +08:00
Makefile clk: thead: Port clock controller driver of TH1520 SoC 2025-05-21 16:49:57 +08:00
mpc83xx_clk.c global_data: Move pci_clk to m68k and powerpc 2024-08-26 14:05:37 -06:00
mpc83xx_clk.h clk: mpc83xx: Fix typo in "Coherent System Bus" 2024-12-15 02:03:52 +01:00