Skip to content

Fixup register offsets to support per core L3 DCVS

Sibi Sankar linux-arm-msm linux-devicetree linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: cpufreq: cpufreq-qcom-hw: Add compatible for SM8250/8350Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt+5 -12 replies
2/4cpufreq: qcom: Re-arrange register offsets to support per core L3 DCVSdrivers/cpufreq/qcom-cpufreq-hw.c+19 -46 replies
3/4arm64: dts: qcom: sc7280: Fixup the cpufreq nodearch/arm64/boot/dts/qcom/sc7280.dtsi+3 -35 replies
4/4arm64: dts: qcom: sm8350: Fixup the cpufreq nodearch/arm64/boot/dts/qcom/sm8350.dtsi+4 -53 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchRob HerringStephen Boyd
1/4A-b R-b
2/4
3/4R-b
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] Fixup register offsets to support per core L3 DCVS

Qualcomm SoCs (starting with SM8350) support per core voting for L3 cache frequency. The patch series re-arranges the cpufreq register offsets to allow access for the L3 interconnect to implement per core control i.e. the first 0x100 is now accessed by the L3 interconnect driver instead.

L3 interconnect provider node on SC7280 SoC:

epss_l3: interconnect@18590000 {
	compatible = "qcom,sc7280-epss-l3";
        reg = <0 0x18590000 0 0x1000>, <0 0x18591000 0 0x100>,
	      <0 0x18592000 0 0x100>, <0 0x18593000 0 0x100>;
	...
};

CPUFREQ node on SC7280 SoC:

cpufreq_hw: cpufreq@18591000 {
	compatible = "qcom,cpufreq-epss";
	reg = <0 0x18591100 0 0x900>,
	      <0 0x18592100 0 0x900>,
	      <0 0x18593100 0 0x900>;
	...
};

The patch series also prevents binding breakage by using the SM8250/SM8350 EPSS compatible.

Sibi Sankar (4):
dt-bindings: cpufreq: cpufreq-qcom-hw: Add compatible for SM8250/8350
cpufreq: qcom: Re-arrange register offsets to support per core L3 DCVS
arm64: dts: qcom: sc7280: Fixup the cpufreq node
arm64: dts: qcom: sm8350: Fixup the cpufreq node

 .../bindings/cpufreq/cpufreq-qcom-hw.txt           |  6 +++++-
 arch/arm64/boot/dts/qcom/sc7280.dtsi               |  6 +++---
 arch/arm64/boot/dts/qcom/sm8350.dtsi               |  9 ++++-----
 drivers/cpufreq/qcom-cpufreq-hw.c                  | 23 ++++++++++++++++++----
 4 files changed, 31 insertions(+), 13 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project