Skip to content

qcom: add basic interconnect support to UFS

Brian Masney linux-arm-msm linux-devicetree linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scsi: ufs: ufs-qcom: add basic interconnect supportdrivers/ufs/host/ufs-qcom.c+25 -03 replies
2/2arm64: dts: qcom: sc8280xp: add interconnect properties to ufs nodesarch/arm64/boot/dts/qcom/sc8280xp.dtsi+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] qcom: add basic interconnect support to UFS

This patch set adds very basic support for the interconnect framework to the Qualcomm portion of the UFS framework since the firmware on these platforms expects the interconnect votes to be present. The maximum throughput is requested to match what's already done in a few other drivers.

Here's the relevant entries from the interconnect_summary file in debugfs that shows the two ICC paths are setup for the first UFS host controller on the SA8540p automotive board (sc8280xp).

node tag avg peak
--------------------------------------------------------------------

xm_ufs_mem                                            0   4294967295
  1d84000.ufs                            0            0   4294967295
qns_a1noc_snoc                                        0   4294967295
  1d84000.ufs                            0            0   4294967295
qnm_gemnoc_cnoc                                     115   4294967295
  1d84000.ufs                            0            0   4294967295
  a6f8800.usb                            0            0        40000
  884000.serial                          0          115          115
qhs_ufs_mem_cfg                                       0   4294967295
  1d84000.ufs                            0            0   4294967295
chm_apps                                            115   4294967295
  1d84000.ufs                            0            0   4294967295

a6f8800.usb 0 0 40000
884000.serial 0 115 115
qnm_snoc_sf 1000000 4294967295
1d84000.ufs 0 0 4294967295
a6f8800.usb 0 1000000 2500000
qns_gem_noc_cnoc 115 4294967295

  1d84000.ufs                            0            0   4294967295
  a6f8800.usb                            0            0        40000
  884000.serial                          0          115          115

qns_llcc 1000000 4294967295
1d84000.ufs 0 0 4294967295
a6f8800.usb 0 1000000 2500000
llcc_mc 1000000 4294967295
1d84000.ufs 0 0 4294967295
a6f8800.usb 0 1000000 2500000
ebi 1000000 4294967295
1d84000.ufs 0 0 4294967295
a6f8800.usb 0 1000000 2500000

qnm_aggre1_noc                                        0   4294967295
  1d84000.ufs                            0            0   4294967295
qns_gemnoc_sf                                   1000000   4294967295
  1d84000.ufs                            0            0   4294967295

a6f8800.usb 0 1000000 2500000

Brian Masney (2):
scsi: ufs: ufs-qcom: add basic interconnect support
arm64: dts: qcom: sc8280xp: add interconnect properties to ufs nodes

 arch/arm64/boot/dts/qcom/sc8280xp.dtsi |  8 ++++++++
 drivers/ufs/host/ufs-qcom.c            | 25 +++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
Signature · 1 line
2.38.1