[PATCH v2 0/9] Qualcomm IPQ5210 SoC bringup

Simon Glass sjg at chromium.org
Sat Apr 11 15:18:19 CEST 2026


Hi Varadarajan,

On Fri, 10 Apr 2026 at 06:54, Varadarajan Narayanan
<varadarajan.narayanan at oss.qualcomm.com> wrote:
>
> Add pinctrl, clock drivers and SPL to support the IPPQ5210 SoC in U-Boot.
>
> The relevant DT files are available in linux-next [1].
>
> Working features, as tested on RDP504:
>         * Serial console
>         * UART
>         * MMC
>         * Boot sequence transitions from Boot ROM to U-Boot SPL, proprietary
>           binaries (a.k.a QCLib) load and execute as appropriate and eventual
>           jump to U-Boot.
>         * The QCLib handles
>                 - DDR initialization
>                 - Clock setup
>
> 1 - https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/qcom/ipq5210.dtsi
>     https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
>     https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/include/dt-bindings/clock/qcom,ipq5210-gcc.h
>     https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/include/dt-bindings/reset/qcom,ipq5210-gcc.h
>
> v2:     - Add QCOM_GENI_MINICORE config option
>         - Move minicore register settings to separate file and include
>           if QCOM_GENI_MINICORE is enabled
>         - Remove bootph-all from override dts and moved them to kernel
>           DT - https://lore.kernel.org/linux-arm-msm/20260409-add_bootph-v1-1-cb2b5093f7d7@oss.qualcomm.com/T/#u
>
> v1: https://lore.kernel.org/u-boot/20260408091136.2794546-1-varadarajan.narayanan@oss.qualcomm.com/
>
> Varadarajan Narayanan (9):
>   dts: ipq5210-rdp504-u-boot: add override dtsi
>   doc: board/qualcomm: Update RDP build instructions
>   clk/qcom: add initial clock driver for ipq5210
>   pinctrl: qcom: Add ipq5210 pinctrl driver
>   misc: qcom_geni: Add minicore support
>   spl: Include SMEM driver in SPL
>   mach-snapdragon: Add initial support for IPQ5210 SPL
>   mach-snapdragon: Add commands to create wrapper ELF
>   configs: add qcom_ipq5210_mmc_defconfig
>
>  arch/arm/Kconfig                              |   5 +-
>  arch/arm/dts/ipq5210-rdp504-u-boot.dtsi       |  15 +
>  arch/arm/mach-snapdragon/Kconfig              |   6 +
>  arch/arm/mach-snapdragon/Makefile             |   3 +
>  .../mach-snapdragon/ipq5210-spl-wrap-elf.lds  |  14 +
>  arch/arm/mach-snapdragon/spl.c                | 701 ++++++++++++++++++
>  common/spl/Kconfig                            |   8 +
>  configs/qcom_ipq5210_mmc_defconfig            | 106 +++
>  doc/board/qualcomm/rdp.rst                    |  69 ++
>  drivers/Makefile                              |   1 +
>  drivers/clk/qcom/Kconfig                      |   8 +
>  drivers/clk/qcom/Makefile                     |   1 +
>  drivers/clk/qcom/clock-ipq5210.c              |  97 +++
>  drivers/misc/Kconfig                          |   6 +
>  drivers/misc/Makefile                         |   1 +
>  drivers/misc/qcom_geni-minicore.c             | 102 +++
>  drivers/misc/qcom_geni.c                      |  90 ++-
>  drivers/pinctrl/qcom/Kconfig                  |   8 +
>  drivers/pinctrl/qcom/Makefile                 |   1 +
>  drivers/pinctrl/qcom/pinctrl-ipq5210.c        | 349 +++++++++
>  include/smem.h                                |   3 +
>  include/soc/qcom/geni-se.h                    |   2 +
>  include/soc/qcom/qup-fw-load.h                |  15 +
>  scripts/Makefile.xpl                          |  21 +
>  24 files changed, 1618 insertions(+), 14 deletions(-)
>  create mode 100644 arch/arm/dts/ipq5210-rdp504-u-boot.dtsi
>  create mode 100644 arch/arm/mach-snapdragon/ipq5210-spl-wrap-elf.lds
>  create mode 100644 arch/arm/mach-snapdragon/spl.c
>  create mode 100644 configs/qcom_ipq5210_mmc_defconfig
>  create mode 100644 drivers/clk/qcom/clock-ipq5210.c
>  create mode 100644 drivers/misc/qcom_geni-minicore.c
>  create mode 100644 drivers/pinctrl/qcom/pinctrl-ipq5210.c
>
> --
> 2.34.1
>

> Add pinctrl, clock drivers and SPL to support the IPPQ5210 SoC in U-Boot.

Should that be IPQ5210 ?

How about splitting up patch 7 a bit as it has quite a lot in it.

Is CONFIG_SPL_WRAPPER_ELF intended to be a generic feature or just
something for this particular SoC?

Regards,
Simon


More information about the U-Boot mailing list