kernel.git
8 years agofix-pcf50633-set-charging-limit-with-usb-limit.patch fork-to-stable-2.6.29-rc2
Andy Green [Thu, 5 Feb 2009 17:01:56 +0000 (17:01 +0000)]
fix-pcf50633-set-charging-limit-with-usb-limit.patch

Cedric noticed that when he turned his GTA02 OFF while hooked to
a "dumb" USB charger that should only be asked for 100mA, suddenly
much more current was demanded.

When PMU enters PMU standmy when we go OFF, its USB current limit
is reset to the variant default of 500mA.  Since we previously had
the charging current limit fixed at 1A, it meant we immediately
charge at 500mA.

This patch makes the charging limit follow the USB current limit,
so that even when we go off, no more than the last authorized amount
of current will be taken, even if the USB current limit is later
broken by the variant default.

Reported-by: Cedric Berger <cedric.berger74@gmail.com>
Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoconfig-gta02-remove-power-debug.patch
Andy Green [Thu, 5 Feb 2009 17:01:36 +0000 (17:01 +0000)]
config-gta02-remove-power-debug.patch

Remove the spew from GTA02 POWER_SUPPLY debugging messages,
it's just the HDQ stuff filling up dmesg every 30s or so.

Signed-off-by: Andy Green <andy@openmoko.com>

8 years ago[GTA03] Fix power on/off sequence of the GSM module
DKAY_CHEN [Wed, 4 Feb 2009 12:33:17 +0000 (12:33 +0000)]
[GTA03] Fix power on/off sequence of the GSM module

Signed-off-by: DKAY_CHEN <dkay_chen@openmoko.com>

8 years agofix-lis302dl-clear-wakeup-source-if-threshold.patch
Andy Green [Tue, 3 Feb 2009 10:11:40 +0000 (10:11 +0000)]
fix-lis302dl-clear-wakeup-source-if-threshold.patch

We need to clear down the wakeup source reg if we woke from
threshold.

Reported-by: Simon Kagstrom <simon.kagstrom@gmail.com>
Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-lis302dl-dont-reset-hpf-each-time.patch
Andy Green [Tue, 3 Feb 2009 09:45:23 +0000 (09:45 +0000)]
fix-lis302dl-dont-reset-hpf-each-time.patch

We shouldn't be resetting the highpass filter every sample.

It should be disabled if we don't use it or allowed to
work across multiple samples if we do.

Was this hiding some other problem?

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoadd-lis302dl-overrun-stats.patch
Andy Green [Tue, 3 Feb 2009 09:45:20 +0000 (09:45 +0000)]
add-lis302dl-overrun-stats.patch

We can see and account for any overruns caused by IRQ latency
now that we fetch the status register.  This patch adds a /sys
node so it can be queried, and accounting.

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-lis302dl-get-status-confirm-data-ready.patch
Andy Green [Tue, 3 Feb 2009 09:45:18 +0000 (09:45 +0000)]
fix-lis302dl-get-status-confirm-data-ready.patch

Level interrupts solve the sticky loss of service from accels issue.
But currently, we get two service actions per one interrupt, leading to
information getting read and sent to the input subsystem twice.

This patch makes the ISR confirm with the lis302dl status register
that there is fresh data before accepting it, it works around the
issue and allows use of the other information in the status reg by
another patch.

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agogta03-usb-otg-init-48MHz-source-fix.patch
Dkay Chen [Mon, 2 Feb 2009 16:50:23 +0000 (16:50 +0000)]
gta03-usb-otg-init-48MHz-source-fix.patch

Unlike SMDK we use 48MHz xtal on GTA03, don't copy
platform phy clock init from SMDK then

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoMake ALSA name truncation verbose
Nelson Castillo [Mon, 2 Feb 2009 15:31:48 +0000 (15:31 +0000)]
Make ALSA name truncation verbose

Make previous Michael's patch verbose about truncating
mixer names. Sample message:

 sound/soc/soc-dapm.c:349 mixer name 'Playback Mixer Voice Capture Switch' truncated
 to 31 characters.

Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>

8 years agobuild-add-HEAD-to-uploadable-builds.patch
Andy Green [Mon, 2 Feb 2009 10:24:22 +0000 (10:24 +0000)]
build-add-HEAD-to-uploadable-builds.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoThis is a ugly openmokoo revert for name changing in alsa.conf.
Michael Trimarchi [Mon, 2 Feb 2009 10:16:52 +0000 (10:16 +0000)]
This is a ugly openmokoo revert for name changing in alsa.conf.
Please revert in feuture version

Pointed-out-by: Andy Green <andy@openmoko.com>
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agodebug-add-more-glamo-mem-speed-options.patch
Andy Green [Sun, 1 Feb 2009 20:50:35 +0000 (20:50 +0000)]
debug-add-more-glamo-mem-speed-options.patch

People on bug

https://docs.openmoko.org/trac/ticket/2217

experiencing problems with default emmory settings on Glamo
reported that changing reg 0x200 <- 0xef0 as in 2.6.24 made
the problem not reproducible any more.

