On 4/24/25 11:16, Stephan Gerhold wrote:
Fix some issues in the clock-apq8016 driver that I noticed while testing U-Boot v2025.07-rc on the DragonBoard 410c. Make it possible to poll the clock status with GATE_CLK() to avoid potential race conditions. Signed-off-by: Stephan Gerhold <stephan.gerh...@linaro.org>
Reviewed-by: Casey Connolly <casey.conno...@linaro.org> Thanks!> ---
Changes in v2: - Rename BRANCH_CLK() -> GATE_CLK_POLLED() and clarify with comment (Casey) - Add R-b tags from Neil (I assumed the rename is minor enough to keep them) - Link to v1: https://lore.kernel.org/r/20250422-apq8016-clock-fixes2-v1-0-bfc9dd933...@linaro.org --- Stephan Gerhold (6): clk: qcom: apq8016: Fix SDCC clock addresses clk: qcom: Move qcom_gate_clk_en() to C file clk: qcom: Use setbits_le32() for qcom_gate_clk_en() clk: qcom: Allow polling for clock status in qcom_gate_clk_en() clk: qcom: apq8016: Convert GATE_CLK() to GATE_CLK_POLLED() clk: qcom: apq8016: Fix SDCC clock warnings drivers/clk/qcom/clock-apq8016.c | 17 ++++++++--------- drivers/clk/qcom/clock-qcom.c | 27 +++++++++++++++++++++++++++ drivers/clk/qcom/clock-qcom.h | 26 ++++++++++---------------- 3 files changed, 45 insertions(+), 25 deletions(-) --- base-commit: 233fda6af674736dbc6ff37a9ef003b9fa4b8074 change-id: 20250419-apq8016-clock-fixes2-66ace5b26ab4 Best regards,
-- Casey (she/they)