summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-12-12 13:36:23 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:02:37 +0200
commit96a1f7c598c9d7fdb0effe2ad93ff29250505010 (patch)
treebb434ece8ab7e1cdba887ed7575ea873ba7060f7
parente98611e7502dfd79bb992f6164b6664803c68c50 (diff)
u5500: dma: add into power domain
Add the DMA into the power domain so that the special runtime pm and atomic regulator handling is used. ST-Ericsson ID: 403369 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I83992d5c0c2112d1cb9f802f21e15c4fcb709830 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42106 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/dma-db5500.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/dma-db5500.c b/arch/arm/mach-ux500/dma-db5500.c
index 5284c3284de..3a56ea8b095 100644
--- a/arch/arm/mach-ux500/dma-db5500.c
+++ b/arch/arm/mach-ux500/dma-db5500.c
@@ -14,6 +14,7 @@
#include <plat/ste_dma40.h>
#include <mach/setup.h>
#include <mach/hardware.h>
+#include <mach/pm.h>
#include <mach/ste-dma40-db5500.h>
static struct resource dma40_resources[] = {
@@ -217,6 +218,9 @@ static struct stedma40_platform_data dma40_plat_data = {
static struct platform_device dma40_device = {
.dev = {
.platform_data = &dma40_plat_data,
+#ifdef CONFIG_PM
+ .pm_domain = &ux500_dev_power_domain,
+#endif
},
.name = "dma40",
.id = 0,