iMX8QM SCFW board_set_voltage

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX8QM SCFW board_set_voltage

137 Views
aso
Contributor III

Hello,

Currently, I am checking the PMIC voltage on a custom board using iMX8QM.
We have built SCFW with debug log output enabled and checked the UART output log.
Here, the following voltage setting logs are fired in rapid succession.
This seems to occur when the CPU load is high, such as when Linux is booting or an application is running.

board_set_voltage (A72, 1000, 1100)
board_set_voltage (A72, 1000, 1000)
board_set_voltage (A72, 1000, 1000)
board_set_voltage (A53, 1100, 1100)
board_set_voltage (A53, 1000, 1100)
board_set_voltage (A53, 1000, 1000)

The log is output by SCFW, but who is requesting the voltage setting?
I think the following are possible.

・Linux Kernel
・ ATF
・ SECO
・ SCFW itself

I want to set the voltage from Linux using the following tools
I am in trouble because someone rewrites the setting value.

 https://source.codeaurora.org/external/imxsupport/scfw_cli/

My operating environment is as follows.
・Linux 4.19.35_1.1.0
・L4.19.35_1.1.0_SCFWKIT-1.2.7.1

Thanks.

0 Kudos
0 Replies