U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 00/16] MSM8960 / mach-snapdragon ARMv7 support
@ 2026-06-01  8:12 Sam Day via B4 Relay
  2026-06-01  8:12 ` [PATCH RESEND 01/16] serial: msm: UARTDM <1.4 support Sam Day via B4 Relay
                   ` (17 more replies)
  0 siblings, 18 replies; 26+ messages in thread
From: Sam Day via B4 Relay @ 2026-06-01  8:12 UTC (permalink / raw)
  To: Sumit Garg, u-boot-qcom, u-boot
  Cc: Casey Connolly, Neil Armstrong, Tom Rini, Stephan Gerhold,
	Michal Simek, Angelo Dureghello, Eugen Hristev, Kuan-Wei Chiu,
	Yao Zi, Simon Glass, Sughosh Ganu, George Chan,
	Antony Kurniawan Soemardi, Rayagonda Kokatanur, Tien Fong Chee,
	Peng Fan, Alif Zakuan Yuslaimi, Anshul Dalal, Marek Vasut,
	Tingting Meng, Alice Guo, Quentin Schulz, Ilias Apalodimas,
	Luca Weiss, Aswin Murugan, David Wronek, Danila Tikhonov,
	Varadarajan Narayanan, Lukasz Majewski, Balaji Selvanathan,
	Jens Reidel, Sam Day

** Resending because I found new ways to dislike Proton Mail (it failed
the series midway due to "spamming". Sigh.). **

This patch series introduces support for ARMv7 Qualcomm SoCs, starting
with MSM8960/MSM8930/MSM8227.

An overview of the changes:
 * serial_msm reintroduces the previous packed RX/TX software mode
   operation, as this is compatible with all UARTDM versions (1.4 and
   older). It's added alongside the newer single-char mode for 1.4.
 * A timer driver is introduced for KPSS. I don't know if *all* ARMv7
   qcom SoCs lack generic ARM CP15 debug timer support, but at least
   MSM8960/MSM8930 do.
 * mach-snapdragon board code is shuffled around a bit to build cleanly
   on ARM64.
 * prev_bl_data support is extended to ARM32 (which uses r2 for passing
   FDT/ATAGS pointers, rather than r0)
 * qcom_parse_memory is revised to support arm32 memory nodes (which are
   1-cell rather than 2-cell).
 * Basic ATAGS support is introduced, so that the memory info can be
   used from previous bootloaders that do not understand FDTs at all.
 * PS_HOLD sysreset and pinctrl-qcom needed some minor tweaks to handle
   some nuances that challenge the current assumptions.
 * A pinctrl driver is introduced for MSM8960.
 * Initial MSM8960 GCC infra is introduced.

I tested this series on:
 * Nokia Lumia 520 (msm8227). No working buttons yet as these are
   exposed as GPIO-over-PMIC-over-SSBI (drivers will be proposed at a
   later date).
 * Samsung Galaxy Express GT-I8730 (msm8930). Volume rockers + home
   button are working via the new pinctrl-msm8960 driver. Power
   button not working yet (needs PMIC driver infra).
 * I have no msm8960/apq8064 devices, looking for folks to test those.

To confirm there was no regressions with ARM64 and/or newer devices, I
also tested on:
 * db410c (msm8916)
 * google-sargo (sdm670)

