[PATCH V3 0/4] ufs: ufs-qcom: Add support firmware managed platforms

Ram Kumar Dwivedi posted 4 patches 1 month, 1 week ago
There is a newer version of this series
.../bindings/ufs/qcom,sa8255p-ufshc.yaml      |  62 +++++++
MAINTAINERS                                   |   2 +-
drivers/ufs/core/ufs-sysfs.c                  |   2 +-
drivers/ufs/core/ufshcd.c                     |   5 +
drivers/ufs/host/ufs-qcom.c                   | 163 +++++++++++++++++-
drivers/ufs/host/ufs-qcom.h                   |   1 +
include/ufs/ufshcd.h                          |   1 +
7 files changed, 233 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
[PATCH V3 0/4] ufs: ufs-qcom: Add support firmware managed platforms
Posted by Ram Kumar Dwivedi 1 month, 1 week ago
On Qualcomm automotive SoC SA8255P, platform resource like clocks,
interconnect, resets, regulators and PHY are configured remotely by
firmware.

Logical power domain is used to abstract these resources in firmware
and SCMI power protocol is used to request resource operations by using
runtime PM framework APIs such as pm_runtime_get/put_sync to invoke
power_on/_off calls from kernel respectively.

Changes from V1
1. Updated "dma-coherent" property type from boolean to just true.
2. Switched from QUIC mail ID to OSS mail ID. 
3. Added Acknowledged by tag from Dmitry for patch 1/3 
4. Added Reviewed-by tag from Manivannan for patch 1/3 

Changes from V2
1. Added new patch "scsi: ufs: core Enforce minimum pm level for sysfs
   configuration" to prevent users from selecting unsupported power
   levels via sysfs.
2. Set minimum power level (UFS_PM_LVL_5) for SA8255P platforms.
3. Changed DT example in qcom,sa8255p-ufshc.yaml to use single-cell
   addressing instead of dual-cell addressing.

Ram Kumar Dwivedi (4):
  MAINTAINERS: broaden UFS Qualcomm binding file pattern
  dt-bindings: ufs: Document bindings for SA8255P UFS Host Controller
  scsi: ufs: core Enforce minimum pm level for sysfs configuration
  ufs: ufs-qcom: Add support for firmware-managed resource abstraction

 .../bindings/ufs/qcom,sa8255p-ufshc.yaml      |  62 +++++++
 MAINTAINERS                                   |   2 +-
 drivers/ufs/core/ufs-sysfs.c                  |   2 +-
 drivers/ufs/core/ufshcd.c                     |   5 +
 drivers/ufs/host/ufs-qcom.c                   | 163 +++++++++++++++++-
 drivers/ufs/host/ufs-qcom.h                   |   1 +
 include/ufs/ufshcd.h                          |   1 +
 7 files changed, 233 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml

-- 
2.34.1