However this changes three bitfields, two are to do with
waitstates before sampling read and write cycles off the
bus, and the last is to do with which PLL provides the clock
to the memory interface unit logic.  The old settings has
all three of these very conservative, 3 waitstates and using
the 50MHz PLL instead of the 90MHz one; the new default
setting has all of these at their fastest of 0 wait states
and the 90MHz PLL.

This patch adds some more granular tests to the same

glamo3362.slow_memory=

parameter to see if we can find some middle ground.  For
example the issue may be the waitstates and not the PLL
source, in which case even users with the bad Glamo
behaviour can have the advantage of the faster PLL / bus
bandwidth.

0  90MHz PLL, no wait states (default)
1  50MHz PLL, 3 wait states
2  50MHz PLL, 2 wait states
3  50MHz PLL, 1 wait state
4  50MHz PLL, no wait states
5  90MHz PLL, 3 wait states
6  90MHz PLL, 2 wait states
7  90MHz PLL, 1 wait state

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoThe continue instead of return is not necessary now, because the DAI
Andy Green [Sat, 31 Jan 2009 17:24:13 +0000 (17:24 +0000)]
The continue instead of return is not necessary now, because the DAI
has a dummy inizialization.

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agoconsistent defconfig naming ?
Werner Almesberger [Sat, 31 Jan 2009 17:24:10 +0000 (17:24 +0000)]
consistent defconfig naming ?

The naming of our defconfigs is currently inconsistent: three of them
end in -defconfig and use - also as an internal separator. One sends
in _defconfig but uses - as internal separator, and one ends in
_defconfig without needing an internal separator so far.

All the other defconfigs end in _defconfig. 21 use _ also as
internal separator and 5 use -.

So most of our names differ from the style everyone else is following
and there's also inconsistency among our names.

The git patch below renames them to the dominant all _ scheme.

There's always some latent undesirability for such cleanup patches
that may break some habits or scripts. So if there are strong
sentiments against doing this now, I won't push the issue. But in
general, the sooner one gets those little things done, the better.

Signed-off-by: Werner Almesberger <werner@openmoko.org>

8 years agoReturn-Path: <openmoko-kernel-bounces@lists.openmoko.org>
Andy Green [Sat, 31 Jan 2009 17:24:07 +0000 (17:24 +0000)]
Return-Path: <openmoko-kernel-bounces@lists.openmoko.org>
Received: from mail.openmoko.org ([unix socket])
by mail.openmoko.org (Cyrus v2.1.18-IPv6-Debian-2.1.18-5.1) with LMTP; Fri, 30 Jan 2009 23:00:03 +0000
X-Sieve: CMU Sieve 2.2
Return-path: <openmoko-kernel-bounces@lists.openmoko.org>
Received: from sita.openmoko.org ([88.198.124.203])
by mail.openmoko.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.63)
(envelope-from <openmoko-kernel-bounces@lists.openmoko.org>)
id 1LT2LD-0001st-Fo
for andy@imap.openmoko.org; Fri, 30 Jan 2009 23:00:03 +0000
Received: from localhost ([127.0.0.1] helo=sita.openmoko.org)
by sita.openmoko.org with esmtp (Exim 4.63)
(envelope-from <openmoko-kernel-bounces@lists.openmoko.org>)
id 1LT2Kb-0001Xw-JH; Fri, 30 Jan 2009 23:59:25 +0100
Received: from mail.openmoko.org ([88.198.124.205])
by sita.openmoko.org with esmtp (Exim 4.63)
(envelope-from <werner@openmoko.org>) id 1LT2KV-0001Xn-Lv
for openmoko-kernel@lists.openmoko.org; Fri, 30 Jan 2009 23:59:22 +0100
Received: from 175-205-16-190.fibertel.com.ar ([190.16.205.175] helo=ws)
by mail.openmoko.org with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16)
(Exim 4.63) (envelope-from <werner@openmoko.org>) id 1LT2KS-0001Xk-0U
for openmoko-kernel@lists.openmoko.org; Fri, 30 Jan 2009 22:59:19 +0000
Received: by ws (sSMTP sendmail emulation); Fri, 30 Jan 2009 22:02:47 -0200
Date: Fri, 30 Jan 2009 22:02:47 -0200
From: Werner Almesberger <werner@openmoko.org>
To: openmoko-kernel@lists.openmoko.org
Message-ID: <20090131000247.GF4526@almesberger.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sita.openmoko.org
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, UPPERCASE_50_75
autolearn=no version=3.2.3
Subject: [PATCH] back out Android wakelocks breaking suspend
X-BeenThere: openmoko-kernel@lists.openmoko.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion regarding the OpenMoko Linux Kernel and boot loader
<openmoko-kernel.lists.openmoko.org>
List-Unsubscribe: <http://lists.openmoko.org/mailman/listinfo/openmoko-kernel>,
<mailto:openmoko-kernel-request@lists.openmoko.org?subject=unsubscribe>
List-Archive: <http://lists.openmoko.org/pipermail/openmoko-kernel>
List-Post: <mailto:openmoko-kernel@lists.openmoko.org>
List-Help: <mailto:openmoko-kernel-request@lists.openmoko.org?subject=help>
List-Subscribe: <http://lists.openmoko.org/mailman/listinfo/openmoko-kernel>,
<mailto:openmoko-kernel-request@lists.openmoko.org?subject=subscribe>
Sender: openmoko-kernel-bounces@lists.openmoko.org
Errors-To: openmoko-kernel-bounces@lists.openmoko.org

