aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:10:03 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:10:03 +0000
commit105d13dfd7cc631637c75fb33c39d38e75300bdb (patch)
tree40d1542549e2a9b0d0438842403812cd344108d7 /drivers
parentded3fa21f2e08080e22f4ca8808818b09a735b56 (diff)
fix-glamo-crank-memory-to-90MHz.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/glamo/glamo-core.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/mfd/glamo/glamo-core.c b/drivers/mfd/glamo/glamo-core.c
index 29477caa036..c2a0d254560 100644
--- a/drivers/mfd/glamo/glamo-core.c
+++ b/drivers/mfd/glamo/glamo-core.c
@@ -729,8 +729,8 @@ static struct glamo_script glamo_init_script[] = {
{ GLAMO_REG_CLOCK_MPEG, 0x0000 },
#endif
{ GLAMO_REG_PLL_GEN1, 0x05db }, /* 48MHz */
- { GLAMO_REG_PLL_GEN3, 0x09c3 }, /* 80MHz */
- { 0xfffd, 0 },
+ { GLAMO_REG_PLL_GEN3, 0x0aba }, /* 90MHz */
+ { 0xfffd, 0 },
/*
* b9 of this register MUST be zero to get any interrupts on INT#
* the other set bits enable all the engine interrupt sources
@@ -749,7 +749,10 @@ static struct glamo_script glamo_init_script[] = {
{ 0x212, 0x0000 },
{ 0x214, 0x4000 },
{ 0x216, 0xf00e },
- { GLAMO_REG_MEM_TYPE, 0x0874 }, /* 8MB, 16 word pg wr+rd */
+
+ /* S-Media recommended "set tiling mode to 512 mode for memory access
+ * more efficiency when 640x480" */
+ { GLAMO_REG_MEM_TYPE, 0x0c74 }, /* 8MB, 16 word pg wr+rd */
{ GLAMO_REG_MEM_GEN, 0xafaf }, /* 63 grants min + max */
{ GLAMO_REG_MEM_TIMING1, 0x0108 },