[PATCH 0/2] qcom: add basic interconnect support to UFS
From: Brian Masney
Date: Thu Nov 17 2022 - 05:53:06 EST
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(+)
--
2.38.1