In current andy-tracking, a resume gets almost immediately followed
by another suspend, so we can never really leave suspend. This is
somehow caused by the Android wakelocks.

I think the most expedite way to deal with this is to back them out
of our configurations until they've been properly debugged, which
is what this patch does.

Signed-off-by: Werner Almesberger <werner@openmoko.org>

8 years agointroduce-gta02-micro-defconfig.patch
Werner Almesberger [Fri, 30 Jan 2009 16:23:54 +0000 (16:23 +0000)]
introduce-gta02-micro-defconfig.patch

GTA02 config suitable for bootloader menu application

Signed-off-by: Werner Almesberger <werner@openmoko.org>

8 years agoclean-gta01-gps-warnings.patch
Andy Green [Fri, 30 Jan 2009 16:08:19 +0000 (16:08 +0000)]
clean-gta01-gps-warnings.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoReturn-Path: <openmoko-kernel-bounces@lists.openmoko.org>
Andy Green [Fri, 30 Jan 2009 15:25:16 +0000 (15:25 +0000)]
Return-Path: <openmoko-kernel-bounces@lists.openmoko.org>
Received: from mail.openmoko.org ([unix socket])
by mail.openmoko.org (Cyrus v2.1.18-IPv6-Debian-2.1.18-5.1) with LMTP; Fri, 30 Jan 2009 14:13:43 +0000
X-Sieve: CMU Sieve 2.2
Return-path: <openmoko-kernel-bounces@lists.openmoko.org>
Received: from sita.openmoko.org ([88.198.124.203])
by mail.openmoko.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.63)
(envelope-from <openmoko-kernel-bounces@lists.openmoko.org>)
id 1LSu7r-000566-Sm
for andy@imap.openmoko.org; Fri, 30 Jan 2009 14:13:43 +0000
Received: from localhost ([127.0.0.1] helo=sita.openmoko.org)
by sita.openmoko.org with esmtp (Exim 4.63)
(envelope-from <openmoko-kernel-bounces@lists.openmoko.org>)
id 1LSu7M-0004nA-JB; Fri, 30 Jan 2009 15:13:12 +0100
Received: from mail.openmoko.org ([88.198.124.205])
by sita.openmoko.org with esmtp (Exim 4.63)
(envelope-from <werner@openmoko.org>) id 1LSu7H-0004n3-4S
for openmoko-kernel@lists.openmoko.org; Fri, 30 Jan 2009 15:13:10 +0100
Received: from 175-205-16-190.fibertel.com.ar ([190.16.205.175] helo=ws)
by mail.openmoko.org with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16)
(Exim 4.63) (envelope-from <werner@openmoko.org>) id 1LSu7F-0004mk-Pb
for openmoko-kernel@lists.openmoko.org; Fri, 30 Jan 2009 14:13:07 +0000
Received: by ws (sSMTP sendmail emulation); Fri, 30 Jan 2009 13:16:38 -0200
Date: Fri, 30 Jan 2009 13:16:38 -0200
From: Werner Almesberger <werner@openmoko.org>
To: openmoko-kernel@lists.openmoko.org
Message-ID: <20090130151638.GA10711@almesberger.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sita.openmoko.org
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham
version=3.2.3
Subject: [PATCH] fix #if vs. #ifdef cpp warning in neo1973_pm_gps.c
X-BeenThere: openmoko-kernel@lists.openmoko.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion regarding the OpenMoko Linux Kernel and boot loader
<openmoko-kernel.lists.openmoko.org>
List-Unsubscribe: <http://lists.openmoko.org/mailman/listinfo/openmoko-kernel>,
<mailto:openmoko-kernel-request@lists.openmoko.org?subject=unsubscribe>
List-Archive: <http://lists.openmoko.org/pipermail/openmoko-kernel>
List-Post: <mailto:openmoko-kernel@lists.openmoko.org>
List-Help: <mailto:openmoko-kernel-request@lists.openmoko.org?subject=help>
List-Subscribe: <http://lists.openmoko.org/mailman/listinfo/openmoko-kernel>,
<mailto:openmoko-kernel-request@lists.openmoko.org?subject=subscribe>
Sender: openmoko-kernel-bounces@lists.openmoko.org
Errors-To: openmoko-kernel-bounces@lists.openmoko.org

#if is a poor substitute for #ifdef :-)

Signed-off-by: Werner Almesberger <werner@openmoko.org>

8 years agomanage RTC alarm "pending" flag of PCF50633
Werner Almesberger [Fri, 30 Jan 2009 14:37:40 +0000 (14:37 +0000)]
manage RTC alarm "pending" flag of PCF50633

This patch adds setting and clearing of the "pending" flag of the
RTC alarm. The semantics follow the UEFI specification 2.2 available
at http://www.uefi.org/specs/, i.e., the "pending" flag is cleared
by disabling the alarm, but not by any other condition (such as the
passing of time, a successful wakeup, or setting of a new alarm.)

