Skip to content

ARM: tegra: cpuidle: some clean up for CPUidle driver

Joseph Lo linux-arm-kernel linux-tegra 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* fix some coding style and commit message

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: tegra: cpuidle: move the init function behind the suspend init functionarch/arm/mach-tegra/common.c arch/arm/mach-tegra/cpuidle.c arch/arm/mach-tegra/cpuidle.h+12 -100 replies
2/4ARM: tegra: hook tegra_tear_down_cpu function in the PM suspend init functionarch/arm/mach-tegra/cpuidle-tegra20.c arch/arm/mach-tegra/cpuidle-tegra30.c arch/arm/mach-tegra/pm.c+15 -60 replies
3/4ARM: tegra: cpuidle: using IS_ENABLED for multi SoCs management in init funcarch/arm/mach-tegra/cpuidle.c arch/arm/mach-tegra/cpuidle.h+7 -210 replies
4/4ARM: tegra: don't pass CPU ID to tegra_{set, clear}_cpu_in_lp2arch/arm/mach-tegra/cpuidle-tegra20.c arch/arm/mach-tegra/cpuidle-tegra30.c arch/arm/mach-tegra/pm.c +1 more+14 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/4] ARM: tegra: cpuidle: some clean up for CPUidle driver

This series has some clean ups for Tegra CPUidle drivers. Also make it more gereric.

V2:
* fix some coding style and commit message

Tested on Seaboard, Cardhu and Dalmore.

Joseph Lo (4):
ARM: tegra: cpuidle: move the init function behind the suspend init
function
ARM: tegra: hook tegra_tear_down_cpu function in the PM suspend init
function
ARM: tegra: cpuidle: using IS_ENABLED for multi SoCs management in
init func
ARM: tegra: don't pass CPU ID to tegra_{set,clear}_cpu_in_lp2

 arch/arm/mach-tegra/common.c          |  2 ++
 arch/arm/mach-tegra/cpuidle-tegra20.c | 10 +++-------
 arch/arm/mach-tegra/cpuidle-tegra30.c | 10 +++-------
 arch/arm/mach-tegra/cpuidle.c         | 19 +++++++------------
 arch/arm/mach-tegra/cpuidle.h         | 15 +++------------
 arch/arm/mach-tegra/pm.c              | 25 +++++++++++++++++++++----
 arch/arm/mach-tegra/pm.h              |  4 ++--
 7 files changed, 41 insertions(+), 44 deletions(-)
Signature · 1 line
1.8.3