IMX8 PMIC

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8 PMIC

377 Views
Contributor II

hello,

use imx8 ,

How does ‘app’ communicate with SCFW-PMIC,

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

thanks

0 Kudos
7 Replies

27 Views
NXP TechSupport
NXP TechSupport

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

27 Views
Contributor II

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

27 Views
NXP TechSupport
NXP TechSupport

please check power management chapter in Linux Manual

in Linux 4.19.35_1.1.0 Documentation

Best regards
igor

0 Kudos

27 Views
Contributor II

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

27 Views
NXP TechSupport
NXP TechSupport

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

Linux Manual.

Best regards
igor

0 Kudos

27 Views
Contributor II

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

27 Views
Contributor II

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