Signed-off-by: Werner Almesberger <werner@openmoko.org>

8 years agofix-s3c64xx-hs-otg-bitfield-errors-and-clean.patch
Andy Green [Fri, 30 Jan 2009 11:11:18 +0000 (11:11 +0000)]
fix-s3c64xx-hs-otg-bitfield-errors-and-clean.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-s3c6410-hsusb-platform-init.patch
Andy Green [Fri, 30 Jan 2009 09:53:44 +0000 (09:53 +0000)]
fix-s3c6410-hsusb-platform-init.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-s3c6410-hsusb-phy-regs.patch
Andy Green [Fri, 30 Jan 2009 09:53:40 +0000 (09:53 +0000)]
fix-s3c6410-hsusb-phy-regs.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoconsider alrm->enable in pcf50633_rtc_set_alarm
Werner Almesberger [Fri, 30 Jan 2009 08:07:27 +0000 (08:07 +0000)]
consider alrm->enable in pcf50633_rtc_set_alarm

Hi Balaji,

Mickey mentioned to me that he had trouble with the RTC wakeup interrupt.
I had a quick look at the problem and it seems that alrm->enable doesn't
get propagated when setting the alarm time with RTC_WKALM_SET.

Does something like my patch below look right ? We also don't handle
alrm->pending, but I'm not sure if we have to.

I tested this only very lightly since my current andy-tracking crashes
in soc_suspend. If nobody else beats me to it, I'll have a look at it
tomorrow.

- Werner

---------------------------------- cut here -----------------------------------

According to Documentation/rtc.txt, RTC_WKALM_SET sets the alarm time
and enables/disables the alarm. We implement RTC_WKALM_SET through
pcf50633_rtc_set_alarm. The enabling/disabling part was missing.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
Reported-by: Michael 'Mickey' Lauer <mickey@openmoko.org>

8 years agosmdk6410-add-usb-otg.patch
Andy Green [Thu, 29 Jan 2009 22:47:49 +0000 (22:47 +0000)]
smdk6410-add-usb-otg.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agointroduce-smdk6410.patch
Andy Green [Thu, 29 Jan 2009 22:47:47 +0000 (22:47 +0000)]
introduce-smdk6410.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoSubject: glamo_fix_improper_xrandr_geometry_setting.patch
Balaji Rao [Thu, 29 Jan 2009 18:25:32 +0000 (18:25 +0000)]
Subject: glamo_fix_improper_xrandr_geometry_setting.patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=3b09161ffa5f29870d1f2cab1442f79ff2017b69

glamo_fix_improper_xrandr_geometry_setting.patch

Switching to xrandr -o 3 from xrandr -o 1 caused the screen to look crazy
because of the way lcd geometry is set in glamo. This patch fixes it.

Signed-off-by: Balaji Rao <balajirrao@openmoko.org>

8 years agoSubject: gta02_fix_defconfig.patch
Balaji Rao [Thu, 29 Jan 2009 15:06:59 +0000 (15:06 +0000)]
Subject: gta02_fix_defconfig.patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=5ef528551ba670d228dbe442d878b571df1cf98d

gta02_fix_defconfig.patch

Signed-off-by: Balaji Rao <balajirrao@openmoko.org>

8 years ago pcf50633_charging_current_control.patch
Balaji Rao [Thu, 29 Jan 2009 15:00:37 +0000 (15:00 +0000)]
pcf50633_charging_current_control.patch

    Introduces battery charging current control.

Signed-off-by: Balaji Rao <balajirrao@openmoko.org>

8 years agoconfig-gta01-android.patch
Andy Green [Thu, 29 Jan 2009 14:28:24 +0000 (14:28 +0000)]
config-gta01-android.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoconfig-gta02-staging-and-new-android.patch
Andy Green [Thu, 29 Jan 2009 14:28:21 +0000 (14:28 +0000)]
config-gta02-staging-and-new-android.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-android-gpio-path.patch
Andy Green [Thu, 29 Jan 2009 14:28:19 +0000 (14:28 +0000)]
fix-android-gpio-path.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoadd-kconfig-for-find-irq-blockers.patch
Andy Green [Thu, 29 Jan 2009 14:28:16 +0000 (14:28 +0000)]
add-kconfig-for-find-irq-blockers.patch

This adds a debug section Kconfig entry for the interrupt blocking
detection and deals with the config in our stock defconfigs

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-android-ifdef-polarity.patch
Andy Green [Thu, 29 Jan 2009 14:28:13 +0000 (14:28 +0000)]
fix-android-ifdef-polarity.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoRemove old android dir compilation
Michael Trimarchi [Thu, 29 Jan 2009 14:28:09 +0000 (14:28 +0000)]
Remove old android dir compilation

Remove compilation of the old android directory

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agoChange Android Makefile
Michael Trimarchi [Thu, 29 Jan 2009 14:28:06 +0000 (14:28 +0000)]
Change Android Makefile

Change android makefile to compile all the platform

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agoUpdate Kernel core files
Michael Trimarchi [Thu, 29 Jan 2009 14:28:03 +0000 (14:28 +0000)]
Update Kernel core files

