IMX8 PMIC

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

IMX8 PMIC

3,544件の閲覧回数
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 件の賞賛
返信
8 返答(返信)

3,194件の閲覧回数
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 件の賞賛
返信

3,194件の閲覧回数
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 件の賞賛
返信

3,194件の閲覧回数
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 件の賞賛
返信

3,194件の閲覧回数
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 件の賞賛
返信

3,193件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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

Linux Manual.

Best regards
igor

0 件の賞賛
返信

3,193件の閲覧回数
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 件の賞賛
返信

1,974件の閲覧回数
evanlin
Contributor II

hi Grayli,

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

0 件の賞賛
返信

3,193件の閲覧回数
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 件の賞賛
返信