[PATCH v2 0/3] clk: qcom: use GATE_CLK_POLLED for CBCR-backed gate clocks

Balaji Selvanathan <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
Convert CBCR-backed gate clocks in the sa8775p, sc7280, and qcs615
clock drivers from GATE_CLK() to GATE_CLK_POLLED(), so clock enable is
confirmed by polling the per-clock CBCR status bit instead of assuming
the enable write took effect immediately.

Signed-off-by: Balaji Selvanathan <[email protected]>
---
Changes in v2:
- keep the USB3 pipe and UFS TX/RX symbol clocks unpolled across
  sa8775p, sc7280, and qcs615; their CBCR only clears CLK_OFF once the
  QMP PHY is running, so polling them at GCC enable time would time out
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Balaji Selvanathan (3):
      clk: qcom: sa8775p: use GATE_CLK_POLLED for CBCR-backed gate clocks
      clk: qcom: sc7280: use GATE_CLK_POLLED for CBCR-backed gate clocks
      clk: qcom: qcs615: use GATE_CLK_POLLED for CBCR-backed gate clocks

 drivers/clk/qcom/clock-qcs615.c  | 38 ++++++++++++++-------------
 drivers/clk/qcom/clock-sa8775p.c | 36 +++++++++++++-------------
 drivers/clk/qcom/clock-sc7280.c  | 56 +++++++++++++++++++++-------------------
 3 files changed, 67 insertions(+), 63 deletions(-)
---
base-commit: de02bc0eccb76aec8272abed651c35ab120f4844
change-id: 20260723-clk_gate-1c5e54a8ae47

Best regards,
-- 
Balaji Selvanathan <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.