Update kernel core files to support android suspend/resume. These
change are conditioned by ifdef

Signed-off-by: michael <michael@panicking.kicks-ass.org>

8 years agoFix binder compilation and system server binder crash
Michael Trimarchi [Thu, 29 Jan 2009 14:28:01 +0000 (14:28 +0000)]
Fix binder compilation and system server binder crash

Fix binder compilation problem in linux system and change the
mapping required for arm system. This fix a crash in binder process
that can't map the required memory

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agoUpdate old android_alarm.h file
Michael Trimarchi [Thu, 29 Jan 2009 14:27:58 +0000 (14:27 +0000)]
Update old android_alarm.h file

Updata old android_alarm.h file with the new one

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agoAdd new Android files
Michael Trimarchi [Thu, 29 Jan 2009 14:27:55 +0000 (14:27 +0000)]
Add new Android files

Add new android files. They support:
 - android power
 - andorid console
 - alarm driver

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agoRemove old android
Michael Trimarchi [Thu, 29 Jan 2009 14:27:53 +0000 (14:27 +0000)]
Remove old android

Remove old android support.

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agofix-iblock-exports-for-modules.patch
Andy Green [Thu, 29 Jan 2009 14:27:38 +0000 (14:27 +0000)]
fix-iblock-exports-for-modules.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoFix the registration of sound subsystem. This patch doesn't fix the
Michael Trimarchi [Thu, 29 Jan 2009 14:27:35 +0000 (14:27 +0000)]
Fix the registration of sound subsystem. This patch doesn't fix the
audio volume.

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agoQuick and dirty interrupt blocking time detector.
Werner Almesberger [Thu, 29 Jan 2009 14:27:33 +0000 (14:27 +0000)]
Quick and dirty interrupt blocking time detector.

8 years agoFix backlight registration on GTA02
Michael Trimarchi [Thu, 29 Jan 2009 14:27:29 +0000 (14:27 +0000)]
Fix backlight registration on GTA02

Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>

8 years agoSend pen-up events faster (side effect: improve illume keyboard responsiveness)
Nelson Castillo [Thu, 29 Jan 2009 14:27:25 +0000 (14:27 +0000)]
Send pen-up events faster (side effect: improve illume keyboard responsiveness)

We were waiting 60ms before reporting a pen-up event to avoid
jitter. Now we wait 8ms (actually 5 with HZ == 200).

Thanks to Marco Trevisan for testing and pointing out that there was a
problem that could be spotted with the illume keyboard.
Note that I used the Terminal mode of the keyboard (no dictionary)
for tests.

I also used touch_test.py and the jitter doesn't seem to be an
issue when drawing lines with the finger.

Reported-by: Marco Trevisan (TreviƱo) <mail@3v1n0.net>
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>

8 years agofix-alsa-bt-dai-registration-missing.patch
Andy Green [Thu, 29 Jan 2009 14:27:22 +0000 (14:27 +0000)]
fix-alsa-bt-dai-registration-missing.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoconfig-gta03-uplevel-pcf50606-balaji.patch
Andy Green [Wed, 28 Jan 2009 20:21:40 +0000 (20:21 +0000)]
config-gta03-uplevel-pcf50606-balaji.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoconfig-gta02-uplevel-pcf50606-balaji.patch
Andy Green [Wed, 28 Jan 2009 20:20:00 +0000 (20:20 +0000)]
config-gta02-uplevel-pcf50606-balaji.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoconfig-gta01-uplevel-2.6.29-rc2.patch
Andy Green [Wed, 28 Jan 2009 19:57:13 +0000 (19:57 +0000)]
config-gta01-uplevel-2.6.29-rc2.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-gta01-pcf50606-kconfig-makefile.patch
Andy Green [Wed, 28 Jan 2009 19:57:11 +0000 (19:57 +0000)]
fix-gta01-pcf50606-kconfig-makefile.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoSubject: pcf50633_introduce_charging_restart_interval.patch
Balaji Rao [Wed, 28 Jan 2009 19:31:11 +0000 (19:31 +0000)]
Subject: pcf50633_introduce_charging_restart_interval.patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=1bb6adaa6a59f52d616b5260cb776eafd40ef05e

pcf50633_introduce_charging_restart_interval.patch

Signed-off-by: Balaji Rao <balajirrao@openmoko.org>

8 years agoSubject: pcf50633_remove_set_charger_status.patch
Balaji Rao [Wed, 28 Jan 2009 19:31:07 +0000 (19:31 +0000)]
Subject: pcf50633_remove_set_charger_status.patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=94808ce02deeb78bb3728db416fd4b7544b6d232

pcf50633_remove_set_charger_status.patch

8 years agoSubject: introduce_gta01_moredrivers_defconfig.patch
Balaji Rao [Wed, 28 Jan 2009 19:30:49 +0000 (19:30 +0000)]
Subject: introduce_gta01_moredrivers_defconfig.patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=4fc1702aab3cdeb1dde6e33a72f6526b59dfb948

introduce_gta01_moredrivers_defconfig.patch

Signed-off-by: Balaji Rao <balajirrao@openmoko.org>

