IMX6 powermanagement in linux

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

IMX6 powermanagement in linux

1,086 Views
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

Labels (2)
0 Kudos
1 Reply

425 Views
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 Kudos