]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: ufs-qcom: Add support for firmware-managed resource abstraction
authorRam Kumar Dwivedi <ram.dwivedi@oss.qualcomm.com>
Tue, 13 Jan 2026 08:00:46 +0000 (13:30 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 24 Jan 2026 03:04:33 +0000 (22:04 -0500)
commitad44cf1b2845303285fec8bb25a02d0d0f103a82
treecdfb6d06783473884edf3ee0cb750d0e344372e0
parent26c06d0baeb7999e44cf6717fc12d58a359eba99
scsi: ufs: ufs-qcom: Add support for firmware-managed resource abstraction

Add a compatible string for SA8255p platforms where resources such as
PHY, clocks, regulators, and resets are managed by firmware through an
SCMI server. Use the SCMI power protocol to abstract these resources and
invoke power operations via runtime PM APIs (pm_runtime_get/put_sync).

Introduce vendor operations (vops) for SA8255p targets to enable SCMI-
based resource control. In this model, capabilities like clock scaling
and gating are not yet supported; these will be added incrementally.

Co-developed-by: Anjana Hari <anjana.hari@oss.qualcomm.com>
Signed-off-by: Anjana Hari <anjana.hari@oss.qualcomm.com>
Co-developed-by: Shazad Hussain <shazad.hussain@oss.qualcomm.com>
Signed-off-by: Shazad Hussain <shazad.hussain@oss.qualcomm.com>
Signed-off-by: Ram Kumar Dwivedi <ram.dwivedi@oss.qualcomm.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260113080046.284089-5-ram.dwivedi@oss.qualcomm.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-qcom.c
drivers/ufs/host/ufs-qcom.h