summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-03-30 22:04:05 +0800
committerFabio Estevam <[email protected]>2026-04-02 09:11:33 -0300
commitc93520a4ba34414fdfd84ce0824d6c67a958d518 (patch)
tree47df1a3a1807cd03524652d16ef9d064910ffcc1 /arch
parentb1e8c95e2bf59ae317c918a2424b6fc0ba96c0ef (diff)
imx8mp: libra-fpsc: 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 <[email protected]> Reviewed-by: Yannic Moog <[email protected]> Tested-by: Yannic Moog <[email protected]> Reviewed-by: Teresa Remmet <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx8mp-libra-rdk-fpsc-u-boot.dtsi22
1 files changed, 20 insertions, 2 deletions
diff --git a/arch/arm/dts/imx8mp-libra-rdk-fpsc-u-boot.dtsi b/arch/arm/dts/imx8mp-libra-rdk-fpsc-u-boot.dtsi
index 1320f1540ed..f917b71be90 100644
--- a/arch/arm/dts/imx8mp-libra-rdk-fpsc-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-libra-rdk-fpsc-u-boot.dtsi
@@ -33,6 +33,18 @@
};
};
+&pinctrl_i2c1 {
+ bootph-all;
+};
+
+&pinctrl_pmic {
+ bootph-all;
+};
+
+&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
+ bootph-all;
+};
+
&reg_usdhc2_vmmc {
bootph-pre-ram;
};
@@ -78,11 +90,11 @@
};
&i2c1 {
- bootph-pre-ram;
+ bootph-all;
};
&pmic {
- bootph-pre-ram;
+ bootph-all;
};
/* USB1 Type-C */
@@ -120,6 +132,12 @@
&usdhc2 {
bootph-pre-ram;
+ /*
+ * LDO5 output depends on SD2_VSEL, but no way to read back SD2_VSEL
+ * when using SDHC controller VSELECT to control SD2_VSEL. So drop
+ * vqmmc-supply to avoid fsl_esdhc_imx read back wrong voltage.
+ */
+ /delete-property/ vqmmc-supply;
};
&usdhc3 {