Pmic bd71847 for imx8mm

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pmic bd71847 for imx8mm

Jump to solution
4,049 Views
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 Kudos
Reply
1 Solution
4,040 Views
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.

View solution in original post

5 Replies
3,976 Views
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 Kudos
Reply
4,005 Views
tzeng015
Contributor II

I will try it asap

0 Kudos
Reply
4,030 Views
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 Kudos
Reply
3,231 Views
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 Kudos
Reply
4,041 Views
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.