Skip to content

[qcom-next] clk: qcom: sc7280: add SDCC2 apps clock support - #121

Merged
varada-qcom merged 1 commit into
qualcomm-linux:qcom-nextfrom
balajiselvanathan:qc/sc7280-sdcc2-clk
Aug 21, 2026
Merged

[qcom-next] clk: qcom: sc7280: add SDCC2 apps clock support#121
varada-qcom merged 1 commit into
qualcomm-linux:qcom-nextfrom
balajiselvanathan:qc/sc7280-sdcc2-clk

Conversation

@balajiselvanathan

Copy link
Copy Markdown

Add the SDCC2 apps clock used by the external SD card port on sc7280. The frequency table covers the standard SD rates up to 202 MHz.

The 202 MHz rate sources from GPLL9, which the earlier boot stages leave disabled. Vote GPLL9 on before programming the RCG whenever the selected frequency uses it, reusing clk_enable_gpll0() with a GPLL9 vote descriptor.

Upstream link: https://lore.kernel.org/u-boot/20260820-sc7280-sdcc2-clk-v1-1-ef3227e4e49b@oss.qualcomm.com/

Add the SDCC2 apps clock used by the external SD card port on sc7280.
The frequency table covers the standard SD rates up to 202 MHz.

The 202 MHz rate sources from GPLL9, which the earlier boot stages
leave disabled. Vote GPLL9 on before programming the RCG whenever the
selected frequency uses it, reusing clk_enable_gpll0() with a GPLL9
vote descriptor.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
@varada-qcom
varada-qcom merged commit 4293a07 into qualcomm-linux:qcom-next Aug 21, 2026
1 of 3 checks passed
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