[PATCH 00/15] i.MX8MQ: Convert to DM_PMIC for a few boards

Peng Fan (OSS) peng.fan at oss.nxp.com
Tue Apr 21 15:41:12 CEST 2026


Per the thread [1] that Tom asks.

Convert to DM_PMIC for i.MX8MQ boards. Only tested on i.MX8MQ-EVK.

I not have other boards to test, so just my best practice to do the
migration.

While doing the migration, several cleanups are done by dropping
redundant gd clearing in board_init_f

For i.MX8MQ binman, because with SPL DM enabled, the image size is
large, TCM is not that big. After checking, found that hdmi firmware was
placed at wrong place, so fix the i.mx8mq binman support with patch:
"imx8mq: Correct signed_hdmi firmware position."

THe remaining patch is mainly for migration to DM PMIC, for
pico/reform2/phanbell, no pmic was used, so just drop SPL_POWER_LEGACY.

For imx8mq-evk and kontron board, enable SPL_DM for the migration.

More information could be found in patch commit log:

[1] https://lore.kernel.org/u-boot/20260320214518.GD502704@bill-the-cat/

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
Peng Fan (15):
      imx8mq: evk: drop redundant gd clearing in board_init_f
      imx8mq: pitx: drop redundant gd clearing in board_init_f
      imx8mq: phanbell: drop redundant gd clearing in board_init_f
      imx8mq: reform2: drop redundant gd clearing in board_init_f
      imx8mq: pico: drop redundant gd clearing in board_init_f
      imx8mq: cm: drop redundant gd clearing in board_init_f
      imx8mq: Correct signed_hdmi firmware position
      mx6: sabreauto/sd: Exclude power_init_board from SPL build
      board: nxp: common: fix PFUZE100 DM build and unify DM/non-DM handling
      imx8mq: evk: Migrate to DM PMIC framework
      imx8mq: phanbell: Drop SPL_POWER_LEGACY
      imx8mq: reform2: Drop SPL_POWER_LEGACY
      imx8mq: pico: Drop SPL_POWER_LEGACY
      imx8mq: kontron: migrate PITX-IMX8M to DM PMIC framework
      imx8mq: phanbell: enable SPL DM

 arch/arm/dts/imx8mq-evk-u-boot.dtsi                |  88 +++++++-
 arch/arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi |  64 ++++++
 arch/arm/dts/imx8mq-librem5-r4-u-boot.dtsi         |   2 +-
 arch/arm/dts/imx8mq-phanbell-u-boot.dtsi           |  41 ++++
 arch/arm/dts/imx8mq-u-boot.dtsi                    | 240 +++++++++++----------
 board/google/imx8mq_phanbell/spl.c                 | 127 +----------
 board/kontron/pitx_imx8m/spl.c                     | 188 +++-------------
 board/mntre/imx8mq_reform2/spl.c                   |   6 -
 board/nxp/common/Makefile                          |   2 +-
 board/nxp/common/pfuze.c                           |  96 ++++-----
 board/nxp/common/pfuze.h                           |   2 +-
 board/nxp/imx8mq_evk/spl.c                         | 186 +++-------------
 board/nxp/mx6sabreauto/mx6sabreauto.c              |   2 +
 board/nxp/mx6sabresd/mx6sabresd.c                  |   2 +
 board/ronetix/imx8mq-cm/spl.c                      |   5 -
 board/technexion/pico-imx8mq/spl.c                 |   6 -
 configs/imx8mq_evk_defconfig                       |  21 +-
 configs/imx8mq_phanbell_defconfig                  |  14 +-
 configs/imx8mq_reform2_defconfig                   |   1 -
 configs/kontron_pitx_imx8m_defconfig               |  16 +-
 configs/pico-imx8mq_defconfig                      |   1 -
 doc/board/nxp/imx8mq_evk.rst                       |   4 +-
 drivers/ddr/imx/phy/helper.c                       |  13 ++
 23 files changed, 484 insertions(+), 643 deletions(-)
---
base-commit: 831aded3966e4a7e5200bde834887b801e9e9b98
change-id: 20260417-imx8mq-dm-pmic-247001e66c52

Best regards,
-- 
Peng Fan <peng.fan at nxp.com>



More information about the U-Boot mailing list