8 years agoSubject: fix_glamo_xrandr_bug.patch
Balaji Rao [Wed, 28 Jan 2009 19:30:45 +0000 (19:30 +0000)]
Subject: fix_glamo_xrandr_bug.patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=40fe0a30c75937a476ea50220814ca8b1fd81b45

fix_glamo_xrandr_bug.patch

This patch reintroduces the 2-cycle delay used when accessing glamo-fb
registers. This seems to be required even when the corresponding
registers in HOST_BUS are off.

Signed-off-by: Balaji Rao <balajirrao@openmoko.org>

8 years agoSubject: pcf50606_rebase_changes,patch
Balaji Rao [Wed, 28 Jan 2009 19:30:42 +0000 (19:30 +0000)]
Subject: pcf50606_rebase_changes,patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=938eddf17625cce0307f7612a3ea2560384e2384

pcf50606_rebase_changes,patch

This patch brings into andy-tracking all changes related to pcf50606 from old
balaji-tracking.

8 years agoFrom: Balaji Rao <balaji@openmoko.org>
Balaji Rao [Wed, 28 Jan 2009 19:24:51 +0000 (19:24 +0000)]
From: Balaji Rao <balaji@openmoko.org>

clean-29-rc2-merge-freakage.patch

8 years agoTake care of switched off filters
Sven Rebhan [Wed, 28 Jan 2009 18:24:37 +0000 (18:24 +0000)]
Take care of switched off filters

If filtering is switched off, we need to avoid using filter functions in the
GTA02 platform file. Therefore we wrap the usage with #ifdefs and define an
empty filter chain.

Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>

8 years agoMake sure we don't need ts_filter
Sven Rebhan [Wed, 28 Jan 2009 18:24:35 +0000 (18:24 +0000)]
Make sure we don't need ts_filter

If the filtering is switched off, we need a substitution for the two missing
functions. So simply define some placeholders.

Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>

8 years agoMake filtering optional but select all filters if switched on
Sven Rebhan [Wed, 28 Jan 2009 18:24:16 +0000 (18:24 +0000)]
Make filtering optional but select all filters if switched on

First, make the filtering switchable by the user.
Second, select all filters if filtering is switched on. This is required because
we predefine the filterchain in mach-gta02.c and thus need all filter functions.

Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>

8 years agoMERGE-andy-tracking-patchset-edits
merge [Wed, 28 Jan 2009 18:12:23 +0000 (18:12 +0000)]
MERGE-andy-tracking-patchset-edits

8 years agoFrom: Sean McNeil <sean@mcneil.com>
Andy Green [Wed, 28 Jan 2009 15:53:26 +0000 (15:53 +0000)]
From: Sean McNeil <sean@mcneil.com>
fix-ac-redefinition.patch

8 years agofix-s3c64xx-otg-ioremap-reduce-global-device-ptr.patch
Andy Green [Wed, 28 Jan 2009 15:45:57 +0000 (15:45 +0000)]
fix-s3c64xx-otg-ioremap-reduce-global-device-ptr.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-gta03-usb-otg-setup.patch
Andy Green [Wed, 28 Jan 2009 15:45:55 +0000 (15:45 +0000)]
fix-gta03-usb-otg-setup.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoconfig-gta03-usb-otg.patch
Andy Green [Wed, 28 Jan 2009 15:45:52 +0000 (15:45 +0000)]
config-gta03-usb-otg.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agointroduce-samsung-s3c64xx-usb-otg-driver.patch
Kyungmin Park [Wed, 28 Jan 2009 15:45:50 +0000 (15:45 +0000)]
introduce-samsung-s3c64xx-usb-otg-driver.patch

This was posted to the linux-usb list in Dec 2008

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>

8 years agoclean-gta03-remove-sdio1.patch
Andy Green [Wed, 28 Jan 2009 15:45:47 +0000 (15:45 +0000)]
clean-gta03-remove-sdio1.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoclean-l1k002-pwronoff.patch
Andy Green [Wed, 28 Jan 2009 15:45:45 +0000 (15:45 +0000)]
clean-l1k002-pwronoff.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoclean-old-timer-debug.patch
Andy Green [Wed, 28 Jan 2009 09:59:02 +0000 (09:59 +0000)]
clean-old-timer-debug.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agodebug-glamo-allow-slower-memory-bus.patch
Andy Green [Wed, 28 Jan 2009 09:58:59 +0000 (09:58 +0000)]
debug-glamo-allow-slower-memory-bus.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-gps-init-before-gta02-pcf.patch
Andy Green [Tue, 27 Jan 2009 20:40:35 +0000 (20:40 +0000)]
fix-gps-init-before-gta02-pcf.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-add-missing-includes-606.patch
Balaji Rao [Tue, 27 Jan 2009 17:22:08 +0000 (17:22 +0000)]
fix-add-missing-includes-606.patch

These are some includes from Balaji's tree that failed to get
stg add-ed in the excitement

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoconfig-gta03-kill-mmc-debug.patch
Andy Green [Tue, 27 Jan 2009 15:29:31 +0000 (15:29 +0000)]
config-gta03-kill-mmc-debug.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix the timing of setup-gpio of LCM device and use function argument correctly.
Matt Hsu [Tue, 27 Jan 2009 14:39:47 +0000 (14:39 +0000)]
fix the timing of setup-gpio of LCM device and use function argument correctly.

Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>

8 years agofix-l1k002-resume-struct-pointer.patch
Andy Green [Tue, 27 Jan 2009 14:39:45 +0000 (14:39 +0000)]
fix-l1k002-resume-struct-pointer.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agotracking-config-2.6.29-rc2-fix-gta03-balaji-tree.patch
Andy Green [Tue, 27 Jan 2009 14:39:36 +0000 (14:39 +0000)]
tracking-config-2.6.29-rc2-fix-gta03-balaji-tree.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agotracking-config-2.6.29-rc2-gta03-uplevel.patch
Andy Green [Tue, 27 Jan 2009 14:39:24 +0000 (14:39 +0000)]
tracking-config-2.6.29-rc2-gta03-uplevel.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agotracking-config-2.6.29-rc2-gta02-uplevel.patch
Andy Green [Tue, 27 Jan 2009 14:39:21 +0000 (14:39 +0000)]
tracking-config-2.6.29-rc2-gta02-uplevel.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agotracking-2.6.29-rc2-soc-card-vs-machine-struct.patch
Andy Green [Tue, 27 Jan 2009 14:39:18 +0000 (14:39 +0000)]
tracking-2.6.29-rc2-soc-card-vs-machine-struct.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-deprecated-soc-api.eml
Nelson Castillo [Tue, 27 Jan 2009 14:39:16 +0000 (14:39 +0000)]
fix-deprecated-soc-api.eml

8 years agotracking-2.6.29-rc2-dai_ops-to-ops.patch
Andy Green [Tue, 27 Jan 2009 14:39:13 +0000 (14:39 +0000)]
tracking-2.6.29-rc2-dai_ops-to-ops.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-glamo-core-from-balaji-tree.patch
Andy Green [Tue, 27 Jan 2009 14:39:11 +0000 (14:39 +0000)]
fix-glamo-core-from-balaji-tree.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agotracking-2.6.29-rc2-I2C_CLASS_SOUND.patch
Andy Green [Tue, 27 Jan 2009 14:39:08 +0000 (14:39 +0000)]
tracking-2.6.29-rc2-I2C_CLASS_SOUND.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-pcf50633-from-balaji-tree.patch
Andy Green [Tue, 27 Jan 2009 14:39:06 +0000 (14:39 +0000)]
fix-pcf50633-from-balaji-tree.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agotracking-2.6.29-rc2-alsa-soc-res-write-sysfs-gone.patch
Andy Green [Tue, 27 Jan 2009 14:39:03 +0000 (14:39 +0000)]
tracking-2.6.29-rc2-alsa-soc-res-write-sysfs-gone.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agotracking-2.6.29-rc2-ar6001-net-device-priv-gone.patch
Andy Green [Tue, 27 Jan 2009 14:39:01 +0000 (14:39 +0000)]
tracking-2.6.29-rc2-ar6001-net-device-priv-gone.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agotracking-2.6.29-rc2-android-breakage.patch
Andy Green [Tue, 27 Jan 2009 14:38:52 +0000 (14:38 +0000)]
tracking-2.6.29-rc2-android-breakage.patch

include/linux/sched.h has two copies of these credentials now... real
and effective held in two struct creds.  I chose real cred but I am uncertain
it's the desired one.

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoSubject: pcf50606_rebase_changes,patch
Balaji Rao [Tue, 27 Jan 2009 14:38:49 +0000 (14:38 +0000)]
Subject: pcf50606_rebase_changes,patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=445395c9fcfb78ea62ab5a69b84c2c12efe01cff

pcf50606_rebase_changes,patch

This patch brings into andy-tracking all changes related to pcf50606 from old
balaji-tracking.

8 years agoSubject: pcf50633_rebase_changes.patch
Balaji Rao [Tue, 27 Jan 2009 14:38:47 +0000 (14:38 +0000)]
Subject: pcf50633_rebase_changes.patch
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=57b3df284f5a79346f2b25003f76c6702cf84c25

pcf50633_rebase_changes.patch

This patch brings all changes from balaji-tracking originally intended for
upstream into andy-tracking.

8 years agorebase on .29-rc1 (was glamo xrandr bug)
Balaji Rao [Tue, 27 Jan 2009 14:38:44 +0000 (14:38 +0000)]
rebase on .29-rc1 (was glamo xrandr bug)

On Wed, Jan 21, 2009 at 08:51:41PM +0000, Andy Green wrote:
> Today I got Ben Dooks to uplevel his tree to 29-rc1, I am rebasing it
> tonight, but ssh access to git.openmoko.org git:// is broken right now.
>

Oh, I forgot! Then you might encounter the pcf50633 driver from upstream
which has lots of differences from what we have on andy-tracking. So,
here I'm attaching a patch that applies to current andy-tracking which
is how the pcf50633/mach-gta02.c should look like after rebase. You can
probaly look into it in case of confusion..

Or you can apply it before rebase ? Probably you can..

Hope it helps,
Balaji

8 years agomassive-dust.patch
Andy Green [Tue, 27 Jan 2009 14:38:42 +0000 (14:38 +0000)]
massive-dust.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoclean-rebase-dust-29-rc2.patch
Andy Green [Tue, 27 Jan 2009 14:38:39 +0000 (14:38 +0000)]
clean-rebase-dust-29-rc2.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-lost-endmenu.patch
Andy Green [Tue, 27 Jan 2009 14:38:37 +0000 (14:38 +0000)]
fix-lost-endmenu.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agofix-kconfig-stray-endif.patch
Andy Green [Tue, 27 Jan 2009 14:38:18 +0000 (14:38 +0000)]
fix-kconfig-stray-endif.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years agoMERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatches-track...
merge [Thu, 22 Jan 2009 13:55:32 +0000 (13:55 +0000)]
MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040-1232632141
pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040-1232632141 / fdf777a63bcb59e0dfd78bfe2c6242e01f6d4eb9 ... parent commitmessage:
From: merge <null@invalid>
MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040

stable-tracking-hist top was MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040 / 90463bfd2d5a3c8b52f6e6d71024a00e052b0ced ... parent commitmessage:
From: merge <null@invalid>
MERGE-via-mokopatches-tracking-hist-fix-stray-endmenu-patch

mokopatches-tracking-hist top was fix-stray-endmenu-patch / 3630e0be570de8057e7f8d2fe501ed353cdf34e6 ... parent commitmessage:
From: Andy Green <andy@openmoko.com>
fix-stray-endmenu.patch

Signed-off-by: Andy Green <andy@openmoko.com>

8 years ago[GTA02] Allow GPS to stay ON during suspend
Vladimir Koutny [Wed, 21 Jan 2009 20:04:20 +0000 (20:04 +0000)]
[GTA02] Allow GPS to stay ON during suspend

Allow the GPS module to be powered during suspend so it can keep the fix.
This has to be enabled by writing 1 to .../neo1973-pm-gps.0/keep_on_in_suspend

Signed-off-by: Vladimir Koutny <vlado@ksp.sk>

8 years agoMERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-glamo-don-t-break-kernel...
merge [Wed, 21 Jan 2009 20:02:15 +0000 (20:02 +0000)]
MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-glamo-don-t-break-kernel-build-1232567797
pending-tracking-hist top was MERGE-via-stable-tracking-glamo-don-t-break-kernel-build-1232567797 / d9aa2ec4d0f11979eb9894dbcf0c1639e73a7587 ... parent commitmessage:
From: merge <null@invalid>
MERGE-via-stable-tracking-hist-glamo-don-t-break-kernel-build

stable-tracking-hist top was glamo-don-t-break-kernel-build / 1796c97b437a7bb998c489caba09a026bbb16564 ... parent commitmessage:
From: Werner Almesberger <werner@openmoko.org>
Glamo: don't break kernel build if disabled

If we disable CONFIG_MFD_GLAMO, a dependency on glamo_lcm_reset from
arch/arm/mach-s3c2440/mach-gta02.c:gta02_jbt6k74_reset cannot be
resolved.

There are many ways to fix this - this one does it with a bit of a
swagger ;-)

Signed-off-by: Werner Almesberger <werner@openmoko.org>

8 years agofix GPS resume if powered on previously
Vladimir Koutny [Wed, 21 Jan 2009 20:02:05 +0000 (20:02 +0000)]
fix GPS resume if powered on previously

Fix re-enabling of GPS on resume

The call to gps_pwron_set(0) during suspend would clear power_was_on
flag so the on/off status was always lost. Additionally when enabling/
disabling the regulator check its actual state, not power_was_on flag
(they don't match on resume).

Signed-off-by: Vladimir Koutny <vlado@ksp.sk>

8 years agoDisable l1k002 LCM driver in gta02 configs
Nelson Castillo [Wed, 21 Jan 2009 20:02:03 +0000 (20:02 +0000)]
Disable l1k002 LCM driver in gta02 configs

This configuration (CONFIG_DISPLAY_L1K002) is GTA03 specific.
Let's disable it for GTA02.

Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>

8 years agoRFC: don't aggravate kernel panics
Werner Almesberger [Tue, 20 Jan 2009 14:43:39 +0000 (14:43 +0000)]
RFC: don't aggravate kernel panics

When in a kernel panic, we try to turn on the backlight. Because
of the panic, preempt is disabled at that time. Unfortunately,
operating the backlight requires access to I2C, and I2C likes to
sleep.

All this results in the kernel unleashing a nearly endless flood
of complaints complete with stack traces, etc., which often
obscures the real issue.

This patch is one way to improve the situation: it just skips
touching the backlight if we're in an atomic context. However, it
isn't perfect: it would be desirable if the backlight did get
turned on also on a panic. To do so, we would need to use I2C in
a way that doesn't sleep.

So I wonder if this is good enough or if someone has any plans to
make a better solution ?

Signed-off-by: Werner Almesberger <werner@openmoko.org>

8 years agoAttach TPO LPJ028T LCM(L1K002) driver to the gta03.
Matt Hsu [Tue, 20 Jan 2009 14:21:20 +0000 (14:21 +0000)]
Attach TPO LPJ028T LCM(L1K002) driver to the gta03.

Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>