Rebased ref, commits from common ancestor:
commit 98d65e534b1882a705c73309d3b72eb1d099595f
Author: Holger Freyther <zecke at openmoko.org>
Date: Sat May 10 09:58:02 2008 +0100
Disable low level debugging, make the s3c24xx PM debug code depend on DEBUG_LL
Hey,
where are slowly getting into the product state, low level debugging is
supposed to be turned off there. :)
z
From 6448f0a521c05c5ba6672f5908c55583974ce1ed Mon Sep 17 00:00:00 2001
From: Holger Freyther <zecke at openmoko.org>
Date: Fri, 9 May 2008 19:56:31 +0200
Subject: [PATCH] [debug] Disable low level debugging for the product
Disable low level debugging in the defconfig-gta02 and
the s3c pm code used printascii which is only available
with low level debugging, update the Kconfig entry for
this pm debugging support to depend on low level debugging
Signed-Off-By: Holger Freyther <zecke at openmoko.org>
commit 2954dd1c61610d5bc03f635865ce26a34d2fd3e0
Author: Holger Freyther <zecke at openmoko.org>
Date: Sat May 10 09:58:02 2008 +0100
[power] Use the bq27000 battery to provide charging values for apm
Built the apm emulation for gta02 and say that the gta02 battery
is supposed to be used for this apm emulation.
Signed-Off-By: Holger Freyther <zecke at openmoko.org>
commit c19b29af7baf4c82f6b84125d7eb2415e784aed4
Author: Holger Freyther <zecke at openmoko.org>
Date: Sat May 10 09:58:02 2008 +0100
[pcf50633] Disable debugging statements as the driver is working well
Signed-Off-By: Holger Freyther <zecke at openmoko.org>
commit accab32102f53cd05a217e528b109c828d87d242
Author: Holger Freyther <ich at tamarin.(none)>
Date: Sat May 10 09:58:02 2008 +0100
[pcf50633] Assume that all gta02's have a battery with coulumb counter
For the gta02 and the bq27000 battery it does not make sense to use the
ADC to get the current voltage. Under the assumption that all mass
production gta02's have such batteries it does not make any sense to
forward this value to APM.
Signed-Off-By: Holger Freyther <zecke at openmoko.org>
commit a58f28c3d617a469277490fba958c0d78432a682
Author: Holger Freyther <ich at tamarin.(none)>
Date: Sat May 10 09:58:02 2008 +0100
[pcf50633] Add exported symbol to the header file
Reading the battery volt using the ADC was an exported symbol
but not in the header file, add it.
Signed-Off-By: Holger Freyther <zecke at openmoko.org>
commit ffae76098c7e5312729efaa62e4760c680b7bc05
Author: Holger Freyther <ich at tamarin.(none)>
Date: Sat May 10 09:58:02 2008 +0100
[pcf50633] Print less debugging messages
According to the comments in the code we have to read
INT1 - INT5 in case of any interrupt. So even if we have masked
out the periodic timer interrupt we were able to see that it
fired. Only print that we got a SECOND interrupt if we are actually
interested in the periodic tick. From a brief look at the datasheet there
is no way to stop the periodic tick.
Signed-Off-By: Holger Freyther <zecke at openmoko.org>
commit 2fd01a23d294e28875e96c42db1c89c884fd326d
Author: Holger Freyther <ich at tamarin.(none)>
Date: Sat May 10 09:58:02 2008 +0100
Explain why we want SECOND to kick.
We do not mask the SECOND interrupt to make sure that we get
a interrupt at the beginning. We use this for the coldplug_done
initisalisation.
So pcf->flags and INT1M is out of sync at the beginning but after the
first SECOND interrupt it will be put into sync.
Signed-Off-By: Holger Freyther <zecke at openmoko.org>
commit 2e8a1c2bd9db1eb59c7ccfa4f224e9b6a10448ac
Author: Andy Green <andy at openmoko.com>
Date: Sat May 10 09:58:02 2008 +0100
From: Andy Green <andy at openmoko.com>
fix-suppress-cpu-suspend-save-restore-messages.patch
syslog is crapped up with a ton of junk on suspend and resume
Signed-off-by: Andy Green <andy at openmoko.com>
commit 0f521cdf6d9f5c8d72d647dcd68a1f21e3a0f9c5
Author: Andy Green <andy at openmoko.com>
Date: Sat May 10 09:58:02 2008 +0100
From: Andy Green <andy at openmoko.com>
fix-force-backlight-down-on-glamo-suspend.patch
There's a bit of a flash when glamo goes into suspend
but LCM is still seeing white pixels. This kills the
backlight before we stop producing meaningful video.
Signed-off-by: Andy Green <andy at openmoko.com>
commit f409375b4045f52def3cde6b654fbdd2b9eb5c78
Author: Andy Green <andy at openmoko.com>
Date: Sat May 10 09:58:02 2008 +0100
From: Andy Green <andy at openmoko.com>
fix-backlight-disable-on-zero-intensity.patch
It's never right to put 0 intensity into LEDOUT according to datasheet
But having a floor at intensity 2 means backlight isn't properly off
when "dimmed". So change to intensity 0 --> disable backlight.
Signed-off-by: Andy Green <andy at openmoko.com>
commit 357142342f537df1a4740b90885f475227dbb64d
Author: Andy Green <andy at openmoko.com>
Date: Sat May 10 09:58:02 2008 +0100
add-force-backlight-up-on-resume.patch
The backlight status is restored during resume action, if it was
off then it resumes like that.
This patch forces it on after resume.
Signed-off-by: Andy Green <andy at openmoko.com>