Skip to content

Qualcomm UFS device reset support

Bjorn Andersson linux-arm-msm linux-devicetree linux-scsi lkml 4 versions – Applied

Status from this message: Applied to 5.4/scsi-queue, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 5 repliesApplied
  2. v33 patches 5 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches21 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: ufs: Introduce vops for resetting devicedrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+14 -02 replies
2/3scsi: ufs-qcom: Implement device_reset vopsDocumentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt drivers/scsi/ufs/ufs-qcom.c drivers/scsi/ufs/ufs-qcom.h+42 -01 reply
3/3arm64: dts: qcom: sdm845: Specify UFS device-reset GPIOarch/arm64/boot/dts/qcom/sdm845-db845c.dts arch/arm64/boot/dts/qcom/sdm845-mtp.dts+4 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAlim AkhtarLinus WalleijBean HuoRob HerringStanley Chu
1/3R-b R-b R-b
2/3A-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Qualcomm UFS device reset support

This series adds a new ufs vops to allow platform specific methods for resetting an attached UFS device, then implements this for the Qualcomm driver. This reset seems to be necessary for the majority of Dragonboard845c devices.

Bean requested in v3 that a software fallback mechanism, using UIC_CMD_DME_END_PT_RST. I have not been successful in validating that this works for me, so I'm postponing this effort and hoping we can add it incrementally at a later time.

Bjorn Andersson (3):
scsi: ufs: Introduce vops for resetting device
scsi: ufs-qcom: Implement device_reset vops
arm64: dts: qcom: sdm845: Specify UFS device-reset GPIO

 .../devicetree/bindings/ufs/ufshcd-pltfrm.txt |  2 ++
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts    |  2 ++
 arch/arm64/boot/dts/qcom/sdm845-mtp.dts       |  2 ++
 drivers/scsi/ufs/ufs-qcom.c                   | 36 +++++++++++++++++++
 drivers/scsi/ufs/ufs-qcom.h                   |  4 +++
 drivers/scsi/ufs/ufshcd.c                     |  6 ++++
 drivers/scsi/ufs/ufshcd.h                     |  8 +++++
 7 files changed, 60 insertions(+)
Signature · 1 line
2.18.0