FROMLIST: scsi: ufs: ufs-qcom: Add specified gear support for multi gear scaling - #1756
Merged
nitinrawat123 merged 2 commits intoAug 29, 2026
Merged
Conversation
…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>
ggiriprasad
force-pushed
the
storage_all_new
branch
from
August 29, 2026 10:07
e8b9b1e to
286bec8
Compare
qcomlnxci
requested review from
a team and
nitinrawat123
and removed request for
a team
August 29, 2026 10:11
nitinrawat123
merged commit Aug 29, 2026
cb6192d
into
qualcomm-linux:tech/storage/all
5 of 9 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/