Signed-off-by: Sam Day <me@samcday.com>
---
Sam Day (16):
      serial: msm: UARTDM <1.4 support
      timer: Qualcomm KPSS timer support
      arm: save_prev_bl_data: ARM32 support
      mach-snapdragon: qcom_parse_memory 32-bit support
      mach-snapdragon: gate ARM64 features
      mach-snapdragon: introduce ARCH_SNAPDRAGON_ARM32
      configs: introduce qcom_armv7_defconfig
      board: qualcomm: add MSM8960 debug UART config
      sysreset: qcom-pshold: offset support
      pinctrl: qcom: configurable GPIO offset/stride
      pinctrl: qcom: introduce MSM8960 driver
      mach-snapdragon: parse incoming ARM32 ATAGS
      clk: qcom: MSM8960 GCC driver
      clk: qcom: arch-agnostic pointer fmtstrings
      serial: msm: wait for TX empty before reinit
      button: remap phone HOMEPAGE button

 arch/arm/Kconfig                             |  11 +-
 arch/arm/lib/save_prev_bl_data.c             |  49 ++++---
 arch/arm/mach-snapdragon/Kconfig             |   6 +
 arch/arm/mach-snapdragon/board.c             | 188 ++++++++++++++++++--------
 arch/arm/mach-snapdragon/include/mach/gpio.h |  12 +-
 board/qualcomm/debug-msm8960.config          |   5 +
 configs/qcom_armv7_defconfig                 |  61 +++++++++
 drivers/button/Kconfig                       |   2 +-
 drivers/button/button-uclass.c               |   1 +
 drivers/clk/qcom/Kconfig                     |   8 ++
 drivers/clk/qcom/Makefile                    |   1 +
 drivers/clk/qcom/clock-msm8960.c             | 189 +++++++++++++++++++++++++++
 drivers/clk/qcom/clock-qcom.c                |   8 +-
 drivers/gpio/msm_gpio.c                      |   2 +-
 drivers/pinctrl/qcom/Kconfig                 |   9 ++
 drivers/pinctrl/qcom/Makefile                |   1 +
 drivers/pinctrl/qcom/pinctrl-msm8960.c       | 135 +++++++++++++++++++
 drivers/pinctrl/qcom/pinctrl-qcom.c          |   2 +-
 drivers/serial/serial_msm.c                  | 142 +++++++++++++++++---
 drivers/sysreset/sysreset_qcom-pshold.c      |   9 +-
 drivers/timer/Kconfig                        |   7 +
 drivers/timer/Makefile                       |   1 +
 drivers/timer/qcom-kpss-timer.c              |  98 ++++++++++++++
 23 files changed, 843 insertions(+), 104 deletions(-)
---
base-commit: 8d3ba3753bdb5068884196ff696cc48177bfdda5
change-id: 20260530-qcom-armv7-1486308a835c

Best regards,
-- 
Sam Day <me@samcday.com>



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

end of thread, other threads:[~2026-06-07  5:11 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-01  8:12 [PATCH RESEND 00/16] MSM8960 / mach-snapdragon ARMv7 support Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 01/16] serial: msm: UARTDM <1.4 support Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 02/16] timer: Qualcomm KPSS timer support Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 03/16] arm: save_prev_bl_data: ARM32 support Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 04/16] mach-snapdragon: qcom_parse_memory 32-bit support Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 05/16] mach-snapdragon: gate ARM64 features Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 06/16] mach-snapdragon: introduce ARCH_SNAPDRAGON_ARM32 Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 07/16] configs: introduce qcom_armv7_defconfig Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 08/16] board: qualcomm: add MSM8960 debug UART config Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 09/16] sysreset: qcom-pshold: offset support Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 10/16] pinctrl: qcom: configurable GPIO offset/stride Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 11/16] pinctrl: qcom: introduce MSM8960 driver Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 12/16] mach-snapdragon: parse incoming ARM32 ATAGS Sam Day via B4 Relay
2026-06-03 13:47   ` Casey Connolly
2026-06-03 22:27     ` Sam Day
2026-06-04 15:01       ` Casey Connolly
2026-06-07  3:41         ` Sam Day
2026-06-01  8:12 ` [PATCH RESEND 13/16] clk: qcom: MSM8960 GCC driver Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 14/16] clk: qcom: arch-agnostic pointer fmtstrings Sam Day via B4 Relay
2026-06-01  8:12 ` [PATCH RESEND 15/16] serial: msm: wait for TX empty before reinit Sam Day via B4 Relay
2026-06-01  8:41   ` Stephan Gerhold
2026-06-07  1:26     ` Sam Day
2026-06-01  8:12 ` [PATCH RESEND 16/16] button: remap phone HOMEPAGE button Sam Day via B4 Relay
2026-06-01  8:16 ` [PATCH RESEND 00/16] MSM8960 / mach-snapdragon ARMv7 support Luca Weiss
2026-06-06 21:36 ` Antony Kurniawan Soemardi
2026-06-06 23:18   ` Sam Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox