summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2012-02-29 14:06:05 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:02:43 +0200
commit14ff317825d2b2c1f0d01de67cdb4e4beb484023 (patch)
treec92fb851943748232f780dab8890802305df8c00
parent5bc856f3337eed438d08aea50e9333d2aa23fef9 (diff)
mach-ux500: video: mcde: add rotbufsize
This adds rotbufsize and moves the declaration of the rotbufs from the board-mop500-mcde.c file to the devices-db8500.c file. ST-Ericsson ID: 373680 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Signed-off-by: Torbjorn Svensson <torbjorn.x.svensson@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/devices-db5500.c4
-rw-r--r--arch/arm/mach-ux500/devices-db8500.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices-db5500.c b/arch/arm/mach-ux500/devices-db5500.c
index 6d7764f3d9e..73300e06281 100644
--- a/arch/arm/mach-ux500/devices-db5500.c
+++ b/arch/arm/mach-ux500/devices-db5500.c
@@ -216,6 +216,10 @@ static struct mcde_platform_data mcde_pdata = {
.platform_set_clocks = mcde_platform_set_display_clocks,
.platform_enable_dsipll = mcde_platform_enable_dsipll,
.platform_disable_dsipll = mcde_platform_disable_dsipll,
+ /* TODO: Remove rotation buffers once ESRAM driver is completed */
+ .rotbuf1 = U8500_ESRAM_BASE + 0x20000 * 4 + 0x2000,
+ .rotbuf2 = U8500_ESRAM_BASE + 0x20000 * 4 + 0x11000,
+ .rotbufsize = 0xF000,
};
struct platform_device u5500_mcde_device = {
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index b4da60f2f76..e002d04c836 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -233,6 +233,10 @@ static struct mcde_platform_data mcde_u8500_pdata = {
.platform_set_clocks = mcde_platform_set_display_clocks,
.platform_enable_dsipll = mcde_platform_enable_dsipll,
.platform_disable_dsipll = mcde_platform_disable_dsipll,
+ /* TODO: Remove rotation buffers once ESRAM driver is completed */
+ .rotbuf1 = U8500_ESRAM_BASE + 0x20000 * 4 + 0x2000,
+ .rotbuf2 = U8500_ESRAM_BASE + 0x20000 * 4 + 0x11000,
+ .rotbufsize = 0xF000,
};
struct platform_device u8500_mcde_device = {