Pmic bd71847 for imx8mm hang at devm_mfd_add_devices

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

Pmic bd71847 for imx8mm hang at devm_mfd_add_devices

606 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
1 Reply

600 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

If you don’t have it enabled as a driver it won't show as UU, the I2C probe will find it for it slave address.

At uboot you may select the correct config, this is why I have previously suggested that you my use i.MX8MM DDR4 EVK as a reference.

https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/imx8mm_evk.h?h=lf_v2022.04...

Best regards,
Aldo.

0 Kudos