From: Reza Kurniawan <imkyufie@gmail.com>
To: u-boot-qcom@groups.io, u-boot@lists.u-boot-project.org
Cc: Sumit Garg <sumit.garg@kernel.org>, Tom Rini <trini@konsulko.com>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Casey Connolly <casey.connolly@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,
Lukasz Majewski <lukma@denx.de>,
Alexey Minnekhanov <alexeymin@minlexx.ru>,
Luca Weiss <luca.weiss@fairphone.com>,
Reza Kurniawan <imkyufie@gmail.com>
Subject: [PATCH v3 0/3] Add preliminary support for MSM8917
Date: Wed, 16 Sep 2026 04:16:01 +0000 [thread overview]
Message-ID: <20260916-msm8917-support-v3-0-35103cb4e01e@gmail.com> (raw)
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>
next reply other threads:[~2026-09-16 4:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 4:16 Reza Kurniawan [this message]
2026-09-16 4:16 ` [PATCH v3 1/3] mach-snapdragon: Carve out reserved memory at init for MSM8917 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260916-msm8917-support-v3-0-35103cb4e01e@gmail.com \
--to=imkyufie@gmail.com \
--cc=alexeymin@minlexx.ru \
--cc=balaji.selvanathan@oss.qualcomm.com \
--cc=casey.connolly@linaro.org \
--cc=ilias.apalodimas@linaro.org \
--cc=luca.weiss@fairphone.com \
--cc=lukma@denx.de \
--cc=neil.armstrong@linaro.org \
--cc=sumit.garg@kernel.org \
--cc=trini@konsulko.com \
--cc=u-boot-qcom@groups.io \
--cc=u-boot@lists.u-boot-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.