]> git.ipfire.org Git - thirdparty/u-boot.git/commit
imx8mp: icore-edimm2.2: Convert to DM_PMIC
authorPeng Fan <peng.fan@nxp.com>
Mon, 30 Mar 2026 14:04:06 +0000 (22:04 +0800)
committerFabio Estevam <festevam@nabladev.com>
Thu, 2 Apr 2026 12:11:33 +0000 (09:11 -0300)
commitb94d20f66e1fef3ff4072dbe4dfec9a848e07bed
tree33f44797d17adb556b05c14483495120165f5e0b
parentc93520a4ba34414fdfd84ce0824d6c67a958d518
imx8mp: icore-edimm2.2: Convert to DM_PMIC

Convert the board to use DM_PMIC instead of the legacy SPL I2C/PMIC
handling.

Changes include:
- Enable DM_PMIC, DM_PMIC_PCA9450, and SPL_DM_PMIC_PCA9450 in defconfig.
- Drop legacy SPL I2C and PMIC options.
- Remove manual I2C1 pad setup and legacy power_pca9450_init() usage.
- Use DM-based pmic_get() with the DT node "pmic@25".
- Update PMIC register programming to use struct udevice API.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx8mp-icore-mx8mp-edimm2.2-u-boot.dtsi
board/engicam/imx8mp/spl.c
configs/imx8mp-icore-mx8mp-edimm2.2_defconfig