Skip to content

Add initial support for Qualcomm SM7250 SoC

Sreeshankar K linux-arm-msm linux-clk linux-devicetree linux-pm lkml 7 versions – New

Get series with b4
b4 am [email protected] change-id 20261029-master-a03876889046

Versions newest first · linked by author and title

  1. v15 Latest8 patches 0 repliesNew
  2. v148 patches 1 replySuperseded
  3. v138 patches 1 replySuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v126 patches0 repliesSuperseded
v11 posting 2/25 patches0 repliesSuperseded
v11 posting 1/25 patches2 repliesSuperseded
v106 patches4 repliesApplied

Changes in v15 from the cover letter

[PATCH v15 3/8] thermal/qcom/lmh: Switch to match data for SoC CPU-to-node mappings

Patches in v15 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8dt-bindings: clock: Add SM7250 global clock controllerDocumentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml include/dt-bindings/clock/qcom,gcc-sm7250.h+172 -40 replies
2/8clk: qcom: Add Global Clock Controller (GCC) driver for SM7250drivers/clk/qcom/Kconfig drivers/clk/qcom/Makefile drivers/clk/qcom/gcc-sm7250.c+2289 -00 replies
3/8thermal/qcom/lmh: Switch to match data for SoC CPU-to-node mappingsdrivers/thermal/qcom/lmh.c+48 -150 replies
4/8dt-bindings: thermal: lmh: Document SM7250 LMhDocumentation/devicetree/bindings/thermal/qcom-lmh.yaml+1 -00 replies
5/8thermal/qcom/lmh: Add support for Qualcomm SM7250drivers/thermal/qcom/lmh.c+11 -00 replies
6/8dt-bindings: firmware: qcom,scm: Document SM7250 SCMDocumentation/devicetree/bindings/firmware/qcom,scm.yaml+1 -00 replies
7/8dt-bindings: cpufreq: qcom-hw: Document SM7250 cpufreq hardwareDocumentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml+2 -00 replies
8/8arm64: dts: qcom: Add SM7250 devicetree filearch/arm64/boot/dts/qcom/sm7250.dtsi+803 -00 replies

Reviews trailers per patch

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

PatchKrzysztof KozlowskiRob Herring (Arm)Viresh Kumar
1/8R-b
2/8
3/8
4/8A-b
5/8
6/8A-b
7/8A-b A-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v15 thread

Cover letter [PATCH v15 0/8] Add initial support for Qualcomm SM7250 SoC

This patchset introduces foundational upstream support for the Qualcomm SM7250 SoC (internally codenamed Lito).

SM7250 is an ARMv8.2-A platform manufactured on a 7nm process, featuring an octa-core Kryo 475 CPU configuration (1x Prime Cortex-A76, 1x Gold Cortex-A76, and 6x Silver Cortex-A55) and Adreno 620 GPU.

This patchset is organized as follows:

Quoted 1 line

Document relevant device tree bindings (SoC ID, Kryo 475 CPUs, SCM, PDC,

RPMh clocks/power domains, GCC and cpufreq hardware).

Quoted 2 lines

Add driver support for SM7250 in socinfo, rpmh-clk, rpmhpd, and GCC. Add the base SoC DTSI (sm7250.dtsi) defining the cpus, PSCI,

interrupt controllers, clock providers, power domains, and reserved memory.

Quoted 1 line

-----------------------------------------------------------------------------<

Merged patches:
dt-bindings: arm: qcom,ids: Add SoC ID for SM7250
soc: qcom: socinfo: Add SM7250 SoC ID
dt-bindings: clock: qcom,rpmhcc: Document RPMHCC compatible
clk: qcom: rpmh: Add SM7250 rpmh clocks
dt-bindings: power: qcom,rpmhpd: Document RPMh power domain for SM7250
pmdomain: qcom: rpmhpd: Add RPMh power domains
dt-bindings: arm: cpus: Document Kryo 475 CPUs
dt-bindings: interrupt-controller: qcom,pdc: Document SM7250 PDC

Pending patches:
dt-bindings: clock: Add SM7250 global clock controller
clk: qcom: Add Global Clock Controller (GCC) driver for SM7250 thermal/qcom/lmh: Switch to match data for SoC CPU-to-node mappings
dt-bindings: thermal: lmh: Document SM7250 LMh thermal/qcom/lmh: Add support for Qualcomm SM7250
dt-bindings: firmware: qcom,scm: Document SM7250 SCM
dt-bindings: cpufreq: qcom-hw: Document SM7250 cpufreq hardware
arm64: dts: qcom: Add SM7250 devicetree file

Quoted 1 line

------------------------------------------------------------------------------<

Changelog [v15]:
[PATCH v15 3/8] thermal/qcom/lmh: Switch to match data for SoC CPU-to-node mappings

Quoted 1 line

Update the patch to fix apply conflicts with Linux 7.4-rc3

Link [v14]: https://lore.kernel.org/linux-arm-msm/[email protected]/t/#t
Changelog [v14]:
Fixed various issue found from Sashiko's review, Link: https://sashiko.dev/#/patchset/20261104-master-v13-0-355b65c6f764%40gmail.com

Link [v13]: https://lore.kernel.org/linux-arm-msm/[email protected]/t/#t
Changelog [v13]:
Fixed various issue found from Sashiko's review, Link: https://sashiko.dev/#/patchset/20261104-master-v12-0-57fbe9eef978%40gmail.com
[PATCH v13 3/8] thermal/qcom/lmh: Switch to match data for SoC CPU-to-node mappings

Quoted 1 line

Switch to match data mapping instead of hardcoded 4-4 cpu configuration.

