AnsweredAssumed Answered

Mainstream kernel and poweroff on imx6ull board

Question asked by Arthur LAMBERT on Jan 18, 2019
Latest reply on Jan 23, 2019 by Arthur LAMBERT



We are currently working with an official nxp bsp (rel_imx_4.1.15_2.1.0_ga) on our custom imx6ull 

board. We are trying to move to mainstream kernel. For now the work is done on 4.19.X release.


I am able to make work my audio codec, wifi, bluetooth, etc.. correctly. I have one last issue... The power

off feature. 


By just running poweroff command in the shell on my board, the log seems good :


# poweroff

imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!
reboot: System halted


But the led are always on and I am not able to boot anymore. 

The custom board uses a pfuze3000 pmic. Eveything is working perfectly on the officiel nxp release

of course but not on the mainstream kernel.  It is like the pmic is not doing his work correctly.


There are thousands of patch on nxp bsp. Any clue about a patch to make work the poweroff 

feature on the mainstream kernel with a pmic  on imx6 board?


I tried to align the pfuze100_regulator sources, all the device tree sources, and it is always 

not working properly