[PATCH v2 0/7] Add UFS clock support for Qualcomm SoCs
Casey Connolly
casey.connolly at linaro.org
Tue May 5 15:01:33 CEST 2026
On 27/04/2026 11:26, Balaji Selvanathan wrote:
> This series adds UFS clock support for QCS615, SA8775P SoCs and
> enables U-Boot to initialize UFS clocks independently.
>
> Previously, U-Boot depended on earlier bootloader stages to
> initialize UFS clocks. When these bootloaders failed to do so,
> UFS registers became inaccessible, preventing UFS initialization.
> This series removes that dependency by adding clock infrastructure
> and enabling U-Boot to configure UFS clocks directly.
>
> Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
Reviewed-by: Casey Connolly <casey.connolly at linaro.org>
> ---
> Changes in v2:
> - Sort compatibles in drivers/clk/clk-stub.c alphabetically
> - Remove duplicate sc7280 compatible which was already there
> - Remove ufs_qcom_init_clks function and move the clock enabling and
> rate set codes to ufs_qcom_init
> - Remove ufs_qcom_setup_clocks POST_CHANGE duplicate call
> - Link to v1: https://lore.kernel.org/u-boot/20260319-ufs_probe_clk-v1-0-08c085d6b15d@oss.qualcomm.com/
>
> ---
> Balaji Selvanathan (7):
> clk: stub: Sort compatible strings alphabetically
> clk: qcom: clk-stub: Add compatibles for QCS615/SA8775P
> clk: qcom: sa8775p: Add UFS clock support
> clk: qcom: qcs615: Add UFS clock support
> clk: qcom: sc7280: Add UFS clock support
> drivers: ufs: qcom: Initialize and enable clocks before hardware access
> ufs: qcom: Remove redundant POST_CHANGE clock setup call
>
> drivers/clk/clk-stub.c | 6 ++--
> drivers/clk/qcom/clock-qcs615.c | 63 +++++++++++++++++++++++++++++++++++++++-
> drivers/clk/qcom/clock-sa8775p.c | 63 ++++++++++++++++++++++++++++++++++++++++
> drivers/clk/qcom/clock-sc7280.c | 52 +++++++++++++++++++++++++++++++++
> drivers/ufs/ufs-qcom.c | 54 ++++++++++++++++++++++------------
> 5 files changed, 217 insertions(+), 21 deletions(-)
> ---
> base-commit: 9f61fd5b80a43ae20ba115e3a2933d47d720ab82
> change-id: 20260427-ufs_clk-49c917afbc6f
>
> Best regards,
--
// Casey (she/her)
More information about the U-Boot
mailing list