Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH V1 0/2] scsi: ufs: ufs-qcom: Add specified gear support for multi gear scaling
@ 2026-08-29  7:43 Nitin Rawat
  2026-08-29  7:43 ` [PATCH V1 1/2] " Nitin Rawat
  2026-08-29  7:43 ` [PATCH V1 2/2] arm64: dts: qcom: Set specified gear configuration for Hamoa Nitin Rawat
  0 siblings, 2 replies; 5+ messages in thread
From: Nitin Rawat @ 2026-08-29  7:43 UTC (permalink / raw)
  To: krzk+dt, robh, conor+dt, andersson, konradybcio, mani,
	James.Bottomley, mkp
  Cc: linux-arm-msm, linux-kernel, devicetree, linux-scsi, Nitin Rawat

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-29  7:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-29  7:43 [PATCH V1 0/2] scsi: ufs: ufs-qcom: Add specified gear support for multi gear scaling Nitin Rawat
2026-08-29  7:43 ` [PATCH V1 1/2] " Nitin Rawat
2026-08-29  7:55   ` sashiko-bot
2026-08-29  7:43 ` [PATCH V1 2/2] arm64: dts: qcom: Set specified gear configuration for Hamoa Nitin Rawat
2026-08-29  7:53   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox