Pmic bd71847 for imx8mm

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Pmic bd71847 for imx8mm

跳至解决方案
2,896 次查看
tzeng015
Contributor II

Hi NXP support

I had already porting bd718x7.c on imx8mm board. The device tree is OK and the driver can't load OK.

I can't figure about irq issue ? Can you help me which buttom shall I pree and let the diriver load finish ?

All the step are the attaches.

thank you

jeffrey

 

 

 

 

 

0 项奖励
1 解答
2,887 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may take i.MX8MM DDR4 EVK code as reference for this:
https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx8mm-ddr4-evk.dts?h=lf_v202...

Also, please note that the IRQ comes from PMIC_nINT.

Best regards,
Aldo.

在原帖中查看解决方案

5 回复数
2,823 次查看
tzeng015
Contributor II

Hi NXP support and all engineers 

I had finished it by my self . All you can check this one.

https://www.youtube.com/watch?v=PHixi3yK7XA

ps : attach files is the codes to reference.

0 项奖励
2,852 次查看
tzeng015
Contributor II

I will try it asap

0 项奖励
2,877 次查看
tzeng015
Contributor II

Hi NXP support 

I am porting bd71847 for imx8mm now but I have a serious question. According ,the attach files , I already make the dts Ok and it can go untile devm_mfd_add_devices of "rohm-bd718x7.c.

It is stop at 

ret = devm_mfd_add_devices(bd718xx->chip.dev, PLATFORM_DEVID_AUTO,
mfd, cells, NULL, 0,
regmap_irq_get_domain(bd718xx->irq_data));

and hang there .

My linux version Linux version 5.10.72-lts-5.10 and I can't figure out what's wrong.

Please help me. SOS. thank you

Jeffrey

0 项奖励
2,078 次查看
oprata
Contributor II

Hi.

I have a problem close that. In my case I used the 5.15.32-2.0.0 version. I made some changes in dts files and imx8mm_evk.h files too. At imx8mm_evk.h I disabled PCA9450 and enable BD71847.

0 项奖励
2,888 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may take i.MX8MM DDR4 EVK code as reference for this:
https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx8mm-ddr4-evk.dts?h=lf_v202...

Also, please note that the IRQ comes from PMIC_nINT.

Best regards,
Aldo.