development kernel tree: Changes to 'zecke'

git at git.openmoko.org git at git.openmoko.org
Thu May 8 23:26:52 CEST 2008


Rebased ref, commits from common ancestor:
commit f116ae54dbfbeb3a30be2eed3d9b4183e8948a70
Author: Holger Freyther <zecke at openmoko.org>
Date:   Thu May 8 23:22:48 2008 +0200

    [pcf50633] Disable debugging statements as the driver is working well
    
    Signed-Off-By: Holger Freyther <zecke at openmoko.org>

commit 6d3edbfa2ffa5daac70d16f963f1a17dd0dc1815
Author: Holger Freyther <ich at tamarin.(none)>
Date:   Thu May 8 23:15:46 2008 +0200

    [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 5094dee05fdb001539a9d3694277c1544a9cf37c
Author: Holger Freyther <ich at tamarin.(none)>
Date:   Thu May 8 23:06:51 2008 +0200

    [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 81f1eb1cd88f53cbbd0dd2794e08e20cc579f2cd
Author: Holger Freyther <ich at tamarin.(none)>
Date:   Thu May 8 15:55:41 2008 +0200

    [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 24798421d25be617c78b72ddfebda3981ecc9f72
Author: Holger Freyther <ich at tamarin.(none)>
Date:   Thu May 8 15:41:15 2008 +0200

    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 966a29020932751ba6a1a137b0e1e25ac0708be7
Author: matt_hsu <matt_hsu at openmoko.org>
Date:   Thu May 8 10:23:07 2008 +0100

    s3c24xx-pwm-platform-driver.patch
    
    This patch is to register pwm as platform driver to keep the PWM-related
    config when system is in suspend/resume. This could fix the following
    issue after resume:
    
    - HDQ read timeout
    - LEDs blinked abnormally(if LEDs is driven by PWM)
    
    Signed-off-by: Matt Hsu <matt_hsu at openmoko.org>

commit bb7abab607e71a3cc1e8a4ebfa7619d872827353
Author: Sean McNeil <sean at mcneil.com>
Date:   Thu May 8 09:24:45 2008 +0100

    fix-KEY_PHONE-up-down-inversion.patch
    
    the KEY_PHONE is backwards. It returns up when pushed and down when
    released. The following change fixes it:
    
    Signed-off-by: Sean McNeil <sean at mcneil.com>

commit 32a457c1616086e434bab03c24920ff6bd39e15a
Author: Mike Westerhof <mwester at dls.net>
Date:   Wed Apr 30 14:50:12 2008 +0100

    Stop GTA01 MMC Debugging messages
    
    Signed-off-by: Mike Westerhof <mwester at dls.net>

commit 401eb535cb94e53ba4ff1a04caafe96b7d4d1981
Author: Andy Green <agreen at localhost.localdomain>
Date:   Wed Apr 30 13:34:14 2008 +0100

    clean-sdio-hcd-suspend.patch
    
    fix trailing whitespace and function args for suspend.
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 463f236121c752e434de713f6b141ed885c5fc5b
Author: Matt Hsu <matt_hsu at openmoko.org>
Date:   Wed Apr 30 13:33:58 2008 +0100

    From cc08b5986dfd8d971ee46ce7045fb7863f99a92a Mon Sep 17 00:00:00 2001
    Subject: [PATCH] - add suspend/resume function of s3c24xx_hcd driver
    
    
    Signed-off-by: Matt Hsu <matt_hsu at openmoko.org>

commit 1796e3d226fd1b119b09130478c781e25b7f5770
Author: Tim Niemeyer <reddog at mastersword.de>
Date:   Mon Apr 21 21:09:37 2008 +0100

    This-adds-some-debug-messages-to-the-Neo1937-sound-d.patch
    Subject: [PATCH] This adds some debug messages to the Neo1937 sound driver.
    
    Signed-off-by: Tim Niemeyer <reddog at mastersword.de>

commit b22975802d893a8cc600757436d5dd4dcd5cf469
Author: Tim Niemeyer <reddog at mastersword.de>
Date:   Mon Apr 21 21:08:40 2008 +0100

    This-fixes-the-exit-function-so-that-the-module-can.patch
    Subject: [PATCH] This fixes the exit function, so that the module can be removed.
     Signed-off-by: Tim Niemeyer <reddog at mastersword.de>

commit 5ccaca2adb1c37b5955a4733f68ae08a755e3d78
Author: Mike Westerhof <mwester at dls.net>
Date:   Wed Apr 16 20:51:31 2008 +0100

    gta01-gps-power-state-resume-preserve.patch
    
    Created an attachment (id=593) / from BZ#79
    Updated patch to preserve the power state of the GPS on the GTA01
    
    Currently the GPS is powered up after a suspend/resume occurs.  This patch will
    only power the GPS back up if it was powered up when the GTA01 suspended.
    
    Signed-off-by: Mike Westerhof <mwester at dls.net>

commit 0e45ee0b0c6b165d0ceb60a30e2f3a83e9273c6f
Author: Reddog <reddog at mastersword.de>
Date:   Wed Apr 16 20:51:25 2008 +0100

    gta01-fix-resume-redo-par.patch
    
     --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=595&action=view)
    fix resume of fbdev  BZ#79
    
    I played a bit with the fbdev resume. With this patch the neo doesn't get this
    white screen on resume from console and from X.
    
    Signed-off-by: Reddog <reddog at mastersword.de>

commit 64ec7be81097f2c02ecffadbb2eef22ccf4c7e7b
Author: Mike Westerhof <mwester at dls.net>
Date:   Wed Apr 16 20:51:17 2008 +0100

    gta01-fix-jbt-platform-missing-members.patch
    
    Created an attachment (id=594) / BZ#79
    Add missing platform_data that caused the GTA01 to crash on suspend/resume
    
    The interface to the jbt6k74 driver changed slightly; this patch adds the
    missing platform_data for the GTA01.  This prevents a crash while suspending.
    This patch also makes some minor changes to cleanup and clarify some debug
    messages.
    Signed-off-by: Mike Westerhof <mwester at dls.net>

commit f54af99850ae25da80e491b1864bb90e14c80b1f
Author: Mike Wester <mwester at dis.net>
Date:   Sun Apr 13 07:25:59 2008 +0100

    fix-gta01-pmu-irq-edge-lost-on-resume.patch
    
    GTA01 -only
    
    Restore power button functionality after resume operation
    
    Per Werner's suggestion, run the PMU interrupt handler immediately after resume
    to clear/handle any pending interrupts from that device.  This appears to
    resolve the  dead-powerbutton-after-resume problem.  This is not well-tested;
    need feedback to see if there are any side-effects or other problems.
    
    From BZ 1313
    
    Signed-off-by: Mike Wester <mwester at dis.net>

commit 4c445577b8f471612389007e5265c7dbfb2c487b
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:59 2008 +0100

    fix-jack-interrupt-debounce-loss-window.patch
    
    Make sure we can't lose a jack interrupt in debounce, despite it is
    a one-in-a-million thing that just needs replug to clear
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit eb020c73e01bc31c9ae8500fa07ecfafcd35d2c8
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:58 2008 +0100

    [neo] Every access to GPIO bank B has to go through the shadow code
    
        - Any setting of any PIN on bank B will undo the LED setting.
          Introduce neo1973_gpb_set_pin to set the PIN in a way not losing
          the LED or any other shadowed setting.
        - Update users of GPBXY for gta01 and gta02.
    
    Signed-Off-By: Holger Freyther <zecke at openmoko.org>

commit 3beacb9939b07b974a9150a0a5848e0fbdb07df9
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:58 2008 +0100

    [neo bluetooth] GTA01_GPIO_MODEM_RST != GTA02_GPIO_MODEM_RST
        The bluetooth enable and modem reset switched the order in
        gta02. Do not poke the bluetooth dongle when we want to reset
        the modem.
    
    Signed-Off-By: Holger Freyther <zecke at openmoko.org>

commit 218ecc6801019388f1856547875635bfbb671342
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:58 2008 +0100

    [led] Misc fixes in the driver code
        to_bundle returned the wrong data. The platform_device is the
        parent of the class_device used by the LED device class. Return
        the correct class.
    
        num_leds was not set to the correct number of registered LEDs. All
        loops using num_leds (e.g. module unloading) were not executed at
        all.
    
        On removal of the module disable all LEDs.
    
    Signed-Off-By: Holger Freyther <zecke at openmoko.org>

commit 5c701da7eb3f9fdd3d9cb410c6e1699f862277ea
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:57 2008 +0100

    [leds] We would enable PWM for all four timers, disable it for all four as well
    
    Currently we do not use the PWM code to drive the LEDS. We have enabled the PWM
    for four timer sources but disable it only for three, fix that up.
    
    Signed-Off-By: Holger Freyther <zecke at openmoko.org>

commit cab66f63cd7e36a576d3ae53fef466df4e3391d8
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:57 2008 +0100

    Remove not needed #ifdef as machine_is_ is always defined.
        If we build a kernel without gta01/gta02 the
        machine_is_ macro will expand to (0) and the compiler will
        optimize the if (0) {} away.
    
    Signed-Off-By: Holger Freyther <zecke at openmoko.org>

commit f8759e3c3b99e15d4b182e3240d0990590e6cc36
Author: Mike Wester <mwester at dis.net>
Date:   Sun Apr 13 07:25:57 2008 +0100

    fix-gta01-spi-resume-patch
    
    Patch to register the SPI device and thus the save/resume for the display
    
    This patch does *NOT* resolve this problem, but it does make things a bit
    better.  The SPI device name changed with 2.6.24, and the change was made for
    the gta02 but never propagated to the gta01.  With this change, you'll now see
    the entries for the spi bus and the display controller in /sys; and the display
    controller suspend/resume functions will be called.
    
    (via BZ 79)
    
    Signed-off-by: Mike Wester <mwester at dis.net>

commit f761294475ddac8ecb74b5ef6c7cb7b0e7f71e0b
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:57 2008 +0100

    OpenMoko => Openmoko
    
    Signed-Off-By: Holger Freyther <zecke at openmoko.org>

commit 9a5d2d81c0bf5c8fe2ac58d267033876904ed925
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:57 2008 +0100

    fix-jack-debounce.patch
    
    Headphone jack detection is bouncy, it can trigger multiple interrupts
    on insertion or removal.  This patch adds a workqueue that waits out the
    interrupt spew in 100ms units, and if it sees no more interrupts for 100ms
    only then samples and reports the jack state.  I was unable to get a bounce
    after 20 or so tries after this.
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit f2cf4e5f204e981a02a0edaccab4ca39f868ac0f
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:56 2008 +0100

    fix-glamofb-cmd-mode-locking.patch
    
    Glamo "cmd mode" is modal, but nothing took care about locking.
    Also cmd mode was entered recursively in rotate_lcd().
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 2c96fcfe5037e1078c24f824a0c84050cf54532b
Author: Mike Wester <mwester at dis.net>
Date:   Sun Apr 13 07:25:56 2008 +0100

    fix-usb-ethernet-mwester.patch
    
    This is a kernel bug affecting all platforms, introduced in some code cleanup in
    2.6.23.  Patch will be posted as soon as I test it.
    
    NOTE: Do not submit upstream; this patch or something very similar is already
    in process for 2.6.25.

commit e9c1588c44daa953240f7fedbf8100cf840414f5
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:56 2008 +0100

    fix-glamofb-cmdqueue-timeout.patch
    
    loglevl=9 can cause failure to init glamo-fb
    problem seems to be too low timeout when text scrolling can
    delay commandqueue going empty
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 1b5fe5baf3d57244221823402164bc6b016c0d5c
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:56 2008 +0100

    add-modules-defconfig.patch
    From: Andy Green <andy at openmoko.com>
    
    Add in the svn "mostly modules" config and GTA01 / 02 split
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 129f349dc3ee75dfb0580436d82fd0d6633ba2c4
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:55 2008 +0100

    fix-gsm-download-irq-balance-issue.patch
    
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 5d6f04132cb5bd8fa8f1c9c9c3dc337aeae18f4c
Author: Werner Almesberger <werner at openmoko.org>
Date:   Sun Apr 13 07:25:55 2008 +0100

    audio-tickless-timeout.patch
    
    When we resume, we can end up in
    sound/soc/s3c24xx/s3c24xx-i2s.c:s3c24xx_snd_lrsync
    with the timer tick still disabled, and the LR signal never happening.
    Thus, we loop forever.
    
    The patch below changes the timeout mechanism to use udelay, which
    doesn't need timer ticks.
    
    Note that this code is in a module, so to get the fix, you have to
    build the modules, and update them.
    
    The kernel now resumes but does the ugly GSM modem ticking. I'll have
    to find a good place to turn that one off ...
    
    - Werner
    
    ---------------------------------- cut here -----------------------------------
    
    - sound/soc/s3c24xx/s3c24xx-i2s.c (s3c24xx_snd_lrsync): in resume, we may
      call s3c24xx_snd_lrsync with timer ticks disabled, thus jiffies never
      change. Use udelay to avoid this problem.

commit 11264214bbe864fb6e55fe2ab988d6bd37f2f705
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:55 2008 +0100

    defconfig-audio.patch
    Add in some audio config needed
    Signed-off-by: Andy Green <andy at openmoko.com>

commit e5b19d7219195af3496f3f3904e62d75d300156f
Author: Sameo <sameo at openedhand.com>
Date:   Sun Apr 13 07:25:55 2008 +0100

    fix-wlan-disable.patch
    
    see
    http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1288

commit d685e208663ffc9bd454af6698cb2945e60a3ba8
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:55 2008 +0100

    Enable GPS only if it was powered on before suspending the device
    
        Similar to the neo1974_pm_gsm.c keep a static struct around. On suspend
        we will save the current power state, on resume we will use this
        information to enable power of the GPS only when it was powered on before.
        This is passing basic tests with screen /dev/ttySAC1 on suspend and resume.
    
        Only do this for the GTA02 as I don't have a gllin setup for the GTA01
    
        I wonder why the suspend and resume code is not using gps_pwron_set and why
        for the GTA02 we need to keep the state of the GPIOs, this should be done
        by the s3c code.
    
    Signed-Off-by: Holger Frether <zecke at openmoko.org>

commit d6c8d6b85864edd5bb616f9fda0d2e9c1f74de42
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:54 2008 +0100

    Fix the firing of "Jack"-Interrupts after resume when the modem is powered on.
    
    GTA02_GPIO_nDL_GSM defaults to high/1. On resume do not enable the DL_GSM if
    it was not enabled before. This is stopping the storm of interrupts.
    
    Fix the logic in the download file handling. Downloads are disabled (0) when
    the GTA02_GPIO_nDL_GSM is high (1). To enable downloading set
    GTA02_GPIO_nDL_GSM to low (0, !on). Disable the jack interrupt while download
    the is active. When disabling download we will get a couple of jack interrupts
    but this is hardly avoidable.
    
    Avoid reading the GPIO value if we do not even have a console set.
    
    Signed-Off-by: Holger Freyther <zecke at openmoko.org>

commit 69998884e413697ea6b57a1deedb7ca5fde520ac
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:54 2008 +0100

    Fix spelling. flaoting => floating
    
    Signed-Off-by: Holger Freyther <zecke at openmoko.org>

commit ba854ad9250eca9dc665507f0a4a80cbc6449ff5
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:54 2008 +0100

    This is gta02 and not gta01. Do not call the vibrator led.
    
    Signed-Off-by: Holger Freyther <zecke at openmoko.org>

commit 5134afd82f568f1eae133069bc9298e731546bc1
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:54 2008 +0100

    Add GPIO -> IRQ for the s3c2410 and add irq_to_gpio to the gpio.h of the Samsung SoC
    
    Use this irq_to_gpio in the neo1973 keyboard driver

commit 382b211cbde80703444333900dbdc0cf63d3ffab
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:54 2008 +0100

    Convert the driver to the generic GPIO framework
    
    Signed-Off-by: Holger Freyther <zecke at openmoko.org>

commit 897d69be643b8a8616b1c912444993a54f095917
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:53 2008 +0100

    Fix the FIXME, store the GPIO value for now
    
    Signed-Off-by: Holger Freyther <zecke at openmoko.org>

commit 9f60f7625fe32037c9ce6467737cb510666b5a7a
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:53 2008 +0100

    Remove dead code
    
    Signed-Off-by: Holger Freyther <zecke at openmoko.org>

commit d5964d963a8b486d3b78fd4a135ee400bbf93bd1
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:52 2008 +0100

    Simplify the code, there is no need for a branch. The code for
    GTA01_GPIO_AUX_KEY looks odd.
    
    Signed-Off-by: Holger Freyther <zecke at openmoko.org>

commit b20fa9e7d54d8dfc40be78ccb4c5bafdfaf2ad15
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:52 2008 +0100

    add-pcb-rev-sysfs.patch
    Signed-off-by: Andy Green <andy at openmoko.com>

commit dda4110e4b365da5a520e8c2e3964d556206881d
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:52 2008 +0100

    debug-glamo-dump-regs.patch
    From: Andy Green <andy at openmoko.com>
    
    Sigend-off-by: Andy Green <andy at openmoko.com>

commit b8d251412bc4c420f33920c2d9492076fc7b9624
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:52 2008 +0100

    add-gta02-pcb-revision-detect.patch
    
    Add function
    
    int gta02_get_pcb_revision(void)
    
    which returns state of GTA02 PCB revision pins.  It is also called
    and logged during boot with KERN_INFO.  The results look like:
    
    b9    b8        b2    b1    b0
     GPD4  GPD3     GPD0  GPC15 GPC13
    
     GTA02 A5 and before:  0x000
     GTA02 A6           :  0x001
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit a178e6a9426d258926af1ef86108648a0a47b808
Author: Holger Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:52 2008 +0100

    Do not send low level debugging to the modem
    
    Hey,
    
    I see no reason to send LL debugging messages to the modem. This can happen if
    we compile the Samsung SoC with PM debugging as in andy's git branch.
    
    
    
    From 452c17990dfeb9c2eb2ffa7ded4d24ddb1bcd4b2 Mon Sep 17 00:00:00 2001
    From: Holger Freyther <zecke at openmoko.org>
    Date: Sun, 23 Mar 2008 00:57:28 +0100
    Subject: [PATCH] Never ever send debug messages to the modem. The serial
    console is
     on UART2, send the messages for decompressing  and low level debugging
     there.
    
    Signed-Off-by: Holger Freyther <zecke at openmoko.org>

commit 0df922c0e1c6cdbfb8b2d2d0f7b474d09d121510
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:51 2008 +0100

    fix-suspend-gps-tx-level.patch
    
    We used to drive output high into GPS unit in suspend
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit b1f47a12474fdb7c00e2234a8a02a7e1a2031a1e
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:51 2008 +0100

    fix-lis302dl-suspend-gpio.patch
    Add platform stuff to deal with going in and out of suspend
    so the motion sensor IO is not driving high into unpowered sensors
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 24df87afae6f246622251b8d6f326493bcc206bd
Author: Holger Hans Peter Freyther <zecke at openmoko.org>
Date:   Sun Apr 13 07:25:51 2008 +0100

    add-pcf50633-06-RTC_AIE-ioctl
    
    Hey,
    
    the legacy application 'atd' from Russ Nelson/Nils Faerber, used by Qtopia, to
    schedule alarms currently fails to start as the the above ioctl is failing.
    The other drivers in drivers/rtc implement the above ioctl and we can
    implement it too.
    
    The code to mask/unmask the RTC alarm is copied from the set_alarm routine and
    adapted to use the reg_set_bit_mask and reg_set_clear_mask.
    
    It is compiling, so it must work. Please welcome me the lkml way ;)
    
    
    Signed-Off-by: Holger Hans Peter Freyther <zecke at openmoko.org>

commit b32caff43b040be34c206962402e881e4235c5a9
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:51 2008 +0100

    fix-charging-deassert-host-power-1a-detect.patch
    
    We don't take care to stop driving generated USB host power even
    when we have a 1A charger connected on the same pins.
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 20369a802d4df104489daeb85388554f79e7e281
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:51 2008 +0100

    introduce-usb-host-power-control.patch
    
    Unless I really really missed the point, there is no support for enabling
    USB Host power for USB host mode.  This patch adds a /sys node for GTA02
    that allows control of the charge pump for 5V out on the USB mini connector
    It doesn't change any logical mode in the CPU, just enables (1) and disables
    (0) USB host power.
    
    # cat /sys/devices/platform/neo1973-pm-host.0/hostmode
    0
    # echo 1 > /sys/devices/platform/neo1973-pm-host.0/hostmode
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 565f2987435711c4ac154e7cc12a03eedce2bfdb
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:50 2008 +0100

    fix-gpio-led-patch-still-pwm-t3.patch
    
    Starting up all the PWMs seems to be needed for PWM3 operation
    and FIQ / HDQ / VIB operation.  But after starting, turn the
    LEDs to GPIO-only.
    
    Applies on top of Willie's patch
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit a320183ac1d4bd8a430ef9f3e3b957ed4177454b
Author: Willie <willie_chen at openmoko.com>
Date:   Sun Apr 13 07:25:50 2008 +0100

    use gpio control leds

commit a8ee32310d3ed6fe66e639314ccae72d2fbbc886
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:50 2008 +0100

    fix-glamo-mci-fake-reset-opcode-in-suspend.patch

commit bcf06c774c2c55fbd05b74ea01f1a2a6b3de2dc7
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:50 2008 +0100

    fix-lcm-reinit-post-resume.patch

commit 99fbe6e31e09c9000668b50a87b3bbb834a145d0
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:50 2008 +0100

    fix-glamo-mci-defeat-ops-during-suspend.patch
    
    We need to be able to use the config option CONFIG_MMC_UNSAFE_RESUME that allows the rootfs
    to live on SD.  But when we use this, it tries to send a reset command to the SD card during
    suspend -- and unfortunately many things like Power have suspended by then.
    
    This patch again rejects IO on the MMC device during suspend of the MMC device, and it
    gives the result the rootfs on SD card works okay.
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit f5cedbb7cda510235de0783fea77ad8e028d1002
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:49 2008 +0100

    config-add-alsa.patch

commit 6ce7c9b239314f4ee9f86164da8aaf5f78c0d1f1
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:49 2008 +0100

    fix-s3c2410_timer_setup-resume-BUG.patch

commit 475826b7d7ef66e80b64d97ea9e8aca56d97e313
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:49 2008 +0100

    debug-suspend-dump-gpio-states-add-GPA.patch
    
    Add support for GPA[] GPIO bus since we have some NCs
    but they seem to output-only IO cells so no matter
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 7b70de51df68659d3789481cf2446f8bc01e5387
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:48 2008 +0100

    introduce-bq27000-battery-driver.patch
    
    This is a driver for the bq27000 found in the Highcell A5
    battery, and the platform device stuff for it for GTA02.  It
    is a Power Supply Class battery device.
    
    The driver doesn't contain an HDQ engine but accepts pointers
    from the platform data to the HDQ action routines; our
    platform data plugs it into the FIQ HDQ engine stuff.
    
    The Power Supply class exposes the battery down /sys so you
    can find out battery status by doing the equivalent of this
    bash command
    
    for i in capacity charge_full current_now present status technology temp time_to_empty_now time_to_full_now type voltage_now ; do echo -n "$i    " ; cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/$i ; done
    
    Here is the kind of result you get from a battery discharging
    
    capacity    0
    charge_full    1215585
    current_now    183375
    present    1
    status    Discharging
    technology    Li-ion
    temp    276
    time_to_empty_now    0
    time_to_full_now    3932100
    type    Battery
    voltage_now    2761000
    
    Note that temp is in 1/10 degrees C, other values are in uV,
    uA, uW.  The time_to_* reported are bogus, but that is what
    the battery actually reports.
    
    We can make more mappings to entries in power_supply class
    but this is enough to get started with.
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit ab6e925546e3d3361ab59c2b090eccf0cb411c7b
Author: Andy Green <andy at openmoko.com>
Date:   Sun Apr 13 07:25:48 2008 +0100

    introduce-fiq-hdq.patch
    
    This adds a platform driver and device which performs HDQ
    battery protocol using a single GPIO pin which is set
    through platform data.
    
    HDQ has some hard latency requirements which can't
    be met if interrupts are enabled, so normally using
    a GPIO for this will require blocking out all other
    interrupts and processes for several milliseconds
    per register being read or written.
    
    This HDQ protocol engine is a FSM implemented inside the
    the FIQ ISR and regulated by timer interrupts happening
    at 20us intervals.  The path through the FSM on any
    "clock" is very short and should be over with in ~
    1us.  Because FIQ has guaranteed latencies of <1us,
    it means we can service the HDQ protocol without
    blocking interrupts or any other process other than
    the caller that is waiting for the result. It's pretty
    cool performance from 1 GPIO ;-)
    
    Due to it being hard to do locking from the FIQ ISR
    the code simply sleeps 10ms or whatever the scheduler
    gives it and checks if the transfer took place yet.
    
    This platform driver doesn't have any knowledge about
    the device it is talking to, it just knows it is a
    HDQ device.  It exports three functions for read, write
    and confirming HDQ is initialized.  It also exports two
    /sys nodes that are usable by humans, one dumps the whole
    127 register HDQ register space
    
    # cat /sys/devices/platform/gta02-hdq.0/hdq/dump
    00 44 55 00 00 00 ba 04 a2 0d 50 00 00 00 00 00
    00 00 9a 1a 00 00 ff ff ff ff 29 00 00 00 80 2b
    00 00 00 00 00 00 ff ff 00 00 00 00 00 32 af 06
    a0 d8 37 4e 00 00 00 00 00 00 00 34 2e 03 b4 e7
    00 00 06 00 41 00 4c 02 00 00 00 00 00 00 00 00
    83 02 00 00 94 09 59 b9 a5 0d 7f 21 00 00 7a ff
    df ff 62 ff a7 04 2e 05 00 00 00 01 00 07 00 00
    2a 78 36 67 7b b5 1b a9 af 19 38 89 63 57 42 7c
    #
    
    and the other allows to set one register
    
    # echo 2 170 > /sys/devices/platform/gta02-hdq.0/hdq/write
    
    writes 0xAA into register 2.
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 41b2c45d068da0467272ca843e05a13f0e262be6
Author: warmcat <andy at openmoko.com>
Date:   Sun Apr 13 07:25:47 2008 +0100

    clean-snip-gpio-reinit.patch
    These are initialized already
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit e05285e4b6a3fa1134d40e91c5a345392e7efba0
Author: warmcat <andy at openmoko.com>
Date:   Sun Apr 13 07:25:47 2008 +0100

    bugfix-deglitch-gpio-output-enable.patch

