All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add preliminary support for MSM8917
@ 2026-09-16  4:16 Reza Kurniawan
  2026-09-16  4:16 ` [PATCH v3 1/3] mach-snapdragon: Carve out reserved memory at init " Reza Kurniawan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Reza Kurniawan @ 2026-09-16  4:16 UTC (permalink / raw)
  To: u-boot-qcom, u-boot
  Cc: Sumit Garg, Tom Rini, Ilias Apalodimas, Casey Connolly,
	Neil Armstrong, Balaji Selvanathan, Lukasz Majewski,
	Alexey Minnekhanov, Luca Weiss, Reza Kurniawan

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/20260912072619.244101-2-imkyufie@gmail.com
v1: https://lore.kernel.org/u-boot/20260910095339.110427-1-imkyufie@gmail.com

1: https://lore.kernel.org/u-boot/20260715-gdsc-flags-v2-0-27704470a24c@fairphone.com
2: https://lore.kernel.org/u-boot/20260715-gdsc-flags-v2-4-27704470a24c@fairphone.com

---
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: <20260715-gdsc-flags-v2-0-27704470a24c@fairphone.com>
prerequisite-patch-id: a1b270485786a326cb40fda882935fcc0fbf3bba
prerequisite-patch-id: 1d4a1450016d914394cf6a7e24ec9e5bc12fe80a
prerequisite-patch-id: 568826d73bd992c6ff16681ad33e6891e25af5f5
prerequisite-patch-id: bad5df259c02085a5aa51d130459ae1eecd0f638

Best regards,
--  
Reza Kurniawan <imkyufie@gmail.com>


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

end of thread, other threads:[~2026-09-16  4:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16  4:16 [PATCH v3 0/3] Add preliminary support for MSM8917 Reza Kurniawan
2026-09-16  4:16 ` [PATCH v3 1/3] mach-snapdragon: Carve out reserved memory at init " Reza Kurniawan
2026-09-16  4:16 ` [PATCH v3 2/3] clk: qcom: Add Global Clock Controller (GCC) driver " Reza Kurniawan
2026-09-16  4:16 ` [PATCH v3 3/3] pinctrl: qcom: Add pinctrl " Reza Kurniawan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.