NXP開發出相對應的"電源管理芯片PCA9450A"來提供電源給i.MX8M Mini。在成本,電源,功耗上更有優勢。在硬體線路線,我們提供相對應的修改參考線路之外,另外也要搭配相對軟件驅動。
以下為軟件驅動的補丁:
I. uboot‐imx
1. In the “./drivers/power/pmic/” directory
A. copy pca9450.c and pmic_pca9450.c of uboot-pca9450.zip.
B. modify Kconfig to add pca9450
C. modify Makefile to add pca9450
2. In the “./include/power/” directory
A. copy pca9450.h of uboot-pca9450.zip.
3. In the “./include/configs/” directory
A. Modify imx8mm_evk.h to remove bd71837 and add pca9450
4. In the “./arch/arm/dts/” directory.
A. Change to fsl-imx8mm-evk.dts of uboot-pca9450.zip.
5. modify initial code of spl.c to replace bd71837 code with pca9450.
If use “imx8mm_evk” directory,
Or if use “imx8mm_val” directory,
以下為軟件驅動的補丁:
I. uboot‐imx
1. In the “./drivers/power/pmic/” directory
A. copy pca9450.c and pmic_pca9450.c of uboot-pca9450.zip.
B. modify Kconfig to add pca9450
C. modify Makefile to add pca9450
2. In the “./include/power/” directory
A. copy pca9450.h of uboot-pca9450.zip.
3. In the “./include/configs/” directory
A. Modify imx8mm_evk.h to remove bd71837 and add pca9450
4. In the “./arch/arm/dts/” directory.
A. Change to fsl-imx8mm-evk.dts of uboot-pca9450.zip.
5. modify initial code of spl.c to replace bd71837 code with pca9450.
If use “imx8mm_evk” directory,
Or if use “imx8mm_val” directory,
II. linux‐imx
1. In the “./drivers/regulator/” directory
A. copy pca9450-regulator.c of linux-imx8mm-pca9450.zip.
B. modify Kconfig to add pca9450
C. modify Makefile to add pca9450
2. In the “./drivers/mfd/” directory
A. copy pca9450.c of linux-imx8mm-pca9450.zip.
B. modify Kconfig to add pca9450
C. modify Makefile to add pca9450
3. In the “./include/linux/mfd/” directory
A. copy pca9450.h of limux-imx
4. In the “./arch/arm64/configs/” directory
A. Modify defconfig to remove bd71837 and add pca9450
5. In the “./arch/arm64/boot/dts/freescale/” directory.
A. Change to fsl-imx8mm-evk.dts of linux-imx8mm-pca9450.zip
評論
Julius
2020年4月14日
Julius
2020年4月14日
不清楚問題是哪裡,是否有遺漏掉甚麼地方?