commit 293025ae0e971da194ecb58be304835f246b6c9e
Author: Mike Montour <mail at mmontour.net>
Date:   Sun Apr 13 07:25:47 2008 +0100

    contrib-fix-chgstate-array-bloat.patch
    
    --- linux-2.6.22/drivers/i2c/chips/pcf50606.c.orig	2008-01-17 22:30:16.000000000 -0800
    +++ linux-2.6.22/drivers/i2c/chips/pcf50606.c	2008-01-17 22:31:43.000000000 -0800
    @@ -71,12 +71,19 @@
    
     I2C_CLIENT_INSMOD_1(pcf50606);
    
    -#define PCF50606_F_CHG_FAST	0x00000001	/* Charger Fast allowed */
    -#define PCF50606_F_CHG_PRESENT	0x00000002	/* Charger present */
    -#define PCF50606_F_CHG_FOK	0x00000004	/* Fast OK for battery */
    -#define PCF50606_F_CHG_ERR	0x00000008	/* Charger Error */
    -#define PCF50606_F_CHG_PROT	0x00000010	/* Charger Protection */
    -#define PCF50606_F_CHG_READY	0x00000020	/* Charging completed */
    +#define PCF50606_B_CHG_FAST	0	/* Charger Fast allowed */
    +#define PCF50606_B_CHG_PRESENT	1	/* Charger present */
    +#define PCF50606_B_CHG_FOK	2	/* Fast OK for battery */
    +#define PCF50606_B_CHG_ERR	3	/* Charger Error */
    +#define PCF50606_B_CHG_PROT	4	/* Charger Protection */
    +#define PCF50606_B_CHG_READY	5	/* Charging completed */
    +
    +#define PCF50606_F_CHG_FAST	(1<<PCF50606_B_CHG_FAST)	/* Charger Fast allowed */
    +#define PCF50606_F_CHG_PRESENT	(1<<PCF50606_B_CHG_PRESENT)	/* Charger present */
    +#define PCF50606_F_CHG_FOK	(1<<PCF50606_B_CHG_FOK)	/* Fast OK for battery */
    +#define PCF50606_F_CHG_ERR	(1<<PCF50606_B_CHG_ERR)	/* Charger Error */
    +#define PCF50606_F_CHG_PROT	(1<<PCF50606_B_CHG_PROT)	/* Charger Protection */
    +#define PCF50606_F_CHG_READY	(1<<PCF50606_B_CHG_READY)	/* Charging completed */
     #define PCF50606_F_CHG_MASK	0x000000fc
    
     #define PCF50606_F_PWR_PRESSED	0x00000100
    @@ -1026,12 +1033,12 @@
     static DEVICE_ATTR(chgmode, S_IRUGO | S_IWUSR, show_chgmode, set_chgmode);
    
     static const char *chgstate_names[] = {
    -	[PCF50606_F_CHG_FAST]			= "fast_enabled",
    -	[PCF50606_F_CHG_PRESENT] 		= "present",
    -	[PCF50606_F_CHG_FOK]			= "fast_ok",
    -	[PCF50606_F_CHG_ERR]			= "error",
    -	[PCF50606_F_CHG_PROT]			= "protection",
    -	[PCF50606_F_CHG_READY]			= "ready",
    +	[PCF50606_B_CHG_FAST]			= "fast_enabled",
    +	[PCF50606_B_CHG_PRESENT] 		= "present",
    +	[PCF50606_B_CHG_FOK]			= "fast_ok",
    +	[PCF50606_B_CHG_ERR]			= "error",
    +	[PCF50606_B_CHG_PROT]			= "protection",
    +	[PCF50606_B_CHG_READY]			= "ready",
     };
    
     static ssize_t show_chgstate(struct device *dev, struct device_attribute *attr,

commit 9f90b78f834e3d18520c03af4644ff239a2e891b
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:46 2008 +0100

    local-config-ext2.patch

commit 5c6c019690dac8b5f8d76732c8fd387ff7a27f2d
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:46 2008 +0100

    local-config-pmu.patch

commit b0eec76126c38ed02f0af80ebf65801d46e6e261
Author: warmcat <andy at openmoko.com>
Date:   Sun Apr 13 07:25:46 2008 +0100

    local-config-defconfig-motion-sensor-gpio.patch

commit e1f4e75f4f146f534f659f2c9cf525387d4d734a
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:46 2008 +0100

    local-config-wlan-config-changes.patch

commit 7eb5d3249a17af091630b6fa8392ed1e268962f6
Author: warmcat <andy at openmoko.com>
Date:   Sun Apr 13 07:25:45 2008 +0100

    local-config-add-bluetooth-monolithic.patch
    
    Add Bluetooth in monolithic kernel

commit fb75c4b67418f06a86a1a8f07614c618e496bc14
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:45 2008 +0100

    local-config-add-vfat-nls-to-kern.patch
    
    SD Card / VFAT in monolithic kernel
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit d7f185674ade4b1a152c1cc142d07d47f13ce9cd
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:45 2008 +0100

    local-update-defconfig-for-2.6-dev.patch
    
    Make a defconfig for 2.6.24 out of the current 2.6.22.5 one
    
    From: warmcat <andy at warmcat.com>

commit 2f8f225597218a1b838f70dc8f7d9216c40cd4c0
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:44 2008 +0100

    local-build-new-dfu-vid.patch
    
    Update to new DFU VID for A5
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 3801eb47f3ce58d2f8b64089ab01d85edf19f441
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:44 2008 +0100

    local-build-scripts.patch
    
    Add a couple of handy scripts to crossmake and send over dfu
    
    From: warmcat <andy at warmcat.com>

commit b58c89ed206269de1116a7b3f98f07bad902a566
Author: warmcat <andy at warmcat.com>
Date:   Sun Apr 13 07:25:44 2008 +0100

    local-add-defconfig.patch
    
    Adds svn defconfig
    
    From: warmcat <andy at warmcat.com>

commit ce8eaeee7875e668be4c2888fa05a61a5af0dd98
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:59 2008 +0100

    glamo-cmdqueue-bandaid.patch
    [ Stop kernel from hanging every once in a while during Glamo
      initialization. ]
    
    debug-glamo-fb-cmdqueue-wait-timeout.patch
    
    From: warmcat <andy at warmcat.com>

commit 627dc473972450148330e4c4c3c2dd43798c1c26
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:59 2008 +0100

    gta02-sound-bandaid.patch
    http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1172
    
    This patch seems to alleviate the symptoms but doesn't cure them.
    Keep it to keep development going, until we have a proper solution.

commit a3ce0f5da32538cdf96c1dc1d6dc8b7452b096d2
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:59 2008 +0100

    suspend-prelim1.patch

commit 68bcfea9ab5d8947f711a97dcc291cb9da47c7da
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:59 2008 +0100

    kexec-atags.patch
    Leapfrogged from upstream (ARM Linux)
    http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=4736/1

commit f76a7a9e4e1cf2224e028e78a6869d3e8375dbe3
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:58 2008 +0100

    gta01-dehang-printk.patch
    This is a temporary work-around Mike Westerhof for this bug:
    http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=788
    
    See also
    http://lists.openmoko.org/pipermail/openmoko-kernel/2008-February/000804.html
    
    (It's the 2nd option.)
    
    We may settle on a different solution in the future, depending on
    feedback from upstream.

commit 5a95dab616822e33d6526965b46eae98717537ea
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:58 2008 +0100

    fix-pcf50633-LOWBAT-kill-init.patch

commit 530be0418a0d05cad538ff62ae16b43d2d4462e3
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:57 2008 +0100

    fix-pcf50606-LOWBAT-kill-init.patch

commit b6817bed9516a65276ee92437697cb46136df882
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:57 2008 +0100

    fix-hwecc-2410.patch
    S3C24xx ECC mis-calculates the bit to flip:
    http://lists.infradead.org/pipermail/linux-mtd/2007-October/019586.html
    If the error couldn't be corrected, we returned "no problem" :-(
    http://lists.infradead.org/pipermail/linux-mtd/2007-October/019615.html
    
    Signed-off-by: Werner Almesberger <werner at openmoko.org>

commit f4ae4d14785cce7635c750286e579e79c3a27a7a
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:57 2008 +0100

    atheros_2_0_sdio_stack.patch

commit ba3a75feb93ededf6f5bcc950bb207a4a59e1dc7
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:55 2008 +0100

    atheros_2_0_hcd.patch

commit 5fe4b00cb39ab337cfeab4ceb8ad252b9aac4583
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:55 2008 +0100

    atheros_2_0_function.patch

commit 30659e6b5f8c44bc80a0e79ae2b40e7208ac2b51
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:54 2008 +0100

    pnp_fixes.patch

commit e98d739947484f7ca2cf0fe017fda73cab63067a
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:54 2008 +0100

    s3c2410-usb-switch.patch

commit 1179eb1bf9d827aaa2b4b6adc4ba135bf9074bcc
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:53 2008 +0100

    s3c24xx-pcm-suspend.patch

commit 148a1026b1975e3a50981cf7df3d4aae2b34611e
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:53 2008 +0100

    iis-suspend.patch

commit a6b37451a52ae7d30c2493b9cc14b8604e81587d
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:53 2008 +0100

    fix-EVIOCGRAB-semantics.patch

commit 40d5d4e980e0d4a5d00759f7fa2a18488f95a0ef
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:52 2008 +0100

    bq27000-battery-driver.patch

commit 7ffc881aa6a039b2e353449b97dca8a64ee3969a
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:52 2008 +0100

    fiq-hdq.patch

commit b1b2748dd58ae925df4b4e98921db373a7777e9b
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:52 2008 +0100

    introduce-fiq-migrate-vibrator-gta02-only.patch
    
    On GTA02 we use FIQ to manage the vibrator IO now.  That
    is necessary because we stole timer3 from doing hw pwm
    for vibrator.  This keeps the same UI in /sys but does
    "bitbang pwm" on the same vibrator GPIO
    
    From: Andy Green <andy at openmoko.com>
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 4ef3bf9d0e7ffd1e70f24e47b7ede98258c8b8f4
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:51 2008 +0100

    introduce-fiq-use-timer3-as-source.patch
    
    This makes the FIQ stuff specific to one of the timers on the
    s3c244x and adds the platform stuff for fiq in the gta02 init
    
    Currently one sysfs node is exposed, a count of FIQ events
    
    cat /sys/devices/platform/sc32440_fiq.0/fiq/count
    
    From: Andy Green <andy at openmoko.com>
    Signed-off-by: Andy Green <andy at openmoko.com>

commit f83b2007a1e3552a5f15faacf42f7383cd73129a
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:50 2008 +0100

    introduce-fiq-basis.patch
    Adds a C-based FIQ ISR which is very convenient (and unusual --
    normally you have to do FIQ ISR in assembler only).
    Based on my article:
    
    http://warmcat.com/_wp/2007/09/17/at91rm9200-fiq-faq-and-simple-example-code-patch/
    
    Implemented as a platform device and driver.
    
    Suspend / resume is tested and works.
    
    Signed-off-by: Andy Green <andy at warmcat.com>

commit f8c4e2db8608131a88c6c0f17d55cbd540d32ec8
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:50 2008 +0100

    montour-audio.patch
    http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1190

commit 13a8a1f0848115f23553d15f15aa2b836f459614
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:49 2008 +0100

    fail-unless-uimage.patch
    Fail the build noisily if "mkimage" can't be found, e.g., if we forgot to add
    the u-boot directory to PATH.

commit 9deba66bfaf3a3293436e405830a666df8f36ed6
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:49 2008 +0100

    s3c2410-qt2410-buttons.patch

commit a1ad9949db4fa268e152e9b2efb2fa5932596d63
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:49 2008 +0100

    qt2410-cs8900.patch

commit 1d89da736ed33d3f7c398fb9f8dfddecb7c7c7a9
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:48 2008 +0100

    s3c2440-nand-disable-hwecc.patch
    Disable the hardware ECC checking on S3C2440 based platforms (HXD8, SMDK2440,
    GTA02) for the time being, since our u-boot doesn't yet support it for 2k page
    size NAND

commit 5c2f325aefe9280ae6f1220200bf40281d218fda
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:48 2008 +0100

    input-nots-mousedev.patch
    This patch disables the reporting of touchscreen-like devices via
    /dev/input/mice.  In the Neo1973 (much like other handheld devices),
    we need this to distinguish between the touchscreen (which uses tslib)
    and optional additional usb/bluetooth mice that might be attached.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit b2b07b5cf12c430ad74b44602b098e7b711a2b72
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:48 2008 +0100

    s3c2410_serial-nodebug.patch

commit 2ea3a6a1337ce1ad496db7e650ac6301f7be34dd
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:47 2008 +0100

    pm-debug_less_verbose.patch

commit 29296aa9ec0140894c77b076806217fd19c0ce9d
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:47 2008 +0100

    config-nr-tty-devices.patch

commit 940bc427718c8ac90466a88829ee2330ff0c6588
Author: mokopatches <mokopatches at openmoko.org>
Date:   Sun Apr 13 07:23:47 2008 +0100

    openmoko-logo.patch

commit c3baf8bae35ec67edb89c07cd8367040c95cca74
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:36:19 2008 +0100

    gta02-bt-fixes.patch
    Modify GTA02 power manager for bluetooth.
    
    1. Default power value isn't correct. Now we set pcf50633 LDO4 to 3.2 voltage.
    
    2. Separate GTA01 and GTA02 source code.
    
    3. Add pcf50633 API for enable register.

commit 825154a75730a9505750384cda1dc47c6edb3a1d
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:36:10 2008 +0100

    pcf506xx.patch
    Moved shared PMU code from pcf50606.h and pcf50633.h (which prevented inclusion
    of both at the same time) to pcf506xx.h
    
    - include/linux/pcf50606.h (struct pmu_voltage_rail, enum pmu_event, pmu_cb):
      moved to pcf506xx.h
    - include/linux/pcf50633.h (struct pmu_voltage_rail, enum pmu_event, pmu_cb):
      moved to pcf506xx.h
    
    Signed off-by: Werner Almesberger <werner at openmoko.org>

commit 54bb0bfc6105dc7842d31ab67bd6afb6de0a6a28
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:36:01 2008 +0100

    gta02-acc.patch

commit b265be540c1169a5d6c32c5b09bb3f7b72a96a9d
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:35:53 2008 +0100

    gta02-leds.patch

commit e31bab42367386736c07638683acb4da3c775eaf
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:35:42 2008 +0100

    lis302dl.patch
    This is a Linux driver for the STmicro LIS302DL 3-axis accelerometer.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit c7b72aecf04a0a51e04f7d9346757c7068e0a74d
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:35:32 2008 +0100

    gta02-sound.patch

commit a9206f415e86249bfecccd8b6dd86ab9ee362e07
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:35:24 2008 +0100

    gta02-power_control.patch

commit 565a3af138c80c15151d91647b7e92654997ecc8
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:35:15 2008 +0100

    gta02-core.patch

commit e37b54bbb7d7df4dc2fff9846daabbb6c552d47d
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:35:05 2008 +0100

    glamo-mmc.patch

commit f9fc3f480aeb1fdfcdefdd3c560d06c8297c758b
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:34:54 2008 +0100

    smedia-glamo.patch
    [ FIXME:
     include/asm-arm/arch-s3c2410/irqs.h shouldn't contain device-specific
     changes. ]
    
    This is a Linux kernel driver for the Smedia Glamo336x / Glamo337x
    multi-function peripheral device.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 56b25d1ddc3662594f9344bac89f08bcf993cc61
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:34:44 2008 +0100

    pcf50633-suspend-hacks.patch

commit d485cabe5b95e0b277459ca1c605a0751f5e1dea
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:34:36 2008 +0100

    pcf50633.patch

commit 6635f1fbaf19b1d50e355bec73974faab070e46f
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:34:27 2008 +0100

    s3c2442b-cpuid.patch
    Add the Samsung S3C2442B CPU idcode to the samsung s3c24xx platform code
    and fix a Kconfig typo related tot the 2442.

commit d238d3347d19a6df97670624bd0712e61b83b666
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:34:17 2008 +0100

    hxd8-tsl256x.patch

commit 23b8a1e056b74101ae9d51ccbab2d208e46c01a4
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:34:06 2008 +0100

    hxd8-core.patch
    This patch adds another machine, the FIC HXD8

commit d8310bb7e4ee4a9f3433a9a1e0e87567337299cb
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:33:55 2008 +0100

    s3c2410_udc-2440_dual_packet-workaround.patch
    This is a patch that seems to make the USB hangs on the S3C2440 go away. At
    least a good amount of ping torture didn't make them come back so far.
    
    The issue is that, if there are several back-to-back packets,
    sometimes no interrupt is generated for one of them. This
    seems to be caused by the mysterious dual packet mode, which
    the USB hardware enters automatically if the endpoint size is
    half that of the FIFO. (On the 2440, this is the normal
    situation for bulk data endpoints.)
    
    There is also a timing factor in this. I think what happens is
    that the USB hardware automatically sends an acknowledgement
    if there is only one packet in the FIFO (the FIFO has space
    for two). If another packet arrives before the host has
    retrieved and acknowledged the previous one, no interrupt is
    generated for that second one.
    
    However, there may be an indication. There is one undocumented
    bit (none of the 244x manuals document it), OUT_CRS1_REG[1],
    that seems to be set suspiciously often when this condition
    occurs. There is also CLR_DATA_TOGGLE, OUT_CRS1_REG[7], which
    may have a function related to this. (The Samsung manual is
    rather terse on that, as usual.)
    
    This needs to be examined further. For now, the patch seems to do the
    trick.
    
    Note that this is not a clean solution by any means, because we
    might potentially get stuck in that interrupt for quite a while.

commit cddfb6f606768265f2b36658761ea9467f098f0a
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:33:44 2008 +0100

    s3c24xx-nand-largepage.patch
    MTD: S3C24XX large page NAND support
    
    This adds support for using large page NAND devices
    with the S3C24XX NAND controller. This also adds the
    file Documentation/arm/Samsung-S3C24XX/NAND.txt to
    describe the differences.
    
    Signed-off-by: Ben Dooks <ben-linux at fluff.org>

commit fb939eccb09a956715648c260269afc34dd9ebf9
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:33:34 2008 +0100

    qt2410-s3c_mci-pdata.patch
    This patch adds platform data to support the SD/MMC slot of the Armzone
    S3C2410 development board.
    
    --- linux-2.6.22.1.orig/arch/arm/mach-s3c2410/mach-qt2410.c
    +++ linux-2.6.22.1/arch/arm/mach-s3c2410/mach-qt2410.c
    @@ -33,6 +33,8 @@
     #include <linux/spi/spi.h>
     #include <linux/spi/spi_bitbang.h>
    
    +#include <linux/mmc/host.h>
    +
     #include <linux/mtd/mtd.h>
     #include <linux/mtd/nand.h>
     #include <linux/mtd/nand_ecc.h>
    @@ -55,6 +57,7 @@
     #include <asm/arch/udc.h>
     #include <asm/arch/spi.h>
     #include <asm/arch/spi-gpio.h>
    +#include <asm/arch/mci.h>
    
     #include <asm/plat-s3c24xx/common-smdk.h>
     #include <asm/plat-s3c24xx/devs.h>
    @@ -395,6 +398,13 @@
    
     __setup("tft=", qt2410_tft_setup);
    
    +static struct s3c24xx_mci_pdata qt2410_mmc_cfg = {
    +	.gpio_wprotect	= S3C2410_GPH8,
    +	.gpio_detect	= S3C2410_GPG10,
    +	.set_power	= NULL,
    +	.ocr_avail 	= MMC_VDD_32_33,
    +};
    +
     static void __init qt2410_map_io(void)
     {
     	s3c24xx_init_io(qt2410_iodesc, ARRAY_SIZE(qt2410_iodesc));
    @@ -405,6 +415,7 @@
     static void __init qt2410_machine_init(void)
     {
     	s3c_device_nand.dev.platform_data = &qt2410_nand_info;
    +	s3c_device_sdi.dev.platform_data = &qt2410_mmc_cfg;
    
     	switch (tft_type) {
     	case 'p': /* production */

commit 948f60af720f34294629041773d9947bcefc0a9a
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:33:24 2008 +0100

    s3c_mci-gta01.patch

commit fbe3b2447eb15d4d34d906c8112bb33454163612
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:33:15 2008 +0100

    s3c_mci.patch
    This is a MMC/SD driver for the Samsung S3C24xx SD/MMC controller, originally
    developed years ago by Thomas Kleffel <tk at maintech.de>.
    
    Due to time restraints, he had no time to further maintain the driver and
    follow the mainline Linux changes in the SD/MMC stack.
    
    With his authorization, I have taken over the task of making it compliant to
    the current mainline SD/MMC API and take care of the mainline kernel merge.
    
    After a potential kernel inclusion, we would co-maintain the driver.
    
    Acked-by: Thomas Kleffel <tk at maintech.de>
    Signed-off-by: Harald Welte <laforge at gnumonks.org>

commit f741358022646f390154cfc922bece654df26741
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:33:02 2008 +0100

    g_ether-vendor_product.patch
    Use FIC's own USB Vendor ID rather than NetChip's
    
    Yes, we could solve this by some modprobe.conf parameters, but I'd like to
    rather not rely on this.

commit 00f10ad5e63625961028479e4814953ff443dfff
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:32:51 2008 +0100

    g_ether-highpower.patch

commit ae0e6a5c9e4cc1786c8b798ac19259a339476121
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:32:41 2008 +0100

    i2c-permit_invalid_addrs.patch
    We need this stupid workaround since our amplifier chip uses a 'reserved' I2C
    address
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 31fc0f2354bb65ac59ccc1e257fdbd622bda9aef
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:32:30 2008 +0100

    s3c2410_ts-gta01.patch

commit 04cce88d3d6753ae23ec36cf383f81aaed5fc71b
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:32:18 2008 +0100

    s3c2410_touchscreen.patch

commit e6e1c20bc96cc397812ab07f0ccd0a16360f2e24
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:32:08 2008 +0100

    gta01-backlight.patch
    This is a backlight driver for the FIC/OpenMoko Neo1973 GTA01 GSM Phone
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit f7ad7d5e90a4ab68e7e25df3bd4a56b6c23f5e45
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:31:55 2008 +0100

    gta01-vibrator.patch
    This patch adds driver support for the vibator device of the FIC/OpenMoko
    Neo1973 GSM phone. The driver uses the existing LED class driver framework,
    since there's a lot of similarity between the LED and the vibrator function.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit e9db29d62cbcef7974099c3a4deac69ad2a72190
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:31:44 2008 +0100

    s3c2410-pwm.patch
    This patch adds a PWM api abstraction for the S3C2410 SoC
    
    Signed-off-by: Javi Roman <javiroman at kernel-labs.org>
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit b627ce9e57a5263ddcc4e6db49625057b6461ad3
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:31:35 2008 +0100

    gta01-power_control.patch
    [PATCH] Neo1973 GPS / GSM / Bluetooth power control via sysfs
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 042ef688ad9f49101fcb5a195a5ecdbad8fde2f8
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:31:24 2008 +0100

    gta01-inputdevice.patch
    This provides support for the GTA01 keyboard
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 6887823c9ab409a15ea73bda8a8b0523cebbe444
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:31:13 2008 +0100

    gta01-jbt6k74.patch
    This driver adds support for the SPI-based control interface of the LCM (LCD
    Panel) found on the FIC GTA01 hardware.
    
    The specific panel in this hardware is a TPO TD028TTEC1, but the driver should
    be able to drive any other diplay based on the JBT6K74-AS controller ASIC.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 4b0762543b611b44e96ace4feb80e2b4775ea000
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:31:03 2008 +0100

    gta01-core.patch
    This patch adds support for the FIC Neo1973 GTA01 machine type to the ARM port
    of the Linux kernel.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 926f25b2e7e1a96e3aa6c8ca38925b35f67dcbc7
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:30:52 2008 +0100

    gta01-pcf50606.patch
    This is a NXP PCF50606 power management unit driver.
    
    The PCF50606 is used in the FIC/OpenMoko Neo1973 GTA01 GSM phone.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 8e01740813dc6a1d804e61d303549b04e160d153
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:30:37 2008 +0100

    s3c2410-bbt.patch
    [PATCH] Add Kconfig option to enable NAND bad-block-table support for s3c2410
    
    This patch adds a new CONFIG_MTD_NAND_S3C2410_BBT which, if enabled,
    asks the mtd NAND core to use a bad-block table.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 2f6a766ce9bfa4e593b1f88b564f91486cd96f80
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:30:27 2008 +0100

    wm8753-rout2-inv.patch

commit fa1e8c2fc849472cddb65bc3138944382b320589
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:30:15 2008 +0100

    resume-timers-wq.patch
    The initialization of clocks uses mutexes, but we execute the resume in
    an interrupt context. We therefore have to hand this task to a non-interrupt.
    
    Adapted from a patch by Andy Green.

commit d3063c1ec65b37b45e808313133196185ea4901f
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:30:03 2008 +0100

    fix-i2c-s3c2410-resume-race.patch
    fix-i2c-s3c2410-resume-race.patch
    
    There is a nasty race between i2c-s3c2410 resume and resume of I2C
    driver and the client drivers -- the watchdog device actually gets to
    use the dead I2C bus before it is reinitialized by the I2C driver
    resume!  This patch makes sure any customers get turned away until
    the shopkeeper has woken up.
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 3ebb4e58d6f7a9f2710a4e174a3c8b59f9fa9bd5
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Jun 1 12:56:55 2007 +0100

    asoc-core-suspend_resume.patch
    From 6c868238a5e083dca4d74439a7fd467b5c7726b0 Mon Sep 17 00:00:00 2001
    Subject: [PATCH] This fixes a bug whereby PCM's were not being suspended when the rest of the audio subsystem was suspended.

commit dee63031aaa4377dea64113b0f6789ea053087fd
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:29:38 2008 +0100

    asoc-neo1973_wm8753-power.patch

commit ad7705d9145d87c6e94006d48d12372bb319f4e7
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:29:27 2008 +0100

    neo1973-soc-include-fix.patch
    [PATCH] Fix s3c24xx include file path changes in asoc driver
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>

commit 219a4d34b71c37a2a23739718924b0915790f44f
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:29:16 2008 +0100

    gta01-no_nand_partitions.patch
    [PATCH] support mtd NAND commandline partitions for S3C2410
    
    This patch adds support for the mtd NAND core standard method of passing
    partition table information from the bootloader into the kernel by using
    the kernel commandline.
    
    The board specific code can still manually override and provide a fixed
    partition table, so this patch will behave backwards compatible.
    
    Signed-off-by: Harald Welte <laforge at openmoko.org>
    Acked-byt: Ben Dooks <ben-linux at fluff.org>

commit bc6ec8d17f2f4dcb70bc1a80ea0630eeb5372406
Author: mokopatches <mokopatches at openmoko.org>
Date:   Fri Apr 4 11:29:03 2008 +0100

    explicitly-link-notes-section.patch
    
    Since 2.6.23 kbuild produces a 3GB arch/arm/boot/Image because it includes a
    .note.gnu.build-id section at address 0 which is followed by 3GB of 0x00.
    The --build-id option is set in the toplevel Makefile.
    This patch explicitly puts the notes section after the TEXT section.





More information about the commitlog mailing list