Skip to content

ARM: tegra: add platform suspend support

Joseph Lo linux-arm-kernel linux-devicetree linux-tegra 11 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest9 patches 0 repliesNew
  2. v59 patches 0 repliesSuperseded
  3. v4 posting 2/20 of 9 patches 0 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v4 posting 1/29 patches0 repliesSuperseded
v2 posting 4/40 of 9 patches0 repliesSuperseded
v3 posting 2/20 of 9 patches0 repliesSuperseded
v2 posting 3/40 of 9 patches0 repliesSuperseded
v3 posting 1/29 patches0 repliesSuperseded
v2 posting 2/40 of 9 patches0 repliesSuperseded
v2 posting 1/49 patches0 repliesSuperseded
v110 patches0 repliesSuperseded

Changes in v6 from the cover letter

* add more boards support by dts file

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9gpio: tegra: add gpio wakeup source handlingdrivers/gpio/gpio-tegra.c+19 -20 replies
2/9ARM: tegra: irq: add wake up handlingarch/arm/mach-tegra/common.c arch/arm/mach-tegra/irq.c arch/arm/mach-tegra/irq.h+103 -10 replies
3/9ARM: dt: tegra: add bindings of power management configurations for PMCDocumentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt arch/arm/mach-tegra/pmc.c arch/arm/mach-tegra/pmc.h+129 -00 replies
4/9ARM: tegra: pm: add platform suspend supportarch/arm/mach-tegra/common.c arch/arm/mach-tegra/pm.c arch/arm/mach-tegra/pm.h +2 more+146 -170 replies
5/9ARM: dts: tegra: add power gpio keys to DTarch/arm/boot/dts/tegra20-harmony.dts arch/arm/boot/dts/tegra20-trimslice.dts arch/arm/boot/dts/tegra20-ventana.dts+33 -00 replies
6/9ARM: dts: tegra: whistler: add wakeup source for KBCarch/arm/boot/dts/tegra20-whistler.dts+1 -00 replies
7/9ARM: dts: tegra: add non-removable and keep-power-in-suspend property for MMCarch/arm/boot/dts/tegra114-dalmore.dts arch/arm/boot/dts/tegra20-paz00.dts arch/arm/boot/dts/tegra20-seaboard.dts +6 more+11 -00 replies
8/9ARM: tegra: config: defconfig updatearch/arm/configs/tegra_defconfig+1 -00 replies
9/9ARM: dts: tegra: add the PM configurations of PMCarch/arm/boot/dts/tegra20-colibri-512.dtsi arch/arm/boot/dts/tegra20-harmony.dts arch/arm/boot/dts/tegra20-paz00.dts +7 more+70 -00 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchLinus Walleij
1/9A-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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

Read the v6 thread

Cover letter [PATCH V6 0/9] ARM: tegra: add platform suspend support

This series introduces a basic functionality for Tegra to support the platform suspend and resume.

Note: This series only adds the support for Tegra20 and Tegra30. The Tegra114 will be supported later.

Verified on Seaboard and Cardhu.

V6:
* add more boards support by dts file

V5:
* some fixes from V4's review comments

V4:
* add tegra_pm_validate_suspend_mode() to validate the suspend mode config from DT
* squash the patch below into [4/9] to avoid churn after this series [2/3] ARM: tegra: refactor the pmc_pm_set function

V3:
* fix the PMC DT configurations for paz00 board
* add a protection for only support LP2 suspend mode

V2:
* re-order the patch sequence to make sure the suspend function can be enabled well after the last patch be merged
* squash the patches that defined the PM bindings for PMC and the implementation

Joseph Lo (9):
gpio: tegra: add gpio wakeup source handling
ARM: tegra: irq: add wake up handling
ARM: dt: tegra: add bindings of power management configurations for
PMC
ARM: tegra: pm: add platform suspend support
ARM: dts: tegra: add power gpio keys to DT
ARM: dts: tegra: whistler: add wakeup source for KBC
ARM: dts: tegra: add non-removable and keep-power-in-suspend property
for MMC
ARM: tegra: config: defconfig update
ARM: dts: tegra: add the PM configurations of PMC

 .../bindings/arm/tegra/nvidia,tegra20-pmc.txt      |  38 ++++++
 arch/arm/boot/dts/tegra114-dalmore.dts             |   1 +
 arch/arm/boot/dts/tegra20-colibri-512.dtsi         |   9 ++
 arch/arm/boot/dts/tegra20-harmony.dts              |  17 +++
 arch/arm/boot/dts/tegra20-paz00.dts                |   7 ++
 arch/arm/boot/dts/tegra20-seaboard.dts             |   8 ++
 arch/arm/boot/dts/tegra20-tamonten.dtsi            |   6 +
 arch/arm/boot/dts/tegra20-trimslice.dts            |  20 ++++
 arch/arm/boot/dts/tegra20-ventana.dts              |  19 +++
 arch/arm/boot/dts/tegra20-whistler.dts             |  10 ++
 arch/arm/boot/dts/tegra30-beaver.dts               |   8 ++
 arch/arm/boot/dts/tegra30-cardhu-a02.dts           |   1 +
 arch/arm/boot/dts/tegra30-cardhu-a04.dts           |   1 +
 arch/arm/boot/dts/tegra30-cardhu.dtsi              |   8 ++
 arch/arm/configs/tegra_defconfig                   |   1 +
 arch/arm/mach-tegra/common.c                       |   3 +
 arch/arm/mach-tegra/irq.c                          |  96 ++++++++++++++-
 arch/arm/mach-tegra/irq.h                          |   6 +
 arch/arm/mach-tegra/pm.c                           |  93 ++++++++++++--
 arch/arm/mach-tegra/pm.h                           |  15 +++
 arch/arm/mach-tegra/pmc.c                          | 133 ++++++++++++++++++++-
 arch/arm/mach-tegra/pmc.h                          |  12 +-
 drivers/gpio/gpio-tegra.c                          |  21 +++-
 23 files changed, 513 insertions(+), 20 deletions(-)
Signature · 1 line
1.8.2