Skip to content

Add preliminary support for MSM8917

Reza Kurniawan u-boot 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20260915-msm8917-support-e56f0d21881b

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v24 patches 5 repliesSuperseded
  3. v14 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Drop "clk: qcom: Add an option to poll for GDSCR GDSC_POWER_ON bit" in favor of Alexey Minnekhanov's series [1] / [2].
- Update MDSS_GDSC in clock-msm8917 to comply with the new 'flags' member in struct qcom_power_map introduced by [2].

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mach-snapdragon: Carve out reserved memory at init for MSM8917arch/arm/mach-snapdragon/mem_map.c+2 -10 replies
2/3clk: qcom: Add Global Clock Controller (GCC) driver for MSM8917configs/qcom_defconfig drivers/clk/qcom/Kconfig drivers/clk/qcom/Makefile +1 more+220 -00 replies
3/3pinctrl: qcom: Add pinctrl driver for MSM8917drivers/pinctrl/qcom/Kconfig drivers/pinctrl/qcom/Makefile drivers/pinctrl/qcom/pinctrl-msm8917.c+654 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBalaji SelvanathanBiswapriyo NathSumit Garg
SeriesT-b R-b
1/3R-b
2/3
3/3

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 v3 thread

Cover letter [PATCH v3 0/3] Add preliminary support for MSM8917

This patch series adds preliminary support for booting Qualcomm MSM8917.

Specifically, it includes carving out reserved memory regions (no-map) at early init to avoid security violations, A Global Clock Controller (GCC) driver providing essential clocks, resets, and GDSCs needed for U-Boot and a pinctrl driver to configure pin parameters and manage GPIOs.

This patch series depends on the GDSC flags series by Luca Weiss and Alexey Minnekhanov [1], specifically patch 4/4 ("clk/qcom: Treat different GDSCs differently") [2]. On MSM8917, MDSS_GDSC does not have POLL_CFG_GDSCR and requires polling the GDSCR register directly instead of CFG_GDSCR, which is addressed by [2].

Changes in v3:
- Drop "clk: qcom: Add an option to poll for GDSCR GDSC_POWER_ON bit" in favor of Alexey Minnekhanov's series [1] / [2].
- Update MDSS_GDSC in clock-msm8917 to comply with the new 'flags' member in struct qcom_power_map introduced by [2].

Changes in v2:
- Change license to GPL-2.0-only
- Mention the source of the ported code
- Add error check for out-of-range pin selector
- Use macros for RCGR address constants

v2: https://lore.kernel.org/u-boot/[email protected]
v1: https://lore.kernel.org/u-boot/[email protected]

1: https://lore.kernel.org/u-boot/[email protected]
2: https://lore.kernel.org/u-boot/[email protected]

---
Reza Kurniawan (3):
mach-snapdragon: Carve out reserved memory at init for MSM8917
clk: qcom: Add Global Clock Controller (GCC) driver for MSM8917
pinctrl: qcom: Add pinctrl driver for MSM8917

 arch/arm/mach-snapdragon/mem_map.c     |   3 +-
 configs/qcom_defconfig                 |   1 +
 drivers/clk/qcom/Kconfig               |   8 +
 drivers/clk/qcom/Makefile              |   1 +
 drivers/clk/qcom/clock-msm8917.c       | 210 +++++++++++
 drivers/pinctrl/qcom/Kconfig           |   8 +
 drivers/pinctrl/qcom/Makefile          |   1 +
 drivers/pinctrl/qcom/pinctrl-msm8917.c | 645 +++++++++++++++++++++++++++++++++
 8 files changed, 876 insertions(+), 1 deletion(-)

---
base-commit: d27c992cebb95bd903d09f3d1da55032a7a145da
change-id: 20260915-msm8917-support-e56f0d21881b
prerequisite-message-id: <[email protected]>
prerequisite-patch-id: a1b270485786a326cb40fda882935fcc0fbf3bba
prerequisite-patch-id: 1d4a1450016d914394cf6a7e24ec9e5bc12fe80a
prerequisite-patch-id: 568826d73bd992c6ff16681ad33e6891e25af5f5
prerequisite-patch-id: bad5df259c02085a5aa51d130459ae1eecd0f638

Best regards,

Signature · 1 line
Reza Kurniawan <[email protected]>