IMX6 powermanagement in linux

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

IMX6 powermanagement in linux

1,157 次查看
anoopmm
Contributor I

Hi,

We are doing power management in Linux(L3.0.35_4.1.0_130816_source) for imx6 board.

As part of power management, we want to power off arm core or gate off arm core during suspend.

But we cannot find the code portion to do this in Linux source. Is this feature is implemented in Linux code?

In one portion (mxc_cpu_lp_set function)  ARM_POWER_OFF case, we can see the code to power off the arm core.

But I am not seeing arm power down request bit similar to VPU/GPU(gpu_vpu_pdn_req) to switch off the arm core in imx6.

Can you please help to identify the arm power down request bit?

Regards

Anoop

标签 (2)
0 项奖励
回复
1 回复

496 次查看
igorpadykov
NXP Employee
NXP Employee

Hi anoop

actually mxc_cpu_lp_set function  ARM_POWER_OFF case is

pdn_req to switch off the arm core, it is implemented in

register PGC Control Register (PGC_CPU_CTRL)

PGC_CPU_CTRL.jpg

IMX6DQRM  sect.27.6 Power Gating Control (PGC) gives usage :

PGC power down sequence:

• CCM sends power down request when the chip is about to enter stop mode. The user

should define which modules will be powered down (PGCR registers of

corresponding PGC module, bit 0).

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复