Skip to content

FROMLIST: scsi: ufs: ufs-qcom: Add specified gear support for multi gear scaling - #1756

Merged
nitinrawat123 merged 2 commits into
qualcomm-linux:tech/storage/allfrom
ggiriprasad:storage_all_new
Aug 29, 2026
Merged

FROMLIST: scsi: ufs: ufs-qcom: Add specified gear support for multi gear scaling#1756
nitinrawat123 merged 2 commits into
qualcomm-linux:tech/storage/allfrom
ggiriprasad:storage_all_new

Conversation

@ggiriprasad

Copy link
Copy Markdown

This patch series adds support for configuring UFS gear speeds on a per-OPP frequency basis for Qualcomm UFS host controllers, enabling more flexible
multi-gear scaling.
[PATCH v1 1/2] scsi: ufs: ufs-qcom: Add specified gear support for multi gear scaling

The UFS clock frequency and gear speed do not necessarily have a strict one-to-one correspondence on all platforms. Introduce a device tree based
configuration interface that allows specifying the HS gear speed for each supported operating frequency via the "opp-level" property in the OPP table. When
this property is not configured, the driver falls back to the default frequency-to-gear mapping table.

[PATCH v1 2/2] arm64: dts: qcom: Set specified gear configuration for Hamoa

Assign the appropriate UFS HS gear speed levels to each OPP frequency entry in the device tree, enabling proper per-frequency gear scaling (G1 at 75MHz, G3
at 150MHz, G5 at 300MHz).

Link: https://lore.kernel.org/linux-scsi/20260829074355.946543-1-nitin.rawat@oss.qualcomm.com/

…ear scaling

The UFS clock frequency and gear speed do not necessarily have a strict
one-to-one correspondence on all platforms. Introduce a device tree
based configuration interface that allows specifying the HS gear
speed for each supported operating frequency via the "opp-level"
property in the OPP table. When this property is not configured, the
driver falls back to the default frequency-to-gear mapping table.

Signed-off-by: Ziqi Chen <ziqi.chen@oss.qualcomm.com>
Signed-off-by: Nitin Rawat <nitin.rawat@oss.qualcomm.com>
Signed-off-by: Giri Prasad Goriparthi <giri.goriparthi@oss.qualcomm.com>
Assign the appropriate UFS HS gear speed levels to each OPP frequency
entry in the device tree, enabling proper per-frequency gear
scaling (G1 at 75MHz, G3 at 150MHz, G5 at 300MHz).

Signed-off-by: Nitin Rawat <nitin.rawat@oss.qualcomm.com>
Signed-off-by: Giri Prasad Goriparthi <giri.goriparthi@oss.qualcomm.com>
@qcomlnxci
qcomlnxci requested review from a team and nitinrawat123 and removed request for a team August 29, 2026 10:11
@nitinrawat123
nitinrawat123 merged commit cb6192d into qualcomm-linux:tech/storage/all Aug 29, 2026
5 of 9 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.

3 participants