summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-nomadik
diff options
context:
space:
mode:
authorNarayanan G2011-11-22 09:26:55 +0100
committerVinod Koul2011-11-28 04:30:08 +0100
commit28c7a19d230228ab9ae61c300c5003a2400fadd3 (patch)
treed66f1e8a74528afc4226df129dcaf5f3abb97f1d /arch/arm/plat-nomadik
parentdmaengine: timb_dma: fix the spare warinings (diff)
downloadkernel-qcow2-linux-28c7a19d230228ab9ae61c300c5003a2400fadd3.tar.gz
kernel-qcow2-linux-28c7a19d230228ab9ae61c300c5003a2400fadd3.tar.xz
kernel-qcow2-linux-28c7a19d230228ab9ae61c300c5003a2400fadd3.zip
dmaengine/ste_dma40: Add support to use lcla area from esram
This patch provides an option of having the lcla (link address) in ESRAM instead of allocating it. The bool value (use_esram_lcla) in the stedma40_platform_data if set to true, then the lcla address would be taken from platform resources. Also, the corresponding esram regulator is managed in the suspend/resume functions. Signed-off-by: Narayanan G <narayanan.gopalakrishnan@stericsson.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'arch/arm/plat-nomadik')
-rw-r--r--arch/arm/plat-nomadik/include/plat/ste_dma40.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/ste_dma40.h b/arch/arm/plat-nomadik/include/plat/ste_dma40.h
index 38b041a40db4..3177bed253df 100644
--- a/arch/arm/plat-nomadik/include/plat/ste_dma40.h
+++ b/arch/arm/plat-nomadik/include/plat/ste_dma40.h
@@ -153,6 +153,7 @@ struct stedma40_platform_data {
struct stedma40_chan_cfg *memcpy_conf_phy;
struct stedma40_chan_cfg *memcpy_conf_log;
int disabled_channels[STEDMA40_MAX_PHYS];
+ bool use_esram_lcla;
};
#ifdef CONFIG_STE_DMA40