From mboxrd@z Thu Jan 1 00:00:00 1970 From: josephl@nvidia.com (Joseph Lo) Date: Wed, 13 Mar 2013 16:01:14 +0800 Subject: [PATCH V3 0/9] ARM: tegra: add platform suspend support Message-ID: <1363161683-20825-1-git-send-email-josephl@nvidia.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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. This series were depending on the patch below that not yet be merged into linux-mmc tree. "mmc: tegra: use mmc_of_parse to get the support of standard MMC DT bindings" Verified on Seaboard and Cardhu. 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 | 42 ++++++- 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-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 | 95 +++++++++++++- arch/arm/mach-tegra/irq.h | 6 + arch/arm/mach-tegra/pm.c | 71 +++++++++++ arch/arm/mach-tegra/pm.h | 6 + arch/arm/mach-tegra/pmc.c | 136 +++++++++++++++++++++ arch/arm/mach-tegra/pmc.h | 17 +++ drivers/gpio/gpio-tegra.c | 21 +++- 20 files changed, 493 insertions(+), 4 deletions(-) -- 1.8.1.5