IMX8 LInux: PMIC and Reboot sequence in Linux

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8 LInux: PMIC and Reboot sequence in Linux

1,880件の閲覧回数
mahesh_hns
Contributor II

I have two boards which are designed very close to the below boards

1) imx8mp-evk

2) imx8mq-evk

I would like to know what happens under the hood when I issue "reboot" in Linux . Is it just the soft reset of the ARM cores involved, or is the PMIC involved (PCA9450 for imx8mp) ? If PMIC is involved, what actually happens under the hood when linux reboot command finishes? Does linux write in to the PMIC registers through I2C to issue a PMIC reset? Or does the linux assert WDOG_B (GPIO1_2) which is connected to WDOG_B of PMIC and resulting in reset?

Does the reset mechanism differ between imx8mp and imx8m? We are seeing some issues in our imx8mq board where the PMIC reset does not happen, but just the ARM goes through warm reset. (does not bring the whole SOC power reset as the imx8mp) does. 
  Any insight/help is appreciated
Thanks

0 件の賞賛
返信
2 返答(返信)

1,847件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Reboot command will cause PMIC reset with WDOG_B signal.

The difference between i.MX8MQ and i.MX8MP is that  WDOG signal will case SOC_0V9 reset on i.MX8MQ EVK.

Zhiming_Liu_0-1704942284782.png

 

0 件の賞賛
返信

1,842件の閲覧回数
ochu
Contributor I

@Zhiming_Liu 

I have a similar question but regarding a different EVK: iMX8QM MEK.

On this board the 'reboot' command does not reset PMIC, but pressing the reset button does. The WDOG_IN pin (WDI) to PMIC (PF8100) takes input from the reset button and SCU_WDOG_OUT from iMX8QM. It appears that if 'reboot' is to work the same as iMX8MP EVK, the SCU_WDOG_OUT needs to toggle. The current 'reboot' command came with iMX8QM MEK BSP does not do that.

How to change the BSP so 'reboot' can support this feature? Do both Linux and SCFW need to change? SCFW porting guide does not give direction how to achieve this.

Thank you.

0 件の賞賛
返信