IMX8 PMIC

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

IMX8 PMIC

2,001 次查看
gravity_one
Contributor III

hi,

use IMX8 EVK board, set PMIC power output,after  kernel  is  start。

but PMIC  ->PMIC_I2C,

DTB no PIMC_i2c config ,i donot know how to do?

0 项奖励
回复
6 回复数

1,795 次查看
igorpadykov
NXP Employee
NXP Employee

Hi WANG

pmic usage with i.mx8 series is described in Linux Manual

from Linux 4.19.35_1.1.0 Documentation

pastedImage_1.jpg

SCFW Porting Kit

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,795 次查看
gravity_one
Contributor III

9.png

0 项奖励
回复

1,795 次查看
igorpadykov
NXP Employee
NXP Employee

sc_fw_port.pdf

pastedImage_1.jpg

0 项奖励
回复

1,795 次查看
gravity_one
Contributor III

How does the kernel communicate with SCFW? Using the API: sc_pm_get_sys_power_mode,

Are there any examples of using apis in the kernel?

To modify the SCFW code, can only change the PMIC voltage output before kernel startup.

I think APP can also call API to modify the PMIC voltage output when running linux APP after kernel startup。

0 项奖励
回复

1,796 次查看
igorpadykov
NXP Employee
NXP Employee

>How does the kernel communicate with SCFW?

example (SC_R_MU_1A) :

imx_rpmsg.c\rpmsg\drivers - linux-imx - i.MX Linux kernel 

https://community.nxp.com/docs/DOC-340335 

0 项奖励
回复

1,796 次查看
gravity_one
Contributor III

PMIC  is  pf8100

0 项奖励
回复