u-boot/drivers/clk/qcom
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
..
clock-apq8016.c clk: qcom: apq8016: Fix SDCC clock warnings 2025-06-02 18:20:16 +02:00
clock-apq8096.c clk/qcom: apq8096: fix the sdhci clock 2025-04-10 15:43:11 +02:00
clock-ipq4019.c clock: qcom: ipq4019: add missing networking resets 2024-07-26 01:53:12 +02:00
clock-ipq9574.c clk/qcom: add initial clock driver for ipq9574 2025-03-17 13:38:17 +00:00
clock-qcm2290.c clk/qcom: qcm2290: show clock name in set_rate() 2025-05-02 08:38:02 -06:00
clock-qcom.c clk: qcom: Allow polling for clock status in qcom_gate_clk_en() 2025-06-02 18:20:15 +02:00
clock-qcom.h clk: qcom: Allow polling for clock status in qcom_gate_clk_en() 2025-06-02 18:20:15 +02:00
clock-qcs404.c drivers: clk: Remove duplicate newlines 2024-07-22 10:53:04 -06:00
clock-sa8775p.c clk/qcom: bubble up qcom_gate_clk_en() errors 2025-03-17 15:12:15 +00:00
clock-sc7280.c clk/qcom: sc7280: add missing UFS and MMC clocks 2025-04-10 15:43:10 +02:00
clock-sdm845.c clk/qcom: sdm845: add GCC_AGGRE_UFS_PHY_AXI_CLK 2025-04-10 15:43:08 +02:00
clock-sm6115.c clk/qcom: bubble up qcom_gate_clk_en() errors 2025-03-17 15:12:15 +00:00
clock-sm8150.c clk/qcom: bubble up qcom_gate_clk_en() errors 2025-03-17 15:12:15 +00:00
clock-sm8250.c clk/qcom: bubble up qcom_gate_clk_en() errors 2025-03-17 15:12:15 +00:00
clock-sm8550.c clk/qcom: bubble up qcom_gate_clk_en() errors 2025-03-17 15:12:15 +00:00
clock-sm8650.c clk/qcom: bubble up qcom_gate_clk_en() errors 2025-03-17 15:12:15 +00:00
clock-x1e80100.c clk/qcom: bubble up qcom_gate_clk_en() errors 2025-03-17 15:12:15 +00:00
Kconfig clk/qcom: add initial clock driver for ipq9574 2025-03-17 13:38:17 +00:00
Makefile clk/qcom: add initial clock driver for ipq9574 2025-03-17 13:38:17 +00:00