IMX8 PMIC

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

IMX8 PMIC

3,549 Views
gravity_one
Contributor III

hello,

use imx8 ,

How does ‘app’ communicate with SCFW-PMIC,

I want to use ‘app’ to control the PMIC output,

thanks

0 Kudos
Reply
8 Replies

3,199 Views
igorpadykov
NXP Employee
NXP Employee

Hi WANG

one can try pmic apis described in sect.12.20.3.1 dynamic_pmic_set_voltage()
System Controller Firmware Porting Guide (sc_fw_port.pdf) included in
SCFW Porting Kit

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

0 Kudos
Reply

3,199 Views
gravity_one
Contributor III

hello,

you provide : This approach is to develop power management in the SCFW phase,

I want to :Now that the kernel has started up and how to management power mode,

BRS

Grayli

0 Kudos
Reply

3,199 Views
igorpadykov
NXP Employee
NXP Employee

please check power management chapter in Linux Manual

in Linux 4.19.35_1.1.0 Documentation

Best regards
igor

0 Kudos
Reply

3,199 Views
gravity_one
Contributor III

hello,


I still don't see what I need,

please mark Which document which page?

i want to:Control or change the output of the LDOn on PMIC  after the kernel startup is complete,Change the output voltage;

i only see  CMD:echo enabled > /sys/class/tty/ttymxc0/power/wakeup ;

It doesn't meet my requirements;

thanks

BRS

Grayli

 

0 Kudos
Reply

3,198 Views
igorpadykov
NXP Employee
NXP Employee

please refer to regulator_set_voltage() api function on p.66 attached

Linux Manual.

Best regards
igor

0 Kudos
Reply

3,198 Views
gravity_one
Contributor III

hello,

use regulator_set_voltage() api function ,

The kernel's API needs to use system_call() to support APP operations,rigth?

thanks

BRS

Grayli

0 Kudos
Reply

1,979 Views
evanlin
Contributor II

hi Grayli,

did you figure out how to call these api functions in kernel?

0 Kudos
Reply

3,198 Views
gravity_one
Contributor III

hello,

download SCFW Porting Kit,is imx-scfw-porting-kit-1.2.7.1.tar.gz

tar zxvf  imx-scfw-porting-kit-1.2.7.1.tar.gz,

but no sc_fw_port.pdf.1.png

0 Kudos
Reply