diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-11-14 11:48:57 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-11-17 23:23:36 +0300 |
commit | ae43b3289186480f81c78bb63d788a85a3631f47 (patch) | |
tree | acb3bc4f43074d51d0bfbcc91efaf219a62f787f /arch/arm | |
parent | 5670c2a52f60418f67dd589e20d30600804fcfde (diff) | |
download | linux-ae43b3289186480f81c78bb63d788a85a3631f47.tar.xz |
ARM: 8202/1: dmaengine: pl330: Add runtime Power Management support v12
This patch adds runtime PM support to pl330 DMA engine driver.
The runtime power management for pl330 DMA driver allows gating of AMBA
clock (PDMA) in FSYS clock domain, when the device is not processing any
requests. This is necessary to enter low power modes on Exynos SoCs
(e.g. LPA on Exynos4x12 or W-AFTR on Exynos3250).
Runtime PM resuming of the device may happen in atomic context (during
call device_issue_pending()) so pm_runtime_irq_safe() is used. This will
lead only to disabling/enabling of the clock but this is sufficient for
gating the clock and for reducing energy usage.
Driver uses runtime PM callbacks from amba/bus.c driver only.
Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions