Kernel/Upstreaming

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(add some comments)
Line 1: Line 1:
 +
Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).
 +
 
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =
 
  lindi: bugfix/feature. sounds sensible. s3c specific
 
  lindi: bugfix/feature. sounds sensible. s3c specific
Line 10: Line 12:
 
  lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?
 
  lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?
 
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =
  lindi:  
+
  lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.
 
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =
 +
lindi: feature. openmoko specific. simple.
 
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =
 +
lindi: openmoko specific. nand. simple.
 
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =
 +
lindi: openmoko specific. cleanup.
 
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =
 +
lindi: openmoko specific.
 
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =
 +
lindi: openmoko specific. simple.
 
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =
 +
lindi: openmoko specific. feature.
 
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =
 +
lindi: openmoko specific. simple.
 
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =
 +
lindi: openmoko specific. simple.
 
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =
 +
lindi: openmoko specific. simple.
 
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =
 +
lindi: openmoko specific. simple.
 
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =
 +
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself
 
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =
 +
lindi: openmoko specific. backlight?
 
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =
 +
lindi: openmoko specific. depends on the tricky fiq support above.
 
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =
 +
lindi: openmoko specific. depends on the tricky fiq support above.
 
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =
 +
lindi: openmoko specific. simple.
 
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =
 +
lindi: trivial.
 
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =
 +
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?
 
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =
 +
lindi: feature. quite essential. does not look too tricky.
 
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =
 +
lindi: feature. not sure how easy this is to mainline
 
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =
 +
lindi:
 
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =
 
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =

Revision as of 14:12, 15 November 2011

Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).

Contents

ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.

lindi: bugfix/feature. sounds sensible. s3c specific

s3c24xx: Fix level irqs on external interrupts.

lindi: bugfix. s3c specific

mtd: s3c2410_nand: Add config option to disable hw ecc at runtime

lindi: feature. simple. I personally can live without nand. 

Add s3c24xx_serial_console_set_silence

lindi: What is this for? To allow using serial console and GSM on the same serial port? Who needs this anymore?

Add c fiq handler.

lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?

Add glamo driver.

lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.

ARM: gta02: Add LED support

lindi: feature. openmoko specific. simple.

gta02: Disable hardware ECC unless we get instructed to enable it

lindi: openmoko specific. nand. simple.

gta02: Remove usage of pcf50633 gpio api

lindi: openmoko specific. cleanup.

s3c2440: gta02: Configure pcf50633 gpios.

lindi: openmoko specific.

ARM: s3c2440: GTA02: Select SPARSE_IRQ

lindi: openmoko specific. simple.

gta02: Add notify handler to probe device children

lindi: openmoko specific. feature.

gta02: Add bt power management device

lindi: openmoko specific. simple.

gta02: Add gps power management device

lindi: openmoko specific. simple.

gta02: Add gsm power management device

lindi: openmoko specific. simple.

gta02: Add wlan power management device

lindi: openmoko specific. simple.

gta02: Add glamo device

lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself

Add jbt device.

lindi: openmoko specific. backlight?

gta02: Add fiq handler

lindi: openmoko specific. depends on the tricky fiq support above.

gta02: Add battery driver

lindi: openmoko specific. depends on the tricky fiq support above.

gta02: add support for platform_battery

lindi: openmoko specific. simple.

Add atheros sdio ids.

lindi: trivial.

Add ar6000 wireless driver.

lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?

Add jbt6k74 display driver.

lindi: feature. quite essential. does not look too tricky.

LEDS: leds-pwm: Add init, notfiy and exit callbacks

lindi: feature. not sure how easy this is to mainline

RTC: PCF50633: Don't request update IRQ

lindi: 

pcf50633-gpio: Add gpiolib support.

pcf50633: Move pcf50633-gpio driver to the gpio drivers folder

MFD: pcf50633: Use mfd cells to register child devices

MFD: pcf50633: Use the genirq for irq handling

power: implement platform battery driver

Define machine_is_neo1973_gta01()

glamo-mci: revert changes for Per's patchset

nand/s3c2410: add mising badblocksbits value

Openmoko resume reason sysfs node ported from 2.6.29

glamo-display: fix WSOD for 242 timming

Enable powering off after 8s POWER press

gta02: add support for usb host mode

ar6000_delay.patch

wm8753: use snd_soc_jack on neo1973

Fix high power consumption in suspend

Force GPS power up on resume if it were powered up on suspend

lis302dl accelerometer driver

input: lis302dl: fix the resume path

lis302dl: use ABS events rather then REL events

Fix compile error for gta02 accelerometer.

tslib relies on ts pressures events so this hack is needed to get tslib stuff working

touchscreen: ignore unexpected interrupts

s3c2410_ts: jitter less touchscreen for glamo, version 4

wm8753: allow setting DAI mode even while pcm is active

Add .config from http://build.shr-project.org/tests/jama/kernel-nodrm/config-2.6.39.gz

Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783

First attempt at fixing openmoko bug #2478

Personal tools

ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.

lindi: bugfix/feature. sounds sensible. s3c specific

s3c24xx: Fix level irqs on external interrupts.

lindi: bugfix. s3c specific

mtd: s3c2410_nand: Add config option to disable hw ecc at runtime

lindi: feature. simple. I personally can live without nand. 

Add s3c24xx_serial_console_set_silence

lindi: What is this for? To allow using serial console and GSM on the same serial port? Who needs this anymore?

Add c fiq handler.

lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?

Add glamo driver.

lindi: 

ARM: gta02: Add LED support

gta02: Disable hardware ECC unless we get instructed to enable it

gta02: Remove usage of pcf50633 gpio api

s3c2440: gta02: Configure pcf50633 gpios.

ARM: s3c2440: GTA02: Select SPARSE_IRQ

gta02: Add notify handler to probe device children

gta02: Add bt power management device

gta02: Add gps power management device

gta02: Add gsm power management device

gta02: Add wlan power management device

gta02: Add glamo device

Add jbt device.

gta02: Add fiq handler

gta02: Add battery driver

gta02: add support for platform_battery

Add atheros sdio ids.

Add ar6000 wireless driver.

Add jbt6k74 display driver.

LEDS: leds-pwm: Add init, notfiy and exit callbacks

RTC: PCF50633: Don't request update IRQ

pcf50633-gpio: Add gpiolib support.

pcf50633: Move pcf50633-gpio driver to the gpio drivers folder

MFD: pcf50633: Use mfd cells to register child devices

MFD: pcf50633: Use the genirq for irq handling

power: implement platform battery driver

Define machine_is_neo1973_gta01()

glamo-mci: revert changes for Per's patchset

nand/s3c2410: add mising badblocksbits value

Openmoko resume reason sysfs node ported from 2.6.29

glamo-display: fix WSOD for 242 timming

Enable powering off after 8s POWER press

gta02: add support for usb host mode

ar6000_delay.patch

wm8753: use snd_soc_jack on neo1973

Fix high power consumption in suspend

Force GPS power up on resume if it were powered up on suspend

lis302dl accelerometer driver

input: lis302dl: fix the resume path

lis302dl: use ABS events rather then REL events

Fix compile error for gta02 accelerometer.

tslib relies on ts pressures events so this hack is needed to get tslib stuff working

touchscreen: ignore unexpected interrupts

s3c2410_ts: jitter less touchscreen for glamo, version 4

wm8753: allow setting DAI mode even while pcm is active

Add .config from http://build.shr-project.org/tests/jama/kernel-nodrm/config-2.6.39.gz

Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783

First attempt at fixing openmoko bug #2478