Skip to content

[qcom-next] clk: qcom: use GATE_CLK_POLLED for CBCR-backed gate clocks - #116

Open
balajiselvanathan wants to merge 3 commits into
qualcomm-linux:qcom-nextfrom
balajiselvanathan:qc/clk-gate-polled
Open

[qcom-next] clk: qcom: use GATE_CLK_POLLED for CBCR-backed gate clocks#116
balajiselvanathan wants to merge 3 commits into
qualcomm-linux:qcom-nextfrom
balajiselvanathan:qc/clk-gate-polled

Conversation

@balajiselvanathan

Copy link
Copy Markdown

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.

Upstream link: https://lore.kernel.org/u-boot/20260723-clk_gate-v1-0-9549cad4d097@oss.qualcomm.com/

Convert the USB3 and UFS PHY reference clocks in the sa8775p gate
clock table from GATE_CLK() to GATE_CLK_POLLED(), so their enable
status is polled against the per-clock CBCR register instead of
assuming the enable write completed immediately.


Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Convert the USB3, UFS PHY, and SDCC gate clocks in
the sc7280 gate clock table from GATE_CLK() to GATE_CLK_POLLED(), so
their enable status is polled against the per-clock CBCR register
instead of assuming the enable write completed immediately.


Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Convert the USB3, display, and UFS PHY gate clocks in the qcs615 gate
clock table from GATE_CLK() to GATE_CLK_POLLED(), so their enable
status is polled against the per-clock CBCR register instead of
assuming the enable write completed immediately.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants