]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: pltfrm: Add DT support to limit HS gear and gear rate
authorRam Kumar Dwivedi <quic_rdwivedi@quicinc.com>
Wed, 17 Sep 2025 14:09:32 +0000 (19:39 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 25 Sep 2025 02:27:47 +0000 (22:27 -0400)
commit1cc577e64d68ba0a720329e37aa955c0de297a77
treea1c2e17200f0efa4d60965c83ff77a364010b544
parentd471a075ae019118fa2e1bd251bad7e98d97b49e
scsi: ufs: pltfrm: Add DT support to limit HS gear and gear rate

Introduce parsing of 'limit-hs-gear' and 'limit-gear-rate' device tree
properties to restrict high-speed gear and rate during initialization.

This is useful in cases where the customer board may have signal
integrity, clock configuration or layout issues that prevent reliable
operation at higher gears. Such limitations are especially critical in
those platforms, where stability is prioritized over peak performance.

Co-developed-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufshcd-pltfrm.c
drivers/ufs/host/ufshcd-pltfrm.h