[PATCH v13 5/8] thermal/qcom/lmh: Add support for Qualcomm SM7250

Quoted 1 line

Add 6-2 cpu configuration LMh support for SM7250 SoC.

[PATCH v13 8/8] arm64: dts: qcom: Add SM7250 devicetree file

Quoted 1 line

Place the nodes in acesending order.

Link [v12]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v12]:
[PATCH v12 1/6] dt-bindings: clock: Add SM7250 global clock controller

Quoted 1 line

Move dt-binding definition to qcom,gcc-sm8250.yaml. The device tree

schema of SM7250 matches with SM8250 for clock-controller node. [PATCH v12 5/6] dt-bindings: thermal: lmh: Document SM7250 LMh

Quoted 1 line

Add LMh compatible.

[PATCH v12 6/6] arm64: dts: qcom: Add SM7250 devicetree file

Quoted 2 lines

Remove cluster wise sorting of cpus.
Add LMh node.

Link [RESEND v11]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Link [v11]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v11]:
[PATCH v11 2/5] clk: qcom: Add Global Clock Controller (GCC) driver

Quoted 2 lines

Drop hw_ctl clock branches
Populate default values for GDSCs

Link [v10]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v10]:
[PATCH v10 2/6] clk: qcom: Add Global Clock Controller (GCC) driver

Quoted 1 line

Update .halt_check and .ops are per the review.

Link [v9]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v9]:
[PATCH v9 04/13]: clk: qcom: Add Global Clock Controller (GCC) driver for SM7250

Quoted 1 line

Make all clk_init_data instances const across the driver.

Link [v8]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v8]:
Same as v7. Resending the full patchset as v8 due to a transmission interruption during v7.

Link [v7]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v7]:
[PATCH v7 04/13]: clk: qcom: Add Global Clock Controller (GCC) driver for SM7250

Quoted 1 line

Fixed missing (struct device *dev) in gcc_sm7250_clk_regs_configure

Link [v6]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v6]:
[PATCH v6 04/13]: clk: qcom: Add Global Clock Controller (GCC) driver for SM7250

Quoted 1 line

Make all clk_init_data instances const across the driver.

Link [v5]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v5]:
[PATCH v5 13/13]: arm64: dts: qcom: Add SM7250 devicetree file

Quoted 2 lines

Reformat multi-entry phandle lists (domain-idle-states) to '<&a>, <&b>'. Reformat multi-entry tuples and string lists (qcom,pdc-ranges, qcom,tcs-config, reg-names)

to one item per line.

Quoted 3 lines

Enable QUPv3 wrapper globally by dropping 'status = "disabled"'. Move compatible property to first.
Remove clock-frequency property for timer.

Link [v4]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v4]:
[PATCH v4 04/13] clk: qcom: Add Global Clock Controller (GCC) driver for SM7250

Quoted 1 line

Update .fw_name with .index

[PATCH v4 13/13] arm64: dts: qcom: Add SM7250 devicetree file

Quoted 2 lines

Added missing capacity-dmips-mhz and dynamic-power-coefficient for cpu@300 Added power-domains for cpus and apps_rsc

Link [v3]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v3]:
[PATCH v3 04/13] clk: qcom: Add Global Clock Controller (GCC) driver for SM7250

Quoted 2 lines

Updated the way of registering critical clocks.
Made some more clock critical.

GCC_VIDEO_XO_CLK
GCC_CAMERA_XO_CLK
GCC_DISP_XO_CLK
GCC_NPU_CFG_AHB_CLK GCC_CPUSS_AHB_CLK GCC_NPU_BWMON_CFG_AHB_CLK
These clocks are flagged as critical in gcc-lito.c

Link [v2]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t
Changelog [v2]:
[PATCH v2 12/13] dt-bindings: cpufreq: qcom-hw: Document SM7250 cpufreq hardware [PATCH v2 13/13] arm64: dts: qcom: Add SM7250 devicetree file

Quoted 1 line

Added SM7250 cpufreq hardware

Link [v1]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#t

---
Sreeshankar K (8):
dt-bindings: clock: Add SM7250 global clock controller
clk: qcom: Add Global Clock Controller (GCC) driver for SM7250 thermal/qcom/lmh: Switch to match data for SoC CPU-to-node mappings
dt-bindings: thermal: lmh: Document SM7250 LMh thermal/qcom/lmh: Add support for Qualcomm SM7250
dt-bindings: firmware: qcom,scm: Document SM7250 SCM
dt-bindings: cpufreq: qcom-hw: Document SM7250 cpufreq hardware
arm64: dts: qcom: Add SM7250 devicetree file

 .../devicetree/bindings/clock/qcom,gcc-sm8250.yaml |   13 +-
 .../bindings/cpufreq/cpufreq-qcom-hw.yaml          |    2 +
 .../devicetree/bindings/firmware/qcom,scm.yaml     |    1 +
 .../devicetree/bindings/thermal/qcom-lmh.yaml      |    1 +
 arch/arm64/boot/dts/qcom/sm7250.dtsi               |  803 +++++++
 drivers/clk/qcom/Kconfig                           |   10 +
 drivers/clk/qcom/Makefile                          |    1 +
 drivers/clk/qcom/gcc-sm7250.c                      | 2278 ++++++++++++++++++++
 drivers/thermal/qcom/lmh.c                         |   74 +-
 include/dt-bindings/clock/qcom,gcc-sm7250.h        |  163 ++
 10 files changed, 3327 insertions(+), 19 deletions(-)

---
base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3
change-id: 20261116-sm7250-024b350a7bf1

Best regards,

Signature · 1 line
Sreeshankar K <[email protected]>