]> git.ipfire.org Git - thirdparty/u-boot.git/commit
imx8mp: phyboard-pollux-rdk: Convert to DM_PMIC
authorPeng Fan <peng.fan@nxp.com>
Mon, 30 Mar 2026 14:04:03 +0000 (22:04 +0800)
committerFabio Estevam <festevam@nabladev.com>
Thu, 2 Apr 2026 12:11:33 +0000 (09:11 -0300)
commitd515edf2ad0ebdce8c8a98b1753dda923ebca00d
tree5d039d23243d739490195677cb61b07ca9d7160c
parentbf7dbb75fe4cf16e71e387321910f91095fa7a0b
imx8mp: phyboard-pollux-rdk: 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>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Tested-by: Yannic Moog <y.moog@phytec.de>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi
board/phytec/phycore_imx8mp/spl.c
configs/phycore-imx8mp_defconfig