Skip to content

ARM: tegra: support LP1 suspend mode

Joseph Lo linux-arm-kernel linux-tegra 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ARM: tegra: add common resume handling code for LP1 resumingarch/arm/mach-tegra/reset-handler.S arch/arm/mach-tegra/reset.c arch/arm/mach-tegra/sleep.h+17 -01 reply
2/8ARM: tegra: config the polarity of the request of sys clockarch/arm/mach-tegra/pmc.c+16 -01 reply
2/8ARM: tegra: config the polarity of the request of sys clock+0 -01 reply
2/8ARM: tegra: config the polarity of the request of sys clock+0 -00 replies
3/8clk: tegra114: add LP1 suspend/resume supportdrivers/clk/tegra/clk-tegra114.c+32 -01 reply
3/8clk: tegra114: add LP1 suspend/resume support+0 -01 reply
3/8clk: tegra114: add LP1 suspend/resume support+0 -02 replies
3/8clk: tegra114: add LP1 suspend/resume support+0 -01 reply
3/8clk: tegra114: add LP1 suspend/resume support+0 -00 replies
3/8clk: tegra114: add LP1 suspend/resume support+0 -01 reply
3/8clk: tegra114: add LP1 suspend/resume support+0 -01 reply
3/8clk: tegra114: add LP1 suspend/resume support+0 -00 replies
4/8ARM: tegra: add common LP1 suspend supportarch/arm/mach-tegra/pm.c arch/arm/mach-tegra/pm.h arch/arm/mach-tegra/pmc.c +2 more+125 -61 reply
4/8ARM: tegra: add common LP1 suspend support+0 -01 reply
4/8ARM: tegra: add common LP1 suspend support+0 -00 replies
5/8ARM: tegra30: add LP1 suspend supportarch/arm/mach-tegra/Makefile arch/arm/mach-tegra/pm-tegra30.c arch/arm/mach-tegra/pm.c +4 more+573 -41 reply
5/8ARM: tegra30: add LP1 suspend support+0 -00 replies
6/8ARM: tegra20: add LP1 suspend supportarch/arm/mach-tegra/Makefile arch/arm/mach-tegra/pm-tegra20.c arch/arm/mach-tegra/pm.c +2 more+352 -00 replies
7/8ARM: tegra114: add LP1 suspend supportarch/arm/mach-tegra/Makefile arch/arm/mach-tegra/iomap.h arch/arm/mach-tegra/pm.c +2 more+147 -141 reply
7/8ARM: tegra114: add LP1 suspend support+0 -00 replies
8/8ARM: dts: tegra: enable LP1 suspend modearch/arm/boot/dts/tegra114-dalmore.dts arch/arm/boot/dts/tegra20-colibri-512.dtsi arch/arm/boot/dts/tegra20-harmony.dts +8 more+11 -110 replies

Reviews trailers per patch

None of the 21 patches has a Reviewed-by or Acked-by.

PatchMarc Dietrich
SeriesT-b
1/8
2/8
2/8
2/8
3/8
3/8
3/8
3/8
3/8
3/8
3/8
3/8
4/8
4/8
4/8
5/8
5/8
6/8
7/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] ARM: tegra: support LP1 suspend mode

This series adds the support of LP1 suspend mode for Tegra.

Verified on Seaboard, Cardhu and Dalmore.
And tested with THUMB2_KERNEL as well.

P.S.
A known issue on Dalmore, the LP1 resume may take 10 ~ 15 seconds due to the 792MHz BCT. It can't be reproduced on Seaboard or Cardhu. And the root cause of this is about the default settings of EMC registers that cause the DRAM can't leave self-refresh mode immediately. If you want to test with quick LP1 resume on Dalmore, I can provide another HACK for this.

Joseph Lo (8):
ARM: tegra: add common resume handling code for LP1 resuming
ARM: tegra: config the polarity of the request of sys clock
clk: tegra114: add LP1 suspend/resume support
ARM: tegra: add common LP1 suspend support
ARM: tegra30: add LP1 suspend support
ARM: tegra20: add LP1 suspend support
ARM: tegra114: add LP1 suspend support
ARM: dts: tegra: enable LP1 suspend mode

 arch/arm/boot/dts/tegra114-dalmore.dts     |   2 +-
 arch/arm/boot/dts/tegra20-colibri-512.dtsi |   2 +-
 arch/arm/boot/dts/tegra20-harmony.dts      |   2 +-
 arch/arm/boot/dts/tegra20-paz00.dts        |   2 +-
 arch/arm/boot/dts/tegra20-seaboard.dts     |   2 +-
 arch/arm/boot/dts/tegra20-tamonten.dtsi    |   2 +-
 arch/arm/boot/dts/tegra20-trimslice.dts    |   2 +-
 arch/arm/boot/dts/tegra20-ventana.dts      |   2 +-
 arch/arm/boot/dts/tegra20-whistler.dts     |   2 +-
 arch/arm/boot/dts/tegra30-beaver.dts       |   2 +-
 arch/arm/boot/dts/tegra30-cardhu.dtsi      |   2 +-
 arch/arm/mach-tegra/Makefile               |   3 +
 arch/arm/mach-tegra/iomap.h                |   6 +
 arch/arm/mach-tegra/pm-tegra20.c           |  37 ++
 arch/arm/mach-tegra/pm-tegra30.c           |  37 ++
 arch/arm/mach-tegra/pm.c                   | 121 +++++-
 arch/arm/mach-tegra/pm.h                   |  23 ++
 arch/arm/mach-tegra/pmc.c                  |  36 +-
 arch/arm/mach-tegra/pmc.h                  |   3 +
 arch/arm/mach-tegra/reset-handler.S        |  13 +
 arch/arm/mach-tegra/reset.c                |   2 +
 arch/arm/mach-tegra/reset.h                |   4 +
 arch/arm/mach-tegra/sleep-tegra20.S        | 300 ++++++++++++++
 arch/arm/mach-tegra/sleep-tegra30.S        | 615 +++++++++++++++++++++++++++++
 arch/arm/mach-tegra/sleep.S                |   8 +-
 arch/arm/mach-tegra/sleep.h                |  18 +
 drivers/clk/tegra/clk-tegra114.c           |  32 ++
 27 files changed, 1259 insertions(+), 21 deletions(-)
 create mode 100644 arch/arm/mach-tegra/pm-tegra20.c
 create mode 100644 arch/arm/mach-tegra/pm-tegra30.c
Signature · 1 line
1.8.3.4