Skip to content

scsi: ufs: Add support for clock and regulator initializaiton

Sujit Reddy Thumma linux-arm-msm linux-devicetree linux-scsi 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Rebased on scsi-misc.
- Minor code fixes.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scsi: ufs: Allow vendor specific initializationdrivers/scsi/ufs/ufshcd-pci.c drivers/scsi/ufs/ufshcd-pltfrm.c drivers/scsi/ufs/ufshcd.c +1 more+187 -364 replies
2/3scsi: ufs: Add regulator enable supportDocumentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt drivers/scsi/ufs/ufs.h drivers/scsi/ufs/ufshcd-pltfrm.c +2 more+342 -32 replies
3/3scsi: ufs: Add clock initialization supportDocumentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt drivers/scsi/ufs/ufshcd-pltfrm.c drivers/scsi/ufs/ufshcd.c +1 more+190 -31 reply

Reviews trailers per patch

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

PatchSubhash Jadavani
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/3] scsi: ufs: Add support for clock and regulator initializaiton

UFS HCI specificaiton allows the hardware vendors to have vendor specific configurations using a dedicated register space. Most of these register configurations are unique to each controller. The generic UFSHCD exports a set of useful vendor operations that can be used to configure the host controller. In addition, the vendor specific operations can also be used to control the power supply of controller and Uni-Pro h/w blocks.

This patchset adds support for vendor specific initialization, regulator and clock initialization based on device-tree properties.

Changes from v1:
- Rebased on scsi-misc.
- Minor code fixes.

Sujit Reddy Thumma (3):
scsi: ufs: Allow vendor specific initialization
scsi: ufs: Add regulator enable support
scsi: ufs: Add clock initialization support

 .../devicetree/bindings/ufs/ufshcd-pltfrm.txt      |  37 ++
 drivers/scsi/ufs/ufs.h                             |  25 ++
 drivers/scsi/ufs/ufshcd-pci.c                      |   8 +-
 drivers/scsi/ufs/ufshcd-pltfrm.c                   | 195 +++++++++-
 drivers/scsi/ufs/ufshcd.c                          | 429 +++++++++++++++++++--
 drivers/scsi/ufs/ufshcd.h                          |  55 ++-
 6 files changed, 713 insertions(+), 36 deletions(-)
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation.