On Wed, 16 Sep 2026 at 04:16:01 +0000, Reza Kurniawan wrote:
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].
Series look good to me, FWIW: Reviewed-by: Sumit Garg <[email protected]> -Sumit
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, -- Reza Kurniawan <[email protected]>
