linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] Add support for MSM8996 Pro
@ 2021-10-14  8:30 Yassine Oudjana
  2021-10-14  8:31 ` [PATCH 1/8] dt-bindings: clk: qcom: msm8996-apcc: Add CBF Yassine Oudjana
                   ` (7 more replies)
  0 siblings, 8 replies; 27+ messages in thread
From: Yassine Oudjana @ 2021-10-14  8:30 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Michael Turquette, Stephen Boyd,
	Rob Herring, Ilia Lin, Viresh Kumar, Nishanth Menon,
	Rafael J. Wysocki, Loic Poulain
  Cc: Yassine Oudjana, Konrad Dybcio, AngeloGioacchino Del Regno,
	linux-arm-msm, linux-clk, devicetree, linux-kernel, linux-pm,
	~postmarketos/upstreaming, phone-devel

MSM8996 Pro (also known as MSM8996SG) is a newer revision of MSM8996
with different CPU/CBF/GPU frequencies and CPR parameters. Its CBF clock also
has a different divisor.

This series handles the difference in the CBF clock and adds a new DTSI for
MSM8996 Pro with CPU and GPU OPPs. It also removes reading msm-id from SMEM
in qcom-cpufreq-nvmem as it becomes no longer necessary. Separating MSM8996
and MSM8996 Pro will help with implementing CBF scaling and CPR; since they
have different CPR parameters and CPU:CBF OPP mapping which is difficult to
implement in the same cluster OPP tables.

Dependencies:
- clk: qcom: msm8996-cpu: Add CBF support
  https://lore.kernel.org/linux-arm-msm/20210528192541.1120703-1-konrad.dybcio@somainline.org/
- arm64: dts: qcom: msm8996: Add support for the CBF clock
  https://lore.kernel.org/linux-arm-msm/20210528192541.1120703-2-konrad.dybcio@somainline.org/

Yassine Oudjana (8):
  dt-bindings: clk: qcom: msm8996-apcc: Add CBF
  dt-bindings: clk: qcom: msm8996-apcc: Add MSM8996 Pro compatible
  clk: qcom: msm8996-cpu: Add MSM8996 Pro CBF support
  cpufreq: qcom_cpufreq_nvmem: Simplify reading kryo speedbin
  dt-bindings: opp: Convert qcom-nvmem-cpufreq to DT schema
  dt-bindings: opp: qcom-cpufreq-nvmem: Remove SMEM
  arm64: dts: qcom: msm8996: Add MSM8996 Pro support
  arm64: dts: qcom: msm8996-xiaomi-scorpio: Include msm8996pro.dtsi

 .../bindings/clock/qcom,msm8996-apcc.yaml     |  11 +-
 .../bindings/opp/qcom-cpufreq-nvmem.yaml      | 557 ++++++++++++
 .../bindings/opp/qcom-nvmem-cpufreq.txt       | 796 ------------------
 MAINTAINERS                                   |   2 +-
 .../boot/dts/qcom/msm8996-xiaomi-common.dtsi  |   3 -
 .../boot/dts/qcom/msm8996-xiaomi-gemini.dts   |   1 +
 .../boot/dts/qcom/msm8996-xiaomi-scorpio.dts  |   2 +-
 arch/arm64/boot/dts/qcom/msm8996.dtsi         |  82 +-
 arch/arm64/boot/dts/qcom/msm8996pro.dtsi      | 281 +++++++
 drivers/clk/qcom/clk-cpu-8996.c               |  61 +-
 drivers/cpufreq/Kconfig.arm                   |   1 -
 drivers/cpufreq/qcom-cpufreq-nvmem.c          |  75 +-
 12 files changed, 935 insertions(+), 937 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/opp/qcom-cpufreq-nvmem.yaml
 delete mode 100644 Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt
 create mode 100644 arch/arm64/boot/dts/qcom/msm8996pro.dtsi

-- 
2.33.0



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2021-11-04 11:33 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14  8:30 [PATCH 0/8] Add support for MSM8996 Pro Yassine Oudjana
2021-10-14  8:31 ` [PATCH 1/8] dt-bindings: clk: qcom: msm8996-apcc: Add CBF Yassine Oudjana
2021-10-14 14:31   ` Rob Herring
2021-10-16 15:16     ` Yassine Oudjana
2021-10-26 21:08   ` Rob Herring
2021-10-14  8:32 ` [PATCH 2/8] dt-bindings: clk: qcom: msm8996-apcc: Add MSM8996 Pro compatible Yassine Oudjana
2021-10-14 14:31   ` Rob Herring
2021-10-16 15:22     ` Yassine Oudjana
2021-10-26 21:08   ` Rob Herring
2021-10-14  8:32 ` [PATCH 3/8] clk: qcom: msm8996-cpu: Add MSM8996 Pro CBF support Yassine Oudjana
2021-10-15 18:54   ` Konrad Dybcio
2021-10-24 17:30   ` Bjorn Andersson
2021-10-14  8:32 ` [PATCH 4/8] cpufreq: qcom_cpufreq_nvmem: Simplify reading kryo speedbin Yassine Oudjana
2021-10-14 12:25   ` Dmitry Baryshkov
2021-10-15 18:58   ` Konrad Dybcio
2021-10-28 18:18     ` Bjorn Andersson
2021-10-14  8:32 ` [PATCH 5/8] dt-bindings: opp: Convert qcom-nvmem-cpufreq to DT schema Yassine Oudjana
2021-10-14 14:31   ` Rob Herring
2021-10-14 15:45   ` Rob Herring
2021-11-04 11:32     ` Yassine Oudjana
2021-10-14  8:32 ` [PATCH 6/8] dt-bindings: opp: qcom-cpufreq-nvmem: Remove SMEM Yassine Oudjana
2021-10-14  8:32 ` [PATCH 7/8] arm64: dts: qcom: msm8996: Add MSM8996 Pro support Yassine Oudjana
2021-10-15 19:01   ` Konrad Dybcio
2021-10-16 14:50     ` Yassine Oudjana
2021-10-16 15:09       ` Dmitry Baryshkov
2021-10-14 11:00 ` [PATCH 8/8] arm64: dts: qcom: msm8996-xiaomi-scorpio: Include msm8996pro.dtsi Yassine Oudjana
2021-10-15 19:03   ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).