[PATCH V1 0/2] scsi: ufs: ufs-qcom: Add specified gear support for multi gear scaling
From: Nitin Rawat
Date: Sat Aug 29 2026 - 03:44:30 EST
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.
On certain Qualcomm platforms, the UFS clock frequency and gear speed
do not have a strict one-to-one mapping. To handle this, the first patch
introduces a device tree based configuration mechanism using the
"opp-level" property within the OPP table. This allows each supported
operating frequency to be explicitly associated with a specific HS gear
speed. When this property is absent, the driver gracefully falls back to
the existing default frequency-to-gear lookup table.
The second patch applies this configuration to the Hamoa platform,
assigning the appropriate HS gear levels (G1, G3, G5) to the
corresponding OPP frequency entries in the device tree.
Nitin Rawat (1):
arm64: dts: qcom: Set specified gear configuration for Hamoa
Ziqi Chen (1):
scsi: ufs: ufs-qcom: Add specified gear support for multi gear scaling
arch/arm64/boot/dts/qcom/hamoa.dtsi | 3 +++
drivers/ufs/host/ufs-qcom.c | 30 +++++++++++++++++++++++++----
2 files changed, 29 insertions(+), 4 deletions(-)
--
2.34.1