http://wiki.openmoko.org/api.php?action=feedcontributions&user=Lindi&feedformat=atomOpenmoko - User contributions [en]2024-03-19T03:23:00ZUser contributionsMediaWiki 1.19.24http://wiki.openmoko.org/wiki/User:LindiUser:Lindi2013-03-17T20:09:45Z<p>Lindi: update</p>
<hr />
<div>Last reviewed on: 2011-09-26<br />
<br />
<br />
This page describes how I use my phone. Feel feel to copy these ideas<br />
and suggest improvements. You can reach me at timo.lindfors@iki.fi or as lindi- on ircnet, freenode or oftc. Please consider adding Cc: to e.g. smartphones-userland@linuxtogo.org if you feel that also others might want to see your question/comment.<br />
<br />
Btw, [http://wiki.openmoko.org/wiki/User:JohnSullivan John Sullivan] and [http://wiki.openmoko.org/wiki/User:TimoJyrinki Timo Jyrinki] have similar pages.<br />
<br />
= Hardware =<br />
* gta02V7 (previously used [http://lindi.iki.fi/lindi/openmoko/buzz-fix/ buzzfixed] gta02V5)<br />
* invisible shield(tm) for the screen<br />
* 4 GB microSD card<br />
* [http://www.dealextreme.com/details.dx/sku.688 Universal USB Power Car Adapter (1000mA)]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 2400mAh]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 1000mAh]<br />
* USB gender changer for connecting USB devices to the phone without special cables<br />
* mobile USB hub<br />
* Huawei E169 USB 3G stick<br />
* multiple SIM cards from my provider. I can answer calls with both my nokia phone and openmoko but only one phone can be configured to receive SMS.<br />
* [http://www.dealextreme.com/details.dx/sku.13526 Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub], lets me charge the phone and still have the phone work as an USB host<br />
* [http://www.dealextreme.com/details.dx/sku.5859 USB to RS232 Serial Port Adapter (Transparent Green)]<br />
* [http://www.dealextreme.com/details.dx/sku.26780 USB A-Female to Mini USB 5-Pin Female Adapter], for connecting wall charger to the USB hub<br />
* openmoko debug board V3<br />
* openmoko headset, not used much since I don't want to break it and buzzfix does not work with it anyway<br />
* gta02V5 with buzzfix<br />
* gta02V7 with broken AUX button<br />
* four openmoko batteries<br />
* [http://www.dealextreme.com/details.dx/sku.2797 USB 10/100 RJ45 Ethernet Network Adapter Dongle]. Beware, this triggers a bug ([http://docs.openmoko.org/trac/ticket/2310 #2310 charging N900 with gta02 causes the gta02 to overheat]) but can be worked around if you supply power to USB bus by some other means (for example with the "Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub" mentioned above).<br />
* full-body invisible shield(tm) installed to the second phone<br />
* [http://www.dealextreme.com/details.dx/sku.3541 4-Pin 2.5mm to 3.5mm Stereo Audio Jack Convertor]<br />
* [http://www.dealextreme.com/details.dx/sku.22475 Virtual 5.1-Surround USB 2.0 External Sound Card]<br />
* [http://www.samsontech.com/products/productpage.cfm?prodID=1878 C03U - Multi-Pattern USB Studio Condenser Microphone] (only tested once, I don't own one)<br />
<br />
= Software =<br />
<br />
== Boot loader ==<br />
* qi 20100107-1 (now in debian sid!)<br />
* mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case<br />
<br />
== Kernel ==<br />
* linux-image-2.6.34-openmoko-gta02 20101212.git049b71de-2 from pkg-fso<br />
<br />
== Userland ==<br />
<br />
Generally I try to use Debian GNU/Linux unstable with as little<br />
software from other sources as possible. I'm quite conservative and<br />
try to stick to known-to-work programs (currently unsure about<br />
bleeding edge stuff like E17 window manager, vala programming language<br />
and Qi).<br />
<br />
Also note that I run my X programs as a normal user. I used to run Xorg as non-root too but that [http://lists.debian.org/debian-x/2011/02/msg01110.html|did not work very well].<br />
<br />
=== programs from debian main ===<br />
* Xorg<br />
* xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon! [http://docs.openmoko.org/trac/ticket//2294 #2294 xf86-video-glamo: stopping X can crash the whole system (not even JTAG works)])<br />
* xdm as display manager<br />
* xvkbd as virtual keyboard<br />
* xterm as terminal emulator<br />
* elinks and midori for browsing the web<br />
* ssh to connect home to IRC and use email<br />
* icewm as window manager<br />
* gpsd for talking to GPS<br />
* watchdog for making sure that I can recover from kernel crash without having to remove battery.<br />
* dates as calendar<br />
* omhacks for accessing openmoko specific hardware features<br />
<br />
=== programs for reliable GSM calls ===<br />
I do not use whole FSO frameworkd for reliability reasons involved around dbus. At present I also don't use the debian packages of frameworkd so that I can more easily test different upstream versions. NOTE: many programs here are not documented and not really ready to be packaged.<br />
<br />
Related bug reports:<br />
* [http://trac.freesmartphone.org/ticket/348 #348: provide a way to debug framework when it goes to a state where it does not respond to dbus]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796: dbus_connection_send_with_reply + usage of pending have severe timing issues]<br />
* [http://docs.openmoko.org/trac/ticket/2264 #2264: Heavy GPRS traffic causes a Calypso crash]<br />
* [http://docs.openmoko.org/trac/ticket/2291 #2291: AT+CCLK sometimes returns corrupted time]<br />
* [http://docs.openmoko.org/trac/ticket/1024 #1024: gsm modem oscillating between registrated / not-registrated]<br />
<br />
The actual software in use:<br />
<br />
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device<br />
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.<br />
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso<br />
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)<br />
* [http://iki.fi/lindi/darcs/kapula/ kapula] for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile --no-request-gsm-on-startup<br />
* [http://iki.fi/lindi/openmoko/answering-machine answering-machine] for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.<br />
* [http://iki.fi/lindi/openmoko/gsm-watchdog gsm-watchdog] for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.<br />
* [http://iki.fi/lindi/openmoko/susp a really messy suspend script] that tells ogsmd to tell Calypso to be quiet when we are in suspend.<br />
* [http://iki.fi/lindi/openmoko/dump-sms dump-sms] for reading SMS and smsl for sending then via the web page of my operator. As you can imagine I do not use SMS much.<br />
<br />
=== Useful tools ===<br />
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen<br />
* FIXME: talk about RTC clock accuracy issues<br />
<br />
= Open questions = <br />
<br />
* What is a clean way to start answering-machine on boot as normal user? I want to run it as my normal user since then call logs can be written to my home directory.<br />
<br />
= Development =<br />
<br />
* [http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py My unofficial search to bugs.openmoko.org that does regular expressions]<br />
<br />
= Questions and answers =<br />
<br />
; On your user page you state that you only use ogsmd from frameworkd -- how do you disable the rest (are you setting loads of "disable = 1" lines in frameworkd.conf?) : I have my own /etc/init.d/ogsmd that uses start-stop-daemon to invoke "frameworkd -s ogsmd"<br />
<br />
<br />
= Deprecated stuff =<br />
<br />
== Editing wiki using mvs (BROKEN, NO TIME TO DEBUG) ==<br />
<br />
mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'<br />
emacs User:lindi.wiki<br />
mvs update User:lindi.wiki<br />
mvs commit -m "test commit" User:Lindi.wiki<br />
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki<br />
<br />
~/.emacs<br />
(setq load-path (cons "~/.elisp" load-path))<br />
<br />
(autoload 'wikipedia-mode "wikipedia-mode.el"<br />
"Major mode for editing documents in Wikipedia markup." t)<br />
<br />
(add-to-list 'auto-mode-alist<br />
'("\\.wiki\\'" . wikipedia-mode))<br />
<br />
http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el</div>Lindihttp://wiki.openmoko.org/wiki/User:LindiUser:Lindi2012-11-04T20:43:37Z<p>Lindi: Undo revision 103266 by Soff (talk)</p>
<hr />
<div>Last reviewed on: 2011-09-26<br />
<br />
This page describes how I use my phone. Feel feel to copy these ideas<br />
and suggest improvements. You can reach me at timo.lindfors@iki.fi or as lindi- on ircnet, freenode or oftc. Please consider adding Cc: to e.g. smartphones-userland@linuxtogo.org if you feel that also others might want to see your question/comment.<br />
<br />
Btw, [http://wiki.openmoko.org/wiki/User:JohnSullivan John Sullivan] and [http://wiki.openmoko.org/wiki/User:TimoJyrinki Timo Jyrinki] have similar pages.<br />
<br />
= Hardware =<br />
* gta02V7 (previously used [http://lindi.iki.fi/lindi/openmoko/buzz-fix/ buzzfixed] gta02V5)<br />
* invisible shield(tm) for the screen<br />
* 4 GB microSD card<br />
* [http://www.dealextreme.com/details.dx/sku.688 Universal USB Power Car Adapter (1000mA)]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 2400mAh]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 1000mAh]<br />
* USB gender changer for connecting USB devices to the phone without special cables<br />
* mobile USB hub<br />
* Huawei E169 USB 3G stick<br />
* multiple SIM cards from my provider. I can answer calls with both my nokia phone and openmoko but only one phone can be configured to receive SMS.<br />
* [http://www.dealextreme.com/details.dx/sku.13526 Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub], lets me charge the phone and still have the phone work as an USB host<br />
* [http://www.dealextreme.com/details.dx/sku.5859 USB to RS232 Serial Port Adapter (Transparent Green)]<br />
* [http://www.dealextreme.com/details.dx/sku.26780 USB A-Female to Mini USB 5-Pin Female Adapter], for connecting wall charger to the USB hub<br />
* openmoko debug board V3<br />
* openmoko headset, not used much since I don't want to break it and buzzfix does not work with it anyway<br />
* gta02V5 with buzzfix<br />
* gta02V7 with broken AUX button<br />
* four openmoko batteries<br />
* [http://www.dealextreme.com/details.dx/sku.2797 USB 10/100 RJ45 Ethernet Network Adapter Dongle]. Beware, this triggers a bug ([http://docs.openmoko.org/trac/ticket/2310 #2310 charging N900 with gta02 causes the gta02 to overheat]) but can be worked around if you supply power to USB bus by some other means (for example with the "Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub" mentioned above).<br />
* full-body invisible shield(tm) installed to the second phone<br />
* [http://www.dealextreme.com/details.dx/sku.3541 4-Pin 2.5mm to 3.5mm Stereo Audio Jack Convertor]<br />
* [http://www.dealextreme.com/details.dx/sku.22475 Virtual 5.1-Surround USB 2.0 External Sound Card]<br />
* [http://www.samsontech.com/products/productpage.cfm?prodID=1878 C03U - Multi-Pattern USB Studio Condenser Microphone] (only tested once, I don't own one)<br />
<br />
= Software =<br />
<br />
== Boot loader ==<br />
* qi 20100107-1 (now in debian sid!)<br />
* mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case<br />
<br />
== Kernel ==<br />
* linux-image-2.6.34-openmoko-gta02 20101212.git049b71de-2 from pkg-fso<br />
<br />
== Userland ==<br />
<br />
Generally I try to use Debian GNU/Linux unstable with as little<br />
software from other sources as possible. I'm quite conservative and<br />
try to stick to known-to-work programs (currently unsure about<br />
bleeding edge stuff like E17 window manager, vala programming language<br />
and Qi).<br />
<br />
Also note that I run my X programs as a normal user. I used to run Xorg as non-root too but that [http://lists.debian.org/debian-x/2011/02/msg01110.html|did not work very well].<br />
<br />
=== programs from debian main ===<br />
* Xorg<br />
* xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon! [http://docs.openmoko.org/trac/ticket//2294 #2294 xf86-video-glamo: stopping X can crash the whole system (not even JTAG works)])<br />
* xdm as display manager<br />
* xvkbd as virtual keyboard<br />
* xterm as terminal emulator<br />
* elinks and midori for browsing the web<br />
* ssh to connect home to IRC and use email<br />
* icewm as window manager<br />
* gpsd for talking to GPS<br />
* watchdog for making sure that I can recover from kernel crash without having to remove battery.<br />
* dates as calendar<br />
* omhacks for accessing openmoko specific hardware features<br />
<br />
=== programs for reliable GSM calls ===<br />
I do not use whole FSO frameworkd for reliability reasons involved around dbus. At present I also don't use the debian packages of frameworkd so that I can more easily test different upstream versions. NOTE: many programs here are not documented and not really ready to be packaged.<br />
<br />
Related bug reports:<br />
* [http://trac.freesmartphone.org/ticket/348 #348: provide a way to debug framework when it goes to a state where it does not respond to dbus]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796: dbus_connection_send_with_reply + usage of pending have severe timing issues]<br />
* [http://docs.openmoko.org/trac/ticket/2264 #2264: Heavy GPRS traffic causes a Calypso crash]<br />
* [http://docs.openmoko.org/trac/ticket/2291 #2291: AT+CCLK sometimes returns corrupted time]<br />
* [http://docs.openmoko.org/trac/ticket/1024 #1024: gsm modem oscillating between registrated / not-registrated]<br />
<br />
The actual software in use:<br />
<br />
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device<br />
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.<br />
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso<br />
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)<br />
* [http://iki.fi/lindi/darcs/kapula/ kapula] for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile --no-request-gsm-on-startup<br />
* [http://iki.fi/lindi/openmoko/answering-machine answering-machine] for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.<br />
* [http://iki.fi/lindi/openmoko/gsm-watchdog gsm-watchdog] for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.<br />
* [http://iki.fi/lindi/openmoko/susp a really messy suspend script] that tells ogsmd to tell Calypso to be quiet when we are in suspend.<br />
* [http://iki.fi/lindi/openmoko/dump-sms dump-sms] for reading SMS and smsl for sending then via the web page of my operator. As you can imagine I do not use SMS much.<br />
<br />
=== Useful tools ===<br />
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen<br />
* FIXME: talk about RTC clock accuracy issues<br />
<br />
= Open questions = <br />
<br />
* What is a clean way to start answering-machine on boot as normal user? I want to run it as my normal user since then call logs can be written to my home directory.<br />
<br />
= Development =<br />
<br />
* [http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py My unofficial search to bugs.openmoko.org that does regular expressions]<br />
<br />
= Questions and answers =<br />
<br />
; On your user page you state that you only use ogsmd from frameworkd -- how do you disable the rest (are you setting loads of "disable = 1" lines in frameworkd.conf?) : I have my own /etc/init.d/ogsmd that uses start-stop-daemon to invoke "frameworkd -s ogsmd"<br />
<br />
<br />
= Deprecated stuff =<br />
<br />
== Editing wiki using mvs (BROKEN, NO TIME TO DEBUG) ==<br />
<br />
mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'<br />
emacs User:lindi.wiki<br />
mvs update User:lindi.wiki<br />
mvs commit -m "test commit" User:Lindi.wiki<br />
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki<br />
<br />
~/.emacs<br />
(setq load-path (cons "~/.elisp" load-path))<br />
<br />
(autoload 'wikipedia-mode "wikipedia-mode.el"<br />
"Major mode for editing documents in Wikipedia markup." t)<br />
<br />
(add-to-list 'auto-mode-alist<br />
'("\\.wiki\\'" . wikipedia-mode))<br />
<br />
http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el</div>Lindihttp://wiki.openmoko.org/wiki/User:LindiUser:Lindi2012-11-04T20:41:58Z<p>Lindi: Undo revision 103265 by Soff (talk)</p>
<hr />
<div>Last reviewed on: 2011-09-26<br />
<br />
This page describes how I use my phone. Feel feel to copy these ideas<br />
and suggest improvements. You can reach me at timo.lindfors@iki.fi or as lindi- on ircnet, freenode or oftc. Please consider adding Cc: to e.g. smartphones-userland@linuxtogo.org if you feel that also others might want to see your question/comment.<br />
<br />
Btw, [http://wiki.openmoko.org/wiki/User:JohnSullivan John Sullivan] and [http://wiki.openmoko.org/wiki/User:TimoJyrinki Timo Jyrinki] have similar pages.<br />
<br />
= Hardware =<br />
* gta02V7 (previously used [http://lindi.iki.fi/lindi/openmoko/buzz-fix/ buzzfixed] gta02V5)<br />
* invisible shield(tm) for the screen<br />
* 4 GB microSD card<br />
* [http://www.dealextreme.com/details.dx/sku.688 Universal USB Power Car Adapter (1000mA)]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 2400mAh]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 1000mAh]<br />
* USB gender changer for connecting USB devices to the phone without special cables<br />
* mobile USB hub<br />
* Huawei E169 USB 3G stick<br />
* multiple SIM cards from my provider. I can answer calls with both my nokia phone and openmoko but only one phone can be configured to receive SMS.<br />
* [http://www.dealextreme.com/details.dx/sku.13526 Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub], lets me charge the phone and still have the phone work as an USB host<br />
* [http://www.dealextreme.com/details.dx/sku.5859 USB to RS232 Serial Port Adapter (Transparent Green)]<br />
* [http://www.dealextreme.com/details.dx/sku.26780 USB A-Female to Mini USB 5-Pin Female Adapter], for connecting wall charger to the USB hub<br />
* openmoko debug board V3<br />
* openmoko headset, not used much since I don't want to break it and buzzfix does not work with it anyway<br />
* gta02V5 with buzzfix<br />
* gta02V7 with broken AUX button<br />
* four openmoko batteries<br />
* [http://www.dealextreme.com/details.dx/sku.2797 USB 10/100 RJ45 Ethernet Network Adapter Dongle]. Beware, this triggers a bug ([http://docs.openmoko.org/trac/ticket/2310 #2310 charging N900 with gta02 causes the gta02 to overheat]) but can be worked around if you supply power to USB bus by some other means (for example with the "Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub" mentioned above).<br />
* full-body invisible shield(tm) installed to the second phone<br />
* [http://www.dealextreme.com/details.dx/sku.3541 4-Pin 2.5mm to 3.5mm Stereo Audio Jack Convertor]<br />
* [http://www.dealextreme.com/details.dx/sku.22475 Virtual 5.1-Surround USB 2.0 External Sound Card]<br />
* [http://www.samsontech.com/products/productpage.cfm?prodID=1878 C03U - Multi-Pattern USB Studio Condenser Microphone] (only tested once, I don't own one)<br />
<br />
= Software =<br />
<br />
== Boot loader ==<br />
* qi 20100107-1 (now in debian sid!)<br />
* mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case<br />
<br />
== Kernel ==<br />
* linux-image-2.6.34-openmoko-gta02 20101212.git049b71de-2 from pkg-fso<br />
<br />
== Userland ==<br />
<br />
Generally I try to use Debian GNU/Linux unstable with as little<br />
software from other sources as possible. I'm quite conservative and<br />
try to stick to known-to-work programs (currently unsure about<br />
bleeding edge stuff like E17 window manager, vala programming language<br />
and Qi).<br />
<br />
Also note that I run my X programs as a normal user. I used to run Xorg as non-root too but that [http://lists.debian.org/debian-x/2011/02/msg01110.html|did not work very well].<br />
<br />
=== programs from debian main ===<br />
* Xorg<br />
* xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon! [http://docs.openmoko.org/trac/ticket//2294 #2294 xf86-video-glamo: stopping X can crash the whole system (not even JTAG works)])<br />
* xdm as display manager<br />
* xvkbd as virtual keyboard<br />
* xterm as terminal emulator<br />
* elinks and midori for browsing the web<br />
* ssh to connect home to IRC and use email<br />
* icewm as window manager<br />
* gpsd for talking to GPS<br />
* watchdog for making sure that I can recover from kernel crash without having to remove battery.<br />
* dates as calendar<br />
* omhacks for accessing openmoko specific hardware features<br />
<br />
=== programs for reliable GSM calls ===<br />
I do not use whole FSO frameworkd for reliability reasons involved around dbus. At present I also don't use the debian packages of frameworkd so that I can more easily test different upstream versions. NOTE: many programs here are not documented and not really ready to be packaged.<br />
<br />
Related bug reports:<br />
* [http://trac.freesmartphone.org/ticket/348 #348: provide a way to debug framework when it goes to a state where it does not respond to dbus]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796: dbus_connection_send_with_reply + usage of pending have severe timing issues]<br />
* [http://docs.openmoko.org/trac/ticket/2264 #2264: Heavy GPRS traffic causes a Calypso crash]<br />
* [http://docs.openmoko.org/trac/ticket/2291 #2291: AT+CCLK sometimes returns corrupted time]<br />
* [http://docs.openmoko.org/trac/ticket/1024 #1024: gsm modem oscillating between registrated / not-registrated]<br />
<br />
The actual software in use:<br />
<br />
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device<br />
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.<br />
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso<br />
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)<br />
* [http://iki.fi/lindi/darcs/kapula/ kapula] for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile --no-request-gsm-on-startup<br />
* [http://iki.fi/lindi/openmoko/answering-machine answering-machine] for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.<br />
* [http://iki.fi/lindi/openmoko/gsm-watchdog gsm-watchdog] for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.<br />
* [http://iki.fi/lindi/openmoko/susp a really messy suspend script] that tells ogsmd to tell Calypso to be quiet when we are in suspend.<br />
* [http://iki.fi/lindi/openmoko/dump-sms dump-sms] for reading SMS and smsl for sending then via the web page of my operator. As you can imagine I do not use SMS much.<br />
<br />
=== Useful tools ===<br />
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen<br />
* FIXME: talk about RTC clock accuracy issues<br />
<br />
= Open questions = <br />
<br />
* What is a clean way to start answering-machine on boot as normal user? I want to run it as my normal user since then call logs can be written to my home directory.<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Development =<br />
<br />
* [http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py My unofficial search to bugs.openmoko.org that does regular expressions]<br />
<br />
= Questions and answers =<br />
<br />
; On your user page you state that you only use ogsmd from frameworkd -- how do you disable the rest (are you setting loads of "disable = 1" lines in frameworkd.conf?) : I have my own /etc/init.d/ogsmd that uses start-stop-daemon to invoke "frameworkd -s ogsmd"<br />
<br />
<br />
= Deprecated stuff =<br />
<br />
== Editing wiki using mvs (BROKEN, NO TIME TO DEBUG) ==<br />
<br />
mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'<br />
emacs User:lindi.wiki<br />
mvs update User:lindi.wiki<br />
mvs commit -m "test commit" User:Lindi.wiki<br />
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki<br />
<br />
~/.emacs<br />
(setq load-path (cons "~/.elisp" load-path))<br />
<br />
(autoload 'wikipedia-mode "wikipedia-mode.el"<br />
"Major mode for editing documents in Wikipedia markup." t)<br />
<br />
(add-to-list 'auto-mode-alist<br />
'("\\.wiki\\'" . wikipedia-mode))<br />
<br />
http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el</div>Lindihttp://wiki.openmoko.org/wiki/User:LindiUser:Lindi2012-11-04T20:40:33Z<p>Lindi: Undo revision 103264 by Soff (talk)</p>
<hr />
<div>Last reviewed on: 2011-09-26<br />
<br />
This page describes how I use my phone. Feel feel to copy these ideas<br />
and suggest improvements. You can reach me at timo.lindfors@iki.fi or as lindi- on ircnet, freenode or oftc. Please consider adding Cc: to e.g. smartphones-userland@linuxtogo.org if you feel that also others might want to see your question/comment.<br />
<br />
Btw, [http://wiki.openmoko.org/wiki/User:JohnSullivan John Sullivan] and [http://wiki.openmoko.org/wiki/User:TimoJyrinki Timo Jyrinki] have similar pages.<br />
<br />
= Hardware =<br />
* gta02V7 (previously used [http://lindi.iki.fi/lindi/openmoko/buzz-fix/ buzzfixed] gta02V5)<br />
* invisible shield(tm) for the screen<br />
* 4 GB microSD card<br />
* [http://www.dealextreme.com/details.dx/sku.688 Universal USB Power Car Adapter (1000mA)]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 2400mAh]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 1000mAh]<br />
* USB gender changer for connecting USB devices to the phone without special cables<br />
* mobile USB hub<br />
* Huawei E169 USB 3G stick<br />
* multiple SIM cards from my provider. I can answer calls with both my nokia phone and openmoko but only one phone can be configured to receive SMS.<br />
* [http://www.dealextreme.com/details.dx/sku.13526 Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub], lets me charge the phone and still have the phone work as an USB host<br />
* [http://www.dealextreme.com/details.dx/sku.5859 USB to RS232 Serial Port Adapter (Transparent Green)]<br />
* [http://www.dealextreme.com/details.dx/sku.26780 USB A-Female to Mini USB 5-Pin Female Adapter], for connecting wall charger to the USB hub<br />
* openmoko debug board V3<br />
* openmoko headset, not used much since I don't want to break it and buzzfix does not work with it anyway<br />
* gta02V5 with buzzfix<br />
* gta02V7 with broken AUX button<br />
* four openmoko batteries<br />
* [http://www.dealextreme.com/details.dx/sku.2797 USB 10/100 RJ45 Ethernet Network Adapter Dongle]. Beware, this triggers a bug ([http://docs.openmoko.org/trac/ticket/2310 #2310 charging N900 with gta02 causes the gta02 to overheat]) but can be worked around if you supply power to USB bus by some other means (for example with the "Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub" mentioned above).<br />
* full-body invisible shield(tm) installed to the second phone<br />
* [http://www.dealextreme.com/details.dx/sku.3541 4-Pin 2.5mm to 3.5mm Stereo Audio Jack Convertor]<br />
* [http://www.dealextreme.com/details.dx/sku.22475 Virtual 5.1-Surround USB 2.0 External Sound Card]<br />
* [http://www.samsontech.com/products/productpage.cfm?prodID=1878 C03U - Multi-Pattern USB Studio Condenser Microphone] (only tested once, I don't own one)<br />
<br />
= Software =<br />
<br />
== Boot loader ==<br />
* qi 20100107-1 (now in debian sid!)<br />
* mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case<br />
<br />
== Kernel ==<br />
* linux-image-2.6.34-openmoko-gta02 20101212.git049b71de-2 from pkg-fso<br />
<br />
== Userland ==<br />
<br />
Generally I try to use Debian GNU/Linux unstable with as little<br />
software from other sources as possible. I'm quite conservative and<br />
try to stick to known-to-work programs (currently unsure about<br />
bleeding edge stuff like E17 window manager, vala programming language<br />
and Qi).<br />
<br />
Also note that I run my X programs as a normal user. I used to run Xorg as non-root too but that [http://lists.debian.org/debian-x/2011/02/msg01110.html|did not work very well].<br />
<br />
=== programs from debian main ===<br />
* Xorg<br />
* xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon! [http://docs.openmoko.org/trac/ticket//2294 #2294 xf86-video-glamo: stopping X can crash the whole system (not even JTAG works)])<br />
* xdm as display manager<br />
* xvkbd as virtual keyboard<br />
* xterm as terminal emulator<br />
* elinks and midori for browsing the web<br />
* ssh to connect home to IRC and use email<br />
* icewm as window manager<br />
* gpsd for talking to GPS<br />
* watchdog for making sure that I can recover from kernel crash without having to remove battery.<br />
* dates as calendar<br />
* omhacks for accessing openmoko specific hardware features<br />
<br />
=== programs for reliable GSM calls ===<br />
I do not use whole FSO frameworkd for reliability reasons involved around dbus. At present I also don't use the debian packages of frameworkd so that I can more easily test different upstream versions. NOTE: many programs here are not documented and not really ready to be packaged.<br />
<br />
Related bug reports:<br />
* [http://trac.freesmartphone.org/ticket/348 #348: provide a way to debug framework when it goes to a state where it does not respond to dbus]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796: dbus_connection_send_with_reply + usage of pending have severe timing issues]<br />
* [http://docs.openmoko.org/trac/ticket/2264 #2264: Heavy GPRS traffic causes a Calypso crash]<br />
* [http://docs.openmoko.org/trac/ticket/2291 #2291: AT+CCLK sometimes returns corrupted time]<br />
* [http://docs.openmoko.org/trac/ticket/1024 #1024: gsm modem oscillating between registrated / not-registrated]<br />
<br />
The actual software in use:<br />
<br />
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device<br />
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.<br />
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso<br />
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)<br />
* [http://iki.fi/lindi/darcs/kapula/ kapula] for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile --no-request-gsm-on-startup<br />
* [http://iki.fi/lindi/openmoko/answering-machine answering-machine] for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.<br />
* [http://iki.fi/lindi/openmoko/gsm-watchdog gsm-watchdog] for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.<br />
* [http://iki.fi/lindi/openmoko/susp a really messy suspend script] that tells ogsmd to tell Calypso to be quiet when we are in suspend.<br />
* [http://iki.fi/lindi/openmoko/dump-sms dump-sms] for reading SMS and smsl for sending then via the web page of my operator. As you can imagine I do not use SMS much.<br />
<br />
=== Useful tools ===<br />
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen<br />
* FIXME: talk about RTC clock accuracy issues<br />
<br />
= Open questions = <br />
<br />
* What is a clean way to start answering-machine on boot as normal user? I want to run it as my normal user since then call logs can be written to my home directory.<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Development =<br />
<br />
* [http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py My unofficial search to bugs.openmoko.org that does regular expressions]<br />
<br />
= Questions and answers =<br />
<br />
; On your user page you state that you only use ogsmd from frameworkd -- how do you disable the rest (are you setting loads of "disable = 1" lines in frameworkd.conf?) : I have my own /etc/init.d/ogsmd that uses start-stop-daemon to invoke "frameworkd -s ogsmd"<br />
<br />
<br />
= Deprecated stuff =<br />
<br />
== Editing wiki using mvs (BROKEN, NO TIME TO DEBUG) ==<br />
<br />
mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'<br />
emacs User:lindi.wiki<br />
mvs update User:lindi.wiki<br />
mvs commit -m "test commit" User:Lindi.wiki<br />
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki<br />
<br />
~/.emacs<br />
(setq load-path (cons "~/.elisp" load-path))<br />
<br />
(autoload 'wikipedia-mode "wikipedia-mode.el"<br />
"Major mode for editing documents in Wikipedia markup." t)<br />
<br />
(add-to-list 'auto-mode-alist<br />
'("\\.wiki\\'" . wikipedia-mode))<br />
<br />
http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.</div>Lindihttp://wiki.openmoko.org/wiki/User:LindiUser:Lindi2012-11-04T20:39:01Z<p>Lindi: Undo revision 103263 by Soff (talk)</p>
<hr />
<div>Last reviewed on: 2011-09-26<br />
<br />
This page describes how I use my phone. Feel feel to copy these ideas<br />
and suggest improvements. You can reach me at timo.lindfors@iki.fi or as lindi- on ircnet, freenode or oftc. Please consider adding Cc: to e.g. smartphones-userland@linuxtogo.org if you feel that also others might want to see your question/comment.<br />
<br />
Btw, [http://wiki.openmoko.org/wiki/User:JohnSullivan John Sullivan] and [http://wiki.openmoko.org/wiki/User:TimoJyrinki Timo Jyrinki] have similar pages.<br />
<br />
= Hardware =<br />
* gta02V7 (previously used [http://lindi.iki.fi/lindi/openmoko/buzz-fix/ buzzfixed] gta02V5)<br />
* invisible shield(tm) for the screen<br />
* 4 GB microSD card<br />
* [http://www.dealextreme.com/details.dx/sku.688 Universal USB Power Car Adapter (1000mA)]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 2400mAh]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 1000mAh]<br />
* USB gender changer for connecting USB devices to the phone without special cables<br />
* mobile USB hub<br />
* Huawei E169 USB 3G stick<br />
* multiple SIM cards from my provider. I can answer calls with both my nokia phone and openmoko but only one phone can be configured to receive SMS.<br />
* [http://www.dealextreme.com/details.dx/sku.13526 Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub], lets me charge the phone and still have the phone work as an USB host<br />
* [http://www.dealextreme.com/details.dx/sku.5859 USB to RS232 Serial Port Adapter (Transparent Green)]<br />
* [http://www.dealextreme.com/details.dx/sku.26780 USB A-Female to Mini USB 5-Pin Female Adapter], for connecting wall charger to the USB hub<br />
* openmoko debug board V3<br />
* openmoko headset, not used much since I don't want to break it and buzzfix does not work with it anyway<br />
* gta02V5 with buzzfix<br />
* gta02V7 with broken AUX button<br />
* four openmoko batteries<br />
* [http://www.dealextreme.com/details.dx/sku.2797 USB 10/100 RJ45 Ethernet Network Adapter Dongle]. Beware, this triggers a bug ([http://docs.openmoko.org/trac/ticket/2310 #2310 charging N900 with gta02 causes the gta02 to overheat]) but can be worked around if you supply power to USB bus by some other means (for example with the "Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub" mentioned above).<br />
* full-body invisible shield(tm) installed to the second phone<br />
* [http://www.dealextreme.com/details.dx/sku.3541 4-Pin 2.5mm to 3.5mm Stereo Audio Jack Convertor]<br />
* [http://www.dealextreme.com/details.dx/sku.22475 Virtual 5.1-Surround USB 2.0 External Sound Card]<br />
* [http://www.samsontech.com/products/productpage.cfm?prodID=1878 C03U - Multi-Pattern USB Studio Condenser Microphone] (only tested once, I don't own one)<br />
<br />
= Software =<br />
<br />
== Boot loader ==<br />
* qi 20100107-1 (now in debian sid!)<br />
* mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case<br />
<br />
== Kernel ==<br />
* linux-image-2.6.34-openmoko-gta02 20101212.git049b71de-2 from pkg-fso<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
== Userland ==<br />
<br />
Generally I try to use Debian GNU/Linux unstable with as little<br />
software from other sources as possible. I'm quite conservative and<br />
try to stick to known-to-work programs (currently unsure about<br />
bleeding edge stuff like E17 window manager, vala programming language<br />
and Qi).<br />
<br />
Also note that I run my X programs as a normal user. I used to run Xorg as non-root too but that [http://lists.debian.org/debian-x/2011/02/msg01110.html|did not work very well].<br />
<br />
=== programs from debian main ===<br />
* Xorg<br />
* xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon! [http://docs.openmoko.org/trac/ticket//2294 #2294 xf86-video-glamo: stopping X can crash the whole system (not even JTAG works)])<br />
* xdm as display manager<br />
* xvkbd as virtual keyboard<br />
* xterm as terminal emulator<br />
* elinks and midori for browsing the web<br />
* ssh to connect home to IRC and use email<br />
* icewm as window manager<br />
* gpsd for talking to GPS<br />
* watchdog for making sure that I can recover from kernel crash without having to remove battery.<br />
* dates as calendar<br />
* omhacks for accessing openmoko specific hardware features<br />
<br />
=== programs for reliable GSM calls ===<br />
I do not use whole FSO frameworkd for reliability reasons involved around dbus. At present I also don't use the debian packages of frameworkd so that I can more easily test different upstream versions. NOTE: many programs here are not documented and not really ready to be packaged.<br />
<br />
Related bug reports:<br />
* [http://trac.freesmartphone.org/ticket/348 #348: provide a way to debug framework when it goes to a state where it does not respond to dbus]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796: dbus_connection_send_with_reply + usage of pending have severe timing issues]<br />
* [http://docs.openmoko.org/trac/ticket/2264 #2264: Heavy GPRS traffic causes a Calypso crash]<br />
* [http://docs.openmoko.org/trac/ticket/2291 #2291: AT+CCLK sometimes returns corrupted time]<br />
* [http://docs.openmoko.org/trac/ticket/1024 #1024: gsm modem oscillating between registrated / not-registrated]<br />
<br />
The actual software in use:<br />
<br />
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device<br />
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.<br />
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso<br />
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)<br />
* [http://iki.fi/lindi/darcs/kapula/ kapula] for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile --no-request-gsm-on-startup<br />
* [http://iki.fi/lindi/openmoko/answering-machine answering-machine] for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.<br />
* [http://iki.fi/lindi/openmoko/gsm-watchdog gsm-watchdog] for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.<br />
* [http://iki.fi/lindi/openmoko/susp a really messy suspend script] that tells ogsmd to tell Calypso to be quiet when we are in suspend.<br />
* [http://iki.fi/lindi/openmoko/dump-sms dump-sms] for reading SMS and smsl for sending then via the web page of my operator. As you can imagine I do not use SMS much.<br />
<br />
=== Useful tools ===<br />
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen<br />
* FIXME: talk about RTC clock accuracy issues<br />
<br />
= Open questions = <br />
<br />
* What is a clean way to start answering-machine on boot as normal user? I want to run it as my normal user since then call logs can be written to my home directory.<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Development =<br />
<br />
* [http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py My unofficial search to bugs.openmoko.org that does regular expressions]<br />
<br />
= Questions and answers =<br />
<br />
; On your user page you state that you only use ogsmd from frameworkd -- how do you disable the rest (are you setting loads of "disable = 1" lines in frameworkd.conf?) : I have my own /etc/init.d/ogsmd that uses start-stop-daemon to invoke "frameworkd -s ogsmd"<br />
<br />
<br />
= Deprecated stuff =<br />
<br />
== Editing wiki using mvs (BROKEN, NO TIME TO DEBUG) ==<br />
<br />
mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'<br />
emacs User:lindi.wiki<br />
mvs update User:lindi.wiki<br />
mvs commit -m "test commit" User:Lindi.wiki<br />
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki<br />
<br />
~/.emacs<br />
(setq load-path (cons "~/.elisp" load-path))<br />
<br />
(autoload 'wikipedia-mode "wikipedia-mode.el"<br />
"Major mode for editing documents in Wikipedia markup." t)<br />
<br />
(add-to-list 'auto-mode-alist<br />
'("\\.wiki\\'" . wikipedia-mode))<br />
<br />
http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.</div>Lindihttp://wiki.openmoko.org/wiki/User:LindiUser:Lindi2012-11-04T20:37:20Z<p>Lindi: Undo revision 103262 by Soff (talk)</p>
<hr />
<div>Last reviewed on: 2011-09-26<br />
<br />
This page describes how I use my phone. Feel feel to copy these ideas<br />
and suggest improvements. You can reach me at timo.lindfors@iki.fi or as lindi- on ircnet, freenode or oftc. Please consider adding Cc: to e.g. smartphones-userland@linuxtogo.org if you feel that also others might want to see your question/comment.<br />
<br />
Btw, [http://wiki.openmoko.org/wiki/User:JohnSullivan John Sullivan] and [http://wiki.openmoko.org/wiki/User:TimoJyrinki Timo Jyrinki] have similar pages.<br />
<br />
= Hardware =<br />
* gta02V7 (previously used [http://lindi.iki.fi/lindi/openmoko/buzz-fix/ buzzfixed] gta02V5)<br />
* invisible shield(tm) for the screen<br />
* 4 GB microSD card<br />
* [http://www.dealextreme.com/details.dx/sku.688 Universal USB Power Car Adapter (1000mA)]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 2400mAh]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 1000mAh]<br />
* USB gender changer for connecting USB devices to the phone without special cables<br />
* mobile USB hub<br />
* Huawei E169 USB 3G stick<br />
* multiple SIM cards from my provider. I can answer calls with both my nokia phone and openmoko but only one phone can be configured to receive SMS.<br />
* [http://www.dealextreme.com/details.dx/sku.13526 Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub], lets me charge the phone and still have the phone work as an USB host<br />
* [http://www.dealextreme.com/details.dx/sku.5859 USB to RS232 Serial Port Adapter (Transparent Green)]<br />
* [http://www.dealextreme.com/details.dx/sku.26780 USB A-Female to Mini USB 5-Pin Female Adapter], for connecting wall charger to the USB hub<br />
* openmoko debug board V3<br />
* openmoko headset, not used much since I don't want to break it and buzzfix does not work with it anyway<br />
* gta02V5 with buzzfix<br />
* gta02V7 with broken AUX button<br />
* four openmoko batteries<br />
* [http://www.dealextreme.com/details.dx/sku.2797 USB 10/100 RJ45 Ethernet Network Adapter Dongle]. Beware, this triggers a bug ([http://docs.openmoko.org/trac/ticket/2310 #2310 charging N900 with gta02 causes the gta02 to overheat]) but can be worked around if you supply power to USB bus by some other means (for example with the "Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub" mentioned above).<br />
* full-body invisible shield(tm) installed to the second phone<br />
* [http://www.dealextreme.com/details.dx/sku.3541 4-Pin 2.5mm to 3.5mm Stereo Audio Jack Convertor]<br />
* [http://www.dealextreme.com/details.dx/sku.22475 Virtual 5.1-Surround USB 2.0 External Sound Card]<br />
* [http://www.samsontech.com/products/productpage.cfm?prodID=1878 C03U - Multi-Pattern USB Studio Condenser Microphone] (only tested once, I don't own one)<br />
<br />
= Software =<br />
<br />
== Boot loader ==<br />
* qi 20100107-1 (now in debian sid!)<br />
* mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case<br />
<br />
== Kernel ==<br />
* linux-image-2.6.34-openmoko-gta02 20101212.git049b71de-2 from pkg-fso<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
== Userland ==<br />
<br />
Generally I try to use Debian GNU/Linux unstable with as little<br />
software from other sources as possible. I'm quite conservative and<br />
try to stick to known-to-work programs (currently unsure about<br />
bleeding edge stuff like E17 window manager, vala programming language<br />
and Qi).<br />
<br />
Also note that I run my X programs as a normal user. I used to run Xorg as non-root too but that [http://lists.debian.org/debian-x/2011/02/msg01110.html|did not work very well].<br />
<br />
=== programs from debian main ===<br />
* Xorg<br />
* xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon! [http://docs.openmoko.org/trac/ticket//2294 #2294 xf86-video-glamo: stopping X can crash the whole system (not even JTAG works)])<br />
* xdm as display manager<br />
* xvkbd as virtual keyboard<br />
* xterm as terminal emulator<br />
* elinks and midori for browsing the web<br />
* ssh to connect home to IRC and use email<br />
* icewm as window manager<br />
* gpsd for talking to GPS<br />
* watchdog for making sure that I can recover from kernel crash without having to remove battery.<br />
* dates as calendar<br />
* omhacks for accessing openmoko specific hardware features<br />
<br />
=== programs for reliable GSM calls ===<br />
I do not use whole FSO frameworkd for reliability reasons involved around dbus. At present I also don't use the debian packages of frameworkd so that I can more easily test different upstream versions. NOTE: many programs here are not documented and not really ready to be packaged.<br />
<br />
Related bug reports:<br />
* [http://trac.freesmartphone.org/ticket/348 #348: provide a way to debug framework when it goes to a state where it does not respond to dbus]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796: dbus_connection_send_with_reply + usage of pending have severe timing issues]<br />
* [http://docs.openmoko.org/trac/ticket/2264 #2264: Heavy GPRS traffic causes a Calypso crash]<br />
* [http://docs.openmoko.org/trac/ticket/2291 #2291: AT+CCLK sometimes returns corrupted time]<br />
* [http://docs.openmoko.org/trac/ticket/1024 #1024: gsm modem oscillating between registrated / not-registrated]<br />
<br />
The actual software in use:<br />
<br />
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device<br />
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.<br />
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso<br />
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)<br />
* [http://iki.fi/lindi/darcs/kapula/ kapula] for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile --no-request-gsm-on-startup<br />
* [http://iki.fi/lindi/openmoko/answering-machine answering-machine] for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.<br />
* [http://iki.fi/lindi/openmoko/gsm-watchdog gsm-watchdog] for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.<br />
* [http://iki.fi/lindi/openmoko/susp a really messy suspend script] that tells ogsmd to tell Calypso to be quiet when we are in suspend.<br />
* [http://iki.fi/lindi/openmoko/dump-sms dump-sms] for reading SMS and smsl for sending then via the web page of my operator. As you can imagine I do not use SMS much.<br />
<br />
=== Useful tools ===<br />
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen<br />
* FIXME: talk about RTC clock accuracy issues<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Open questions = <br />
<br />
* What is a clean way to start answering-machine on boot as normal user? I want to run it as my normal user since then call logs can be written to my home directory.<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Development =<br />
<br />
* [http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py My unofficial search to bugs.openmoko.org that does regular expressions]<br />
<br />
= Questions and answers =<br />
<br />
; On your user page you state that you only use ogsmd from frameworkd -- how do you disable the rest (are you setting loads of "disable = 1" lines in frameworkd.conf?) : I have my own /etc/init.d/ogsmd that uses start-stop-daemon to invoke "frameworkd -s ogsmd"<br />
<br />
<br />
= Deprecated stuff =<br />
<br />
== Editing wiki using mvs (BROKEN, NO TIME TO DEBUG) ==<br />
<br />
mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'<br />
emacs User:lindi.wiki<br />
mvs update User:lindi.wiki<br />
mvs commit -m "test commit" User:Lindi.wiki<br />
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki<br />
<br />
~/.emacs<br />
(setq load-path (cons "~/.elisp" load-path))<br />
<br />
(autoload 'wikipedia-mode "wikipedia-mode.el"<br />
"Major mode for editing documents in Wikipedia markup." t)<br />
<br />
(add-to-list 'auto-mode-alist<br />
'("\\.wiki\\'" . wikipedia-mode))<br />
<br />
http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.</div>Lindihttp://wiki.openmoko.org/wiki/User:LindiUser:Lindi2012-11-04T20:36:00Z<p>Lindi: Undo revision 103261 by Soff (talk)</p>
<hr />
<div>Last reviewed on: 2011-09-26<br />
<br />
This page describes how I use my phone. Feel feel to copy these ideas<br />
and suggest improvements. You can reach me at timo.lindfors@iki.fi or as lindi- on ircnet, freenode or oftc. Please consider adding Cc: to e.g. smartphones-userland@linuxtogo.org if you feel that also others might want to see your question/comment.<br />
<br />
Btw, [http://wiki.openmoko.org/wiki/User:JohnSullivan John Sullivan] and [http://wiki.openmoko.org/wiki/User:TimoJyrinki Timo Jyrinki] have similar pages.<br />
<br />
= Hardware =<br />
* gta02V7 (previously used [http://lindi.iki.fi/lindi/openmoko/buzz-fix/ buzzfixed] gta02V5)<br />
* invisible shield(tm) for the screen<br />
* 4 GB microSD card<br />
* [http://www.dealextreme.com/details.dx/sku.688 Universal USB Power Car Adapter (1000mA)]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 2400mAh]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 1000mAh]<br />
* USB gender changer for connecting USB devices to the phone without special cables<br />
* mobile USB hub<br />
* Huawei E169 USB 3G stick<br />
* multiple SIM cards from my provider. I can answer calls with both my nokia phone and openmoko but only one phone can be configured to receive SMS.<br />
* [http://www.dealextreme.com/details.dx/sku.13526 Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub], lets me charge the phone and still have the phone work as an USB host<br />
* [http://www.dealextreme.com/details.dx/sku.5859 USB to RS232 Serial Port Adapter (Transparent Green)]<br />
* [http://www.dealextreme.com/details.dx/sku.26780 USB A-Female to Mini USB 5-Pin Female Adapter], for connecting wall charger to the USB hub<br />
* openmoko debug board V3<br />
* openmoko headset, not used much since I don't want to break it and buzzfix does not work with it anyway<br />
* gta02V5 with buzzfix<br />
* gta02V7 with broken AUX button<br />
* four openmoko batteries<br />
* [http://www.dealextreme.com/details.dx/sku.2797 USB 10/100 RJ45 Ethernet Network Adapter Dongle]. Beware, this triggers a bug ([http://docs.openmoko.org/trac/ticket/2310 #2310 charging N900 with gta02 causes the gta02 to overheat]) but can be worked around if you supply power to USB bus by some other means (for example with the "Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub" mentioned above).<br />
* full-body invisible shield(tm) installed to the second phone<br />
* [http://www.dealextreme.com/details.dx/sku.3541 4-Pin 2.5mm to 3.5mm Stereo Audio Jack Convertor]<br />
* [http://www.dealextreme.com/details.dx/sku.22475 Virtual 5.1-Surround USB 2.0 External Sound Card]<br />
* [http://www.samsontech.com/products/productpage.cfm?prodID=1878 C03U - Multi-Pattern USB Studio Condenser Microphone] (only tested once, I don't own one)<br />
<br />
= Software =<br />
<br />
== Boot loader ==<br />
* qi 20100107-1 (now in debian sid!)<br />
* mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case<br />
<br />
== Kernel ==<br />
* linux-image-2.6.34-openmoko-gta02 20101212.git049b71de-2 from pkg-fso<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
== Userland ==<br />
<br />
Generally I try to use Debian GNU/Linux unstable with as little<br />
software from other sources as possible. I'm quite conservative and<br />
try to stick to known-to-work programs (currently unsure about<br />
bleeding edge stuff like E17 window manager, vala programming language<br />
and Qi).<br />
<br />
Also note that I run my X programs as a normal user. I used to run Xorg as non-root too but that [http://lists.debian.org/debian-x/2011/02/msg01110.html|did not work very well].<br />
<br />
=== programs from debian main ===<br />
* Xorg<br />
* xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon! [http://docs.openmoko.org/trac/ticket//2294 #2294 xf86-video-glamo: stopping X can crash the whole system (not even JTAG works)])<br />
* xdm as display manager<br />
* xvkbd as virtual keyboard<br />
* xterm as terminal emulator<br />
* elinks and midori for browsing the web<br />
* ssh to connect home to IRC and use email<br />
* icewm as window manager<br />
* gpsd for talking to GPS<br />
* watchdog for making sure that I can recover from kernel crash without having to remove battery.<br />
* dates as calendar<br />
* omhacks for accessing openmoko specific hardware features<br />
<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
=== programs for reliable GSM calls ===<br />
I do not use whole FSO frameworkd for reliability reasons involved around dbus. At present I also don't use the debian packages of frameworkd so that I can more easily test different upstream versions. NOTE: many programs here are not documented and not really ready to be packaged.<br />
<br />
Related bug reports:<br />
* [http://trac.freesmartphone.org/ticket/348 #348: provide a way to debug framework when it goes to a state where it does not respond to dbus]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796: dbus_connection_send_with_reply + usage of pending have severe timing issues]<br />
* [http://docs.openmoko.org/trac/ticket/2264 #2264: Heavy GPRS traffic causes a Calypso crash]<br />
* [http://docs.openmoko.org/trac/ticket/2291 #2291: AT+CCLK sometimes returns corrupted time]<br />
* [http://docs.openmoko.org/trac/ticket/1024 #1024: gsm modem oscillating between registrated / not-registrated]<br />
<br />
The actual software in use:<br />
<br />
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device<br />
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.<br />
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso<br />
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)<br />
* [http://iki.fi/lindi/darcs/kapula/ kapula] for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile --no-request-gsm-on-startup<br />
* [http://iki.fi/lindi/openmoko/answering-machine answering-machine] for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.<br />
* [http://iki.fi/lindi/openmoko/gsm-watchdog gsm-watchdog] for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.<br />
* [http://iki.fi/lindi/openmoko/susp a really messy suspend script] that tells ogsmd to tell Calypso to be quiet when we are in suspend.<br />
* [http://iki.fi/lindi/openmoko/dump-sms dump-sms] for reading SMS and smsl for sending then via the web page of my operator. As you can imagine I do not use SMS much.<br />
<br />
=== Useful tools ===<br />
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen<br />
* FIXME: talk about RTC clock accuracy issues<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Open questions = <br />
<br />
* What is a clean way to start answering-machine on boot as normal user? I want to run it as my normal user since then call logs can be written to my home directory.<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Development =<br />
<br />
* [http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py My unofficial search to bugs.openmoko.org that does regular expressions]<br />
<br />
= Questions and answers =<br />
<br />
; On your user page you state that you only use ogsmd from frameworkd -- how do you disable the rest (are you setting loads of "disable = 1" lines in frameworkd.conf?) : I have my own /etc/init.d/ogsmd that uses start-stop-daemon to invoke "frameworkd -s ogsmd"<br />
<br />
<br />
= Deprecated stuff =<br />
<br />
== Editing wiki using mvs (BROKEN, NO TIME TO DEBUG) ==<br />
<br />
mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'<br />
emacs User:lindi.wiki<br />
mvs update User:lindi.wiki<br />
mvs commit -m "test commit" User:Lindi.wiki<br />
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki<br />
<br />
~/.emacs<br />
(setq load-path (cons "~/.elisp" load-path))<br />
<br />
(autoload 'wikipedia-mode "wikipedia-mode.el"<br />
"Major mode for editing documents in Wikipedia markup." t)<br />
<br />
(add-to-list 'auto-mode-alist<br />
'("\\.wiki\\'" . wikipedia-mode))<br />
<br />
http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.</div>Lindihttp://wiki.openmoko.org/wiki/User:LindiUser:Lindi2012-11-04T20:34:52Z<p>Lindi: Undo revision 103260 by Soff (talk)</p>
<hr />
<div>Last reviewed on: 2011-09-26<br />
<br />
This page describes how I use my phone. Feel feel to copy these ideas<br />
and suggest improvements. You can reach me at timo.lindfors@iki.fi or as lindi- on ircnet, freenode or oftc. Please consider adding Cc: to e.g. smartphones-userland@linuxtogo.org if you feel that also others might want to see your question/comment.<br />
<br />
Btw, [http://wiki.openmoko.org/wiki/User:JohnSullivan John Sullivan] and [http://wiki.openmoko.org/wiki/User:TimoJyrinki Timo Jyrinki] have similar pages.<br />
<br />
= Hardware =<br />
* gta02V7 (previously used [http://lindi.iki.fi/lindi/openmoko/buzz-fix/ buzzfixed] gta02V5)<br />
* invisible shield(tm) for the screen<br />
* 4 GB microSD card<br />
* [http://www.dealextreme.com/details.dx/sku.688 Universal USB Power Car Adapter (1000mA)]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 2400mAh]<br />
* [http://www.dealextreme.com/details.dx/sku.3060 Rechargeable USB Emergency Power Backup Pack 1000mAh]<br />
* USB gender changer for connecting USB devices to the phone without special cables<br />
* mobile USB hub<br />
* Huawei E169 USB 3G stick<br />
* multiple SIM cards from my provider. I can answer calls with both my nokia phone and openmoko but only one phone can be configured to receive SMS.<br />
* [http://www.dealextreme.com/details.dx/sku.13526 Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub], lets me charge the phone and still have the phone work as an USB host<br />
* [http://www.dealextreme.com/details.dx/sku.5859 USB to RS232 Serial Port Adapter (Transparent Green)]<br />
* [http://www.dealextreme.com/details.dx/sku.26780 USB A-Female to Mini USB 5-Pin Female Adapter], for connecting wall charger to the USB hub<br />
* openmoko debug board V3<br />
* openmoko headset, not used much since I don't want to break it and buzzfix does not work with it anyway<br />
* gta02V5 with buzzfix<br />
* gta02V7 with broken AUX button<br />
* four openmoko batteries<br />
* [http://www.dealextreme.com/details.dx/sku.2797 USB 10/100 RJ45 Ethernet Network Adapter Dongle]. Beware, this triggers a bug ([http://docs.openmoko.org/trac/ticket/2310 #2310 charging N900 with gta02 causes the gta02 to overheat]) but can be worked around if you supply power to USB bus by some other means (for example with the "Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub" mentioned above).<br />
* full-body invisible shield(tm) installed to the second phone<br />
* [http://www.dealextreme.com/details.dx/sku.3541 4-Pin 2.5mm to 3.5mm Stereo Audio Jack Convertor]<br />
* [http://www.dealextreme.com/details.dx/sku.22475 Virtual 5.1-Surround USB 2.0 External Sound Card]<br />
* [http://www.samsontech.com/products/productpage.cfm?prodID=1878 C03U - Multi-Pattern USB Studio Condenser Microphone] (only tested once, I don't own one)<br />
<br />
= Software =<br />
<br />
== Boot loader ==<br />
* qi 20100107-1 (now in debian sid!)<br />
* mmcblk0p1 and mmcblk0p2 both have /boot so that I can have a fallback kernel with Qi just in case<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
== Kernel ==<br />
* linux-image-2.6.34-openmoko-gta02 20101212.git049b71de-2 from pkg-fso<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
== Userland ==<br />
<br />
Generally I try to use Debian GNU/Linux unstable with as little<br />
software from other sources as possible. I'm quite conservative and<br />
try to stick to known-to-work programs (currently unsure about<br />
bleeding edge stuff like E17 window manager, vala programming language<br />
and Qi).<br />
<br />
Also note that I run my X programs as a normal user. I used to run Xorg as non-root too but that [http://lists.debian.org/debian-x/2011/02/msg01110.html|did not work very well].<br />
<br />
=== programs from debian main ===<br />
* Xorg<br />
* xserver-xorg-video-fbdev for reliable graphics output (xserver-xorg-video-glamo will hopefully replace this soon! [http://docs.openmoko.org/trac/ticket//2294 #2294 xf86-video-glamo: stopping X can crash the whole system (not even JTAG works)])<br />
* xdm as display manager<br />
* xvkbd as virtual keyboard<br />
* xterm as terminal emulator<br />
* elinks and midori for browsing the web<br />
* ssh to connect home to IRC and use email<br />
* icewm as window manager<br />
* gpsd for talking to GPS<br />
* watchdog for making sure that I can recover from kernel crash without having to remove battery.<br />
* dates as calendar<br />
* omhacks for accessing openmoko specific hardware features<br />
<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
=== programs for reliable GSM calls ===<br />
I do not use whole FSO frameworkd for reliability reasons involved around dbus. At present I also don't use the debian packages of frameworkd so that I can more easily test different upstream versions. NOTE: many programs here are not documented and not really ready to be packaged.<br />
<br />
Related bug reports:<br />
* [http://trac.freesmartphone.org/ticket/348 #348: provide a way to debug framework when it goes to a state where it does not respond to dbus]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=19796 #19796: dbus_connection_send_with_reply + usage of pending have severe timing issues]<br />
* [http://docs.openmoko.org/trac/ticket/2264 #2264: Heavy GPRS traffic causes a Calypso crash]<br />
* [http://docs.openmoko.org/trac/ticket/2291 #2291: AT+CCLK sometimes returns corrupted time]<br />
* [http://docs.openmoko.org/trac/ticket/1024 #1024: gsm modem oscillating between registrated / not-registrated]<br />
<br />
The actual software in use:<br />
<br />
* gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1 firmware for the Calypso GSM device<br />
* [http://iki.fi/lindi/openmoko/gsmhandset-lindi.state gsmhandset-lindi.state] for configuring ALSA for calls.<br />
* gsm0710muxd abcbcd7cc532a8834906de3fc24c8f8fe7643cd4 for multiplexing data to Calypso<br />
* ogsmd module of frameworkd e6c36e917cc75809f60fa587b68bbf6be0c5bf58 for actually talking to Calypso (Note that I am not using other modules of frameworkd for reliability reasons)<br />
* [http://iki.fi/lindi/darcs/kapula/ kapula] for making calls. I start it with options --popup-sms --no-oeventsd --no-ousaged --logfile --no-request-gsm-on-startup<br />
* [http://iki.fi/lindi/openmoko/answering-machine answering-machine] for receiving calls and playing the ringtone. This lets me answer calls with AUX button even if X is dead.<br />
* [http://iki.fi/lindi/openmoko/gsm-watchdog gsm-watchdog] for periodically checking that everything works and forcibly restarting gsm0710muxd, ogsmd and answering-machine if something is wrong.<br />
* [http://iki.fi/lindi/openmoko/susp a really messy suspend script] that tells ogsmd to tell Calypso to be quiet when we are in suspend.<br />
* [http://iki.fi/lindi/openmoko/dump-sms dump-sms] for reading SMS and smsl for sending then via the web page of my operator. As you can imagine I do not use SMS much.<br />
<br />
=== Useful tools ===<br />
* [http://iki.fi/lindi/openmoko/touchscreen-lock.c touchscreen-lock] for locking the screen<br />
* FIXME: talk about RTC clock accuracy issues<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Open questions = <br />
<br />
* What is a clean way to start answering-machine on boot as normal user? I want to run it as my normal user since then call logs can be written to my home directory.<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.<br />
<br />
= Development =<br />
<br />
* [http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py My unofficial search to bugs.openmoko.org that does regular expressions]<br />
<br />
= Questions and answers =<br />
<br />
; On your user page you state that you only use ogsmd from frameworkd -- how do you disable the rest (are you setting loads of "disable = 1" lines in frameworkd.conf?) : I have my own /etc/init.d/ogsmd that uses start-stop-daemon to invoke "frameworkd -s ogsmd"<br />
<br />
<br />
= Deprecated stuff =<br />
<br />
== Editing wiki using mvs (BROKEN, NO TIME TO DEBUG) ==<br />
<br />
mvs login -v -d wiki.openmoko.org -u lindi -p `cat ~/.passwd/osm-wiki` -w 'index.php'<br />
emacs User:lindi.wiki<br />
mvs update User:lindi.wiki<br />
mvs commit -m "test commit" User:Lindi.wiki<br />
MVS_BROWSER=dillo mvs preview -m "test commit" User:Lindi.wiki<br />
<br />
~/.emacs<br />
(setq load-path (cons "~/.elisp" load-path))<br />
<br />
(autoload 'wikipedia-mode "wikipedia-mode.el"<br />
"Major mode for editing documents in Wikipedia markup." t)<br />
<br />
(add-to-list 'auto-mode-alist<br />
'("\\.wiki\\'" . wikipedia-mode))<br />
<br />
http://www.emacswiki.org/cgi-bin/wiki/download/wikipedia-mode.el<br />
I found <a href=http://www.buyincoins.com>a nice site, where can buy good products, buyincoins</a>- a professional electronics online website, <a href=http://www.buyincoins.com>what let you buy from China directly </a>without any shipping fee. There are Computer Accessories, iPod, iPhone Accessories, HDMI Video Cable, Laser Pointer, Card Reader, Headphone, Silicone Case and more Cool Gadgets.</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2012-01-25T09:14:27Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
Seems to be at least partially upstream since v3.2-rc1: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8a8ab2e64e09b56dc1324fd2f7da12346166cad1<br />
<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand.<br />
lindi: Lars tried to upstream but it was rejected:<br />
> Lars-Peter Clausen <lars@metafoo.de> writes:<br />
>> Not quite. I had for example a 5 liner rejected by a maintainer saying he can't<br />
>> accept any code which adds new platform code to ARM.<br />
lindi: however that appears to have been a misunderstanding and this can be resent<br />
<br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
lindi: http://osdevnotes.blogspot.com/2011/10/fiq-debugger-redux.html mentions that google has something similar for their FIQ debugger.<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
lindi: gcc seems to inline a lot and use a lot of stack here: ioctl.c:2531: warning: the frame size of 1888 bytes is larger than 1024 bytes<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
lindi: seems to be upstream already in 3.0.0 as 3d62b8f59bb8bd08d8e3df3ab3174aab2971d6e6<br />
<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
lindi: pcf50633-gpio.c:197: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_<br />
<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478<br />
<br />
[[Category:Kernel]]</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-12-03T16:04:32Z<p>Lindi: /* ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types. */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
Seems to be at least partially upstream since v3.2-rc1: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8a8ab2e64e09b56dc1324fd2f7da12346166cad1<br />
<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand.<br />
lindi: Lars tried to upstream but it was rejected:<br />
> Lars-Peter Clausen <lars@metafoo.de> writes:<br />
>> Not quite. I had for example a 5 liner rejected by a maintainer saying he can't<br />
>> accept any code which adds new platform code to ARM.<br />
lindi: however that appears to have been a misunderstanding and this can be resent<br />
<br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
lindi: gcc seems to inline a lot and use a lot of stack here: ioctl.c:2531: warning: the frame size of 1888 bytes is larger than 1024 bytes<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
lindi: seems to be upstream already in 3.0.0 as 3d62b8f59bb8bd08d8e3df3ab3174aab2971d6e6<br />
<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
lindi: pcf50633-gpio.c:197: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_<br />
<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478<br />
<br />
[[Category:Kernel]]</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-12-03T16:03:33Z<p>Lindi: Undo revision 88861 by GNUtoo (Talk)</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand.<br />
lindi: Lars tried to upstream but it was rejected:<br />
> Lars-Peter Clausen <lars@metafoo.de> writes:<br />
>> Not quite. I had for example a 5 liner rejected by a maintainer saying he can't<br />
>> accept any code which adds new platform code to ARM.<br />
lindi: however that appears to have been a misunderstanding and this can be resent<br />
<br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
lindi: gcc seems to inline a lot and use a lot of stack here: ioctl.c:2531: warning: the frame size of 1888 bytes is larger than 1024 bytes<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
lindi: seems to be upstream already in 3.0.0 as 3d62b8f59bb8bd08d8e3df3ab3174aab2971d6e6<br />
<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
lindi: pcf50633-gpio.c:197: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_<br />
<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478<br />
<br />
[[Category:Kernel]]</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-22T00:25:24Z<p>Lindi: /* mtd: s3c2410_nand: Add config option to disable hw ecc at runtime */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand.<br />
lindi: Lars tried to upstream but it was rejected:<br />
> Lars-Peter Clausen <lars@metafoo.de> writes:<br />
>> Not quite. I had for example a 5 liner rejected by a maintainer saying he can't<br />
>> accept any code which adds new platform code to ARM.<br />
lindi: however that appears to have been a misunderstanding and this can be resent<br />
<br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
lindi: gcc seems to inline a lot and use a lot of stack here: ioctl.c:2531: warning: the frame size of 1888 bytes is larger than 1024 bytes<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
lindi: seems to be upstream already in 3.0.0 as 3d62b8f59bb8bd08d8e3df3ab3174aab2971d6e6<br />
<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
lindi: pcf50633-gpio.c:197: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_<br />
<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-19T19:29:44Z<p>Lindi: /* RTC: PCF50633: Don't request update IRQ */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand.<br />
> Lars-Peter Clausen <lars@metafoo.de> writes:<br />
>> Not quite. I had for example a 5 liner rejected by a maintainer saying he can't<br />
>> accept any code which adds new platform code to ARM.<br />
<br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
lindi: gcc seems to inline a lot and use a lot of stack here: ioctl.c:2531: warning: the frame size of 1888 bytes is larger than 1024 bytes<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
lindi: seems to be upstream already in 3.0.0 as 3d62b8f59bb8bd08d8e3df3ab3174aab2971d6e6<br />
<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
lindi: pcf50633-gpio.c:197: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_<br />
<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-19T19:14:45Z<p>Lindi: /* mtd: s3c2410_nand: Add config option to disable hw ecc at runtime */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand.<br />
> Lars-Peter Clausen <lars@metafoo.de> writes:<br />
>> Not quite. I had for example a 5 liner rejected by a maintainer saying he can't<br />
>> accept any code which adds new platform code to ARM.<br />
<br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
lindi: gcc seems to inline a lot and use a lot of stack here: ioctl.c:2531: warning: the frame size of 1888 bytes is larger than 1024 bytes<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
lindi: pcf50633-gpio.c:197: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_<br />
<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-19T14:30:36Z<p>Lindi: /* pcf50633-gpio: Add gpiolib support. */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
lindi: gcc seems to inline a lot and use a lot of stack here: ioctl.c:2531: warning: the frame size of 1888 bytes is larger than 1024 bytes<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
lindi: pcf50633-gpio.c:197: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_<br />
<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-19T14:28:32Z<p>Lindi: /* Add ar6000 wireless driver. */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
lindi: gcc seems to inline a lot and use a lot of stack here: ioctl.c:2531: warning: the frame size of 1888 bytes is larger than 1024 bytes<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-19T14:25:53Z<p>Lindi: /* gta02: Add battery driver */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
lindi: mach-gta02.c:595: warning: ‘gta02_get_charger_online_status’ defined but not used<br />
<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-18T16:40:18Z<p>Lindi: /* tslib relies on ts pressures events so this hack is needed to get tslib stuff working */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
Heiko Stübner <heiko@sntech.de>: <br />
As I'm currently also working on a touchscreen driver I came upon a lot of<br />
discussion and documentation about the handling of pressure values.<br />
In the end a driver should not use the pressure property at all if it can't<br />
provide meaningfull pressure data (i.e. more than 0 and 1) and tslib should be<br />
"long fixed", if one does not use an ancient version.<br />
<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-18T00:01:59Z<p>Lindi: /* ARM: gta02: Add LED support */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
lindi: there's a lot of extra whitespace changes, probably because the patch has been rebased many times?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-18T00:01:23Z<p>Lindi: /* ARM: gta02: Add LED support */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
lindi: could this be the next candidate for upstreaming? Is there anything controversial here? has somebody already tried to upstream this?<br />
<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-17T17:04:00Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
lindi: ACCEPTED UPSTREAM: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046059.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-17T01:35:09Z<p>Lindi: /* Fix high power consumption in suspend */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
lindi: gena2x, this needs a better commit message<br />
<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-17T00:56:26Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi: sent upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2011-November/046036.html<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T16:40:26Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi-_> gena2x_ptr: "return 1" is a bug in that patch, it needs to be "return 0"<br />
lindi-_> gena2x_ptr: easy to see<br />
lindi-_> gena2x_ptr: strace alsamixer<br />
lindi-_> gena2x_ptr: then while true; do alsactl restore -f somestate; done<br />
lindi-_> gena2x_ptr: alsamixer gets spammed by bogus DAI change events<br />
lindi-_> gena2x_ptr: no other alsa control sends notifications ion this test<br />
lindi/TODO: rebase on top of dev branch of git://opensource.wolfsonmicro.com/linux-2.6-asoc<br />
lindi/TODO: git send-email to http://mailman.alsa-project.org/mailman/listinfo/alsa-devel<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T16:09:15Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
gena2x: This is not original name for patch! And not true. I do not know why radek maned it with this way, but actually it JUST fixes WSOD with all kind of timings. Please rename it.<br />
<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
gena2x: it slows down pixclock to read jitterless data. it does that while blank so screen has no artefacts. may be it is possible to do that while blank without slowing pixclock, even that we have no VSYNC-like interrupt we should be able to calculate exact time of VSYNC because pixclock is constant and we always know current position. But this doesn't solve only major concern of this patch - it introduces link (via callbacks) between glamo and ts.<br />
<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi: this seems to be called from snd_ctl_elem_write. If we return 1 then it calls snd_ctl_notify, what does this mean?<br />
lindi/TODO: rebase on top of dev branch of git://opensource.wolfsonmicro.com/linux-2.6-asoc<br />
lindi/TODO: git send-email to http://mailman.alsa-project.org/mailman/listinfo/alsa-devel<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T12:35:42Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi: why does this return 1?<br />
lindi/TODO: rebase on top of dev branch of git://opensource.wolfsonmicro.com/linux-2.6-asoc<br />
lindi/TODO: git send-email to http://mailman.alsa-project.org/mailman/listinfo/alsa-devel<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T12:34:20Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix? tlv320dac33.c seems to have a similar if (dac33->fifo_mode == ucontrol->value.integer.value[0]) return 0;<br />
lindi/TODO: rebase on top of dev branch of git://opensource.wolfsonmicro.com/linux-2.6-asoc<br />
lindi/TODO: git send-email to http://mailman.alsa-project.org/mailman/listinfo/alsa-devel<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T12:28:50Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi: is there some other driver that needs a similar fix?<br />
lindi/TODO: rebase on top of dev branch of git://opensource.wolfsonmicro.com/linux-2.6-asoc<br />
lindi/TODO: git send-email to http://mailman.alsa-project.org/mailman/listinfo/alsa-devel<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T12:19:47Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
lindi/TODO: rebase on top of dev branch of git://opensource.wolfsonmicro.com/linux-2.6-asoc<br />
lindi/TODO: git send-email to http://mailman.alsa-project.org/mailman/listinfo/alsa-devel<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T12:18:03Z<p>Lindi: /* wm8753: allow setting DAI mode even while pcm is active */</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline. This basically fixes a bug introduced in 338ee25393a5627e8ded5819147f98b919656ce9 that was mainlined to 2.6.39<br />
<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T12:02:51Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally don't really like this much however this should be easy to upstream.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple. this should be a good candidate for upstreaming first?<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T11:49:05Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. <br />
lindi: it seems this was broken in 2.6.36 and fixed again in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T11:47:20Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. this has been fixed in 3.0.0 but differently: 26d9be11485ea8c1102c3e8eaa7667412eef4950<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T11:44:03Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. this looks like a good candidate to upstream first!<br />
lindi: Seems this has been fixed upstream in 26d9be11485ea8c1102c3e8eaa7667412eef4950 in a different way. is this patch still needed?<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T09:33:21Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial. this looks like a good candidate to upstream first!<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-16T09:30:57Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial. why does AR6003 define this in drivers/net/wireless/ath/ath6kl/hif.h and not this common file?<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
<br />
From #ath6kl on freenode:<br />
<pabs3> kvalo: does ath6kl support AR6001/AR6002?<br />
<kvalo> pabs3: no<br />
<pabs3> kvalo: do you think it is feasible to add support for them, or are they completely different?<br />
<kvalo> pabs3: I haven't even seen either of them so I'm not qualified to answer :)<br />
<pabs3> ok<br />
<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T16:19:40Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple. is this the right API to use? could we abuse rfkill? what do the androids/n900/N9 use?<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T13:24:39Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
Paul: upstream has a different driver for the hardware: http://lwn.net/Articles/304326/<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
Paul: hm, worth investigating more: is not returning pressure at all a valid thing to do for a TS driver?<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T13:08:49Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers. Rumor says that upstream has a different driver for the same chip but is very bad :-)<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready. See http://docs.openmoko.org/trac/ticket/2478</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T13:04:52Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers. Rumor says that upstream has a different driver for the same chip but is very bad :-)<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready.</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T13:04:09Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. hack: read ts during vblank?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready.</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T13:03:07Z<p>Lindi: link directly to raw patch to avoid requirement for gitorious javascript</p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2?format=patch <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5?format=patch <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72?format=patch <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007?format=patch <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71?format=patch <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50?format=patch <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e?format=patch <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316?format=patch <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59?format=patch <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7?format=patch <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27?format=patch <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55?format=patch <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309?format=patch <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e?format=patch <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49?format=patch <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036?format=patch <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859?format=patch <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51?format=patch <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662?format=patch <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf?format=patch <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f?format=patch <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0?format=patch <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e?format=patch <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129?format=patch <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9?format=patch <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1?format=patch <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6?format=patch <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b?format=patch <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb?format=patch <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32?format=patch <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120?format=patch <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608?format=patch <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb?format=patch <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c?format=patch <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f?format=patch <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3?format=patch <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96?format=patch <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c?format=patch <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb?format=patch <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9?format=patch <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a?format=patch <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266?format=patch <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e?format=patch <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7?format=patch <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d?format=patch <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56?format=patch <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d?format=patch <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069?format=patch <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5?format=patch <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. why does touchscreen depend on glamo?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47?format=patch <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91?format=patch <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d?format=patch <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready.</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T12:52:14Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5 <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72 <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007 <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71 <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. LCD control?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32 <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120 <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608 <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3 <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96 <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9 <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266 <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7 <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56 <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069 <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5 <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. why does touchscreen depend on glamo?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47 <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91 <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready.</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T12:49:35Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5 <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72 <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007 <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: openmoko specific. only for gta01: to have serial console and GSM on the same port.<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71 <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. backlight?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32 <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120 <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608 <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3 <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96 <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9 <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266 <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7 <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56 <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069 <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5 <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. why does touchscreen depend on glamo?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47 <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91 <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready.</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T12:34:37Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5 <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72 <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007 <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: What is this for? To allow using serial console and GSM on the same serial port? Who needs this anymore?<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71 <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. backlight?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32 <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120 <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608 <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3 <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96 <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9 <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266 <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: openmoko specific. Is this needed at all with qi? (My guess is no, its resume path does not touch serial ports)<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lindi: openmoko specific. feature. hard to say how tricky this is. I can personally live without accelerometers.<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7 <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lindi: openmoko specific. bugfix to accelerometer support.<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56 <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
lindi: openmoko specific. trivial bugfix to accelerometer support. Why not rebase this to the patch?<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
lindi: s3c specific. hack? I personally can live with evdev if this really only affects tslib.<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069 <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
lindi: s3c specific. bugfix? hard to say how ready this is for mainlining.<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5 <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
lindi: openmoko specific. quite essential. why does touchscreen depend on glamo?<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47 <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
lindi: bugfix. should be easy to mainline.<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91 <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
lindi: trivial. Occurs with gcc 4.4 but not 4.6 anymore. No need to mainline :-)<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
lindi: openmoko specific. bugfix. not yet ready.</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T12:26:08Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5 <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72 <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007 <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: What is this for? To allow using serial console and GSM on the same serial port? Who needs this anymore?<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71 <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. backlight?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: safe cleanup?<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
lindi: feature. has some useless whitespace changes. gpio stuff which I don't really understand<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
lindi: just moves a file<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb <nowiki>MFD: pcf50633: Use mfd cells to register <br />
child devices</nowiki>] =<br />
lindi: cleanup? No idea how tricky this really is<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32 <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
lindi: has again extra whitespace changes. I guess genirq is some more abstract way to handle IRQs? Can not really judge how tricky this is.<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120 <nowiki>power: implement platform battery driver</nowiki>] =<br />
lindi: feature. we can live without this if bq27x00 is mainlined or vice versa.<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608 <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
lindi: trivial<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
lindi: glamo stuff, no idea<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
lindi: bugfix. trivial.<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
lindi: feature. I personally need this a lot so that I can differentiate between RTC and GSM wakeups<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3 <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
lindi: openmoko specific. glamo hack. Who said 2-4-2 timings have no drawbacks? ;-)<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96 <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
lindi: openmoko specific. feature. simple. I personally can live without this.<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
lindi: openmoko specific feature. looks quite simple.<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb <nowiki>ar6000_delay.patch</nowiki>] =<br />
lindi: atheros wifi hack<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9 <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
lindi: openmoko specific. gta01-only?<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
lindi: openmoko specific. bugfix. simple.<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266 <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
lindi: <br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7 <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56 <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069 <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5 <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47 <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/37d242a32880093018a8665131e4b3e2b34d5dab <nowiki>Add .config from http://build.shr-project.org/tests/jama/kernel-nodrm/config-2.6.39.gz</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91 <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T12:12:30Z<p>Lindi: </p>
<hr />
<div>Random notes on SHR kernel patches (v2.6.39.4..shr-2.6.39-nodrm).<br />
<br />
= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5 <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72 <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007 <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: What is this for? To allow using serial console and GSM on the same serial port? Who needs this anymore?<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71 <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: feature. tricky!! This does not include the DRM/3D bits but it is enough for me.<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
lindi: feature. openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
lindi: openmoko specific. nand. simple.<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
lindi: openmoko specific. cleanup.<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
lindi: openmoko specific.<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
lindi: openmoko specific. feature.<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =<br />
lindi: openmoko specific. relatively simple, real trouble is in the glamo driver itself<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =<br />
lindi: openmoko specific. backlight?<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =<br />
lindi: openmoko specific. depends on the tricky fiq support above.<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
lindi: openmoko specific. simple.<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =<br />
lindi: trivial.<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
lindi: tricky! probably can never be mainlined. Maybe we can build it as a separate module package in debian?<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
lindi: feature. quite essential. does not look too tricky.<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
lindi: feature. not sure how easy this is to mainline<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
lindi: <br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb <nowiki>MFD: pcf50633: Use mfd cells to register child devices</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32 <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120 <nowiki>power: implement platform battery driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608 <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3 <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96 <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb <nowiki>ar6000_delay.patch</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9 <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266 <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7 <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56 <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069 <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5 <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47 <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/37d242a32880093018a8665131e4b3e2b34d5dab <nowiki>Add .config from http://build.shr-project.org/tests/jama/kernel-nodrm/config-2.6.39.gz</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91 <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T11:56:41Z<p>Lindi: add some comments</p>
<hr />
<div>= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
lindi: bugfix/feature. sounds sensible. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5 <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
lindi: bugfix. s3c specific<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72 <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
lindi: feature. simple. I personally can live without nand. <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007 <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
lindi: What is this for? To allow using serial console and GSM on the same serial port? Who needs this anymore?<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71 <nowiki>Add c fiq handler.</nowiki>] =<br />
lindi: feature. tricky! Used by battery hdq queries (temperature, current, capacity etc.) and vibrator. Should just rewrite them in assembler?<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =<br />
lindi: <br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb <nowiki>MFD: pcf50633: Use mfd cells to register child devices</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32 <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120 <nowiki>power: implement platform battery driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608 <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3 <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96 <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb <nowiki>ar6000_delay.patch</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9 <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266 <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7 <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56 <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069 <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5 <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47 <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/37d242a32880093018a8665131e4b3e2b34d5dab <nowiki>Add .config from http://build.shr-project.org/tests/jama/kernel-nodrm/config-2.6.39.gz</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91 <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T11:49:51Z<p>Lindi: include less cruft</p>
<hr />
<div>= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5 <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72 <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007 <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71 <nowiki>Add c fiq handler.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 <nowiki>Add glamo driver.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 <nowiki>gta02: Add bt power management device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e <nowiki>gta02: Add gps power management device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 <nowiki>gta02: Add glamo device</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 <nowiki>Add jbt device.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 <nowiki>gta02: Add fiq handler</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf <nowiki>gta02: Add battery driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 <nowiki>Add atheros sdio ids.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb <nowiki>MFD: pcf50633: Use mfd cells to register child devices</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32 <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120 <nowiki>power: implement platform battery driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608 <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3 <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96 <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb <nowiki>ar6000_delay.patch</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9 <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266 <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7 <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56 <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069 <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5 <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47 <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/37d242a32880093018a8665131e4b3e2b34d5dab <nowiki>Add .config from http://build.shr-project.org/tests/jama/kernel-nodrm/config-2.6.39.gz</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91 <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =</div>Lindihttp://wiki.openmoko.org/wiki/Kernel/UpstreamingKernel/Upstreaming2011-11-15T11:42:25Z<p>Lindi: Import patches between 2.6.39.4 and shr-2.6.39-nodrm</p>
<hr />
<div>= [https://gitorious.org/shr/linux/commit/f58597e68f36da7d4f4dec08520d3e12258addf2 36 <nowiki>ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.</nowiki>] =<br />
ARM: s3c24xx: Set ARCH_NR_GPIOS according to the selected SoC types.<br />
<br />
Currently the code in gpiolib.c tries to register GPIO BANKA-BANKM.<br />
ARCH_NR_GPIOS on the other hand is set only to 256, which would be the<br />
equivalent of BANKA-BANKH. Thus the registration of all other banks will fail.<br />
<br />
This patch fixes this by setting S3C_GPIO_END according to the selected SoC<br />
types. S3C_GPIO_END is set to the maximum of the number of GPIOs over all<br />
selected SoC types. Thus it is ensured that memory is not wasted if support for<br />
SoCs with higher GPIO numbers is not built-in. When registering the bank it is<br />
made sure that banks which are outside of that range are not even tried to be<br />
registered. Otherwise there would be problems with configs where<br />
CONFIG_S3C24XX_GPIO_EXTRA is set to a non zero value.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/56ee57980e903f6fbcac9fd35d0410b7bb363ae5 6 <nowiki>s3c24xx: Fix level irqs on external interrupts.</nowiki>] =<br />
s3c24xx: Fix level irqs on external interrupts.<br />
<br />
Although the external interrupts support level and edge triggered irqs their<br />
handler is currently always set to handle_edge_irq().<br />
While being technically wrong for a level triggered irq to be handled by<br />
handle_edge_irq() it will cause serious problems in combination with a oneshot<br />
irq. handle_edge_irq() will unmask the irq immediately and as a result the irq<br />
will be triggered again before the threaded irq handler had a chance to run and<br />
clear the irq source.<br />
<br />
Thus level triggered irqs should be handled by handle_level_irq.<br />
According to the specs the irq controller will remember if an irq has been<br />
triggered while it had been masked and will issue it when the irq gets<br />
unmasked. Thus it is sufficient to use handle_level_irq() for edge triggered<br />
irqs as well. Hence handle_level_irq() can always be used for external<br />
interrupts.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/f3f81740815d9207356cb4fcddc3196c7cbadb72 7 <nowiki>mtd: s3c2410_nand: Add config option to disable hw ecc at runtime</nowiki>] =<br />
mtd: s3c2410_nand: Add config option to disable hw ecc at runtime<br />
<br />
This patch adds a flag to the s3c2410_nand platform data, which configures<br />
whether hardware ecc is used for that chip.<br />
<br />
Currently hardware ecc is used if it was compiled into the kernel. But if you<br />
want to build a kernel which runs on multiple devices you might have a<br />
configuration where you have devices which require hw ecc as well as devices<br />
which want software ecc.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/25db4ec44e13d7934100eab7860a9e38d5644007 21 <nowiki>Add s3c24xx_serial_console_set_silence</nowiki>] =<br />
Add s3c24xx_serial_console_set_silence<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/d38596283fd7b1c92138ac44352f08bb24636e71 160 <nowiki>Add c fiq handler.</nowiki>] =<br />
Add c fiq handler.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/523a54c56f41f233fc4c17fe0c182db43ab59e1c 102 <nowiki>mmc: add none blocking mmc request function</nowiki>] =<br />
mmc: add none blocking mmc request function<br />
<br />
Previously there has only been one function mmc_wait_for_req<br />
to start and wait for a request. This patch adds<br />
* mmc_start_req - starts a request wihtout waiting<br />
* mmc_wait_for_req_done - waits until request is done<br />
* mmc_pre_req - asks the host driver to prepare for the next job<br />
* mmc_post_req - asks the host driver to clean up after a completed job<br />
<br />
The intention is to use pre_req() and post_req() to do cache maintenance<br />
while a request is active. pre_req() can be called while a request is active<br />
to minimize latency to start next job. post_req() can be used after the next<br />
job is started to clean up the request. This will minimize the host driver<br />
request end latency. post_req() is typically used before ending the block<br />
request and handing over the buffer to the block layer.<br />
<br />
Add a host-private member in mmc_data to be used by<br />
pre_req to mark the data. The host driver will then<br />
check this mark to see if the data is prepared or not.<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/cce75fcd30b054132ff0f08cc9978b324fc50b1d 32 <nowiki>mmc: mmc_test: add debugfs file to list all tests</nowiki>] =<br />
mmc: mmc_test: add debugfs file to list all tests<br />
<br />
Add a debugfs file "testlist" to print all available tests<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/c7f3951a444728d24d46579cffcc8aa91a668b68 314 <nowiki>mmc: mmc_test: add test for none blocking transfers</nowiki>] =<br />
mmc: mmc_test: add test for none blocking transfers<br />
<br />
Add four tests for read and write performance per<br />
different transfer size, 4k to 4M.<br />
* Read using blocking mmc request<br />
* Read using none blocking mmc request<br />
* Write using blocking mmc request<br />
* Write using none blocking mmc request<br />
<br />
The host dirver must support pre_req() and post_req()<br />
in order to run the none blocking test cases.<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/1c340830422f47cfa553dec7c84626016b9b0eea 270 <nowiki>mmc: add member in mmc queue struct to hold request data</nowiki>] =<br />
mmc: add member in mmc queue struct to hold request data<br />
<br />
The way the request data is organized in the mmc queue struct<br />
it only allows processing of one request at the time.<br />
This patch adds a new struct to hold mmc queue request data such as<br />
sg list, request, blk request and bounce buffers, and updates any functions<br />
depending on the mmc queue struct. This lies the ground for<br />
using multiple active request for one mmc queue.<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/736818523e9fb68c6c9d54ab357b98463b106f31 170 <nowiki>mmc: add a block request prepare function</nowiki>] =<br />
mmc: add a block request prepare function<br />
<br />
Break out code from mmc_blk_issue_rw_rq to create a<br />
block request prepare function. This doesn't change<br />
any functionallity. This helps when handling more<br />
than one active block request.<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/8fb8a2df77a9813efad8c2bbb26f0857cad1df26 227 <nowiki>mmc: move error code in mmc_block_issue_rw_rq to a separate function.</nowiki>] =<br />
mmc: move error code in mmc_block_issue_rw_rq to a separate function.<br />
<br />
Break out code without functional changes. This simplifies the code and<br />
makes way for handle two parallel request.<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/05653b86b740c70f85355de4d810d44c7f03a425 51 <nowiki>mmc: add a second mmc queue request member</nowiki>] =<br />
mmc: add a second mmc queue request member<br />
<br />
Add an additional mmc queue request instance to make way for<br />
two active block requests. One request may be active while the<br />
other request is being prepared.<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/8498759db167586e14267d0585827a19b0ef1dd6 163 <nowiki>mmc: add handling for two parallel block requests in issue_rw_rq</nowiki>] =<br />
mmc: add handling for two parallel block requests in issue_rw_rq<br />
<br />
Change mmc_blk_issue_rw_rq() to become asynchronous.<br />
The execution flow looks like this:<br />
The mmc-queue calls issue_rw_rq(), which sends the request<br />
to the host and returns back to the mmc-queue. The mmc-queue calls<br />
isuue_rw_rq() again with a new request. This new request is prepared,<br />
in isuue_rw_rq(), then it waits for the active request to complete before<br />
pushing it to the host. When to mmc-queue is empty it will call<br />
isuue_rw_rq() with req=NULL to finish off the active request<br />
without starting a new request.<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/e9bea02cb48bbc7ee300ccc9f27185c912fa0f6a 82 <nowiki>mmc: test: add random fault injection in core.c</nowiki>] =<br />
mmc: test: add random fault injection in core.c<br />
<br />
This simple fault injection proved to be very useful to<br />
test the error handling in the block.c rw_rq(). It may<br />
still be useful to test if the host driver handle<br />
pre_req() and post_req() correctly in case of errors.<br />
<br />
Signed-off-by: Per Forlin <per.forlin@linaro.org><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/d3048278388b0908e179882587a8b6fcd95f2f50 4250 <nowiki>Add glamo driver.</nowiki>] =<br />
Add glamo driver.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/df2b549c2cd45742d7ea63b159b5a23cccd54c9e 113 <nowiki>ARM: gta02: Add LED support</nowiki>] =<br />
ARM: gta02: Add LED support<br />
<br />
This patch adds support for the LEDs found on the gta02 device.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/ec9382726b6c58494210d0c361b33a0617a39316 15 <nowiki>gta02: Disable hardware ECC unless we get instructed to enable it</nowiki>] =<br />
gta02: Disable hardware ECC unless we get instructed to enable it<br />
<br />
Early verions off uboot used for the gta02 flashed the nand with ecc information<br />
incompatible to s3c2440 hardware ecc. Disable hardware error correction by<br />
default, unless the bootloader explicitly enables it.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/caa1bc2b4331544a7b3835635e98b7f232dd5e59 16 <nowiki>gta02: Remove usage of pcf50633 gpio api</nowiki>] =<br />
gta02: Remove usage of pcf50633 gpio api<br />
<br />
This is the only user of the pcf50633 gpio api. Since the custom interface is<br />
going to be replaced with gpiolib all users need to be remove or replaced.<br />
It is safe to be remove it in this case since it is used used to turn a gpio<br />
off which is never going to be turned on.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/4ed282d67df719b6c86ff8e5a180f826cbb7fff7 15 <nowiki>s3c2440: gta02: Configure pcf50633 gpios.</nowiki>] =<br />
s3c2440: gta02: Configure pcf50633 gpios.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/146f7ec553fae1e7655cde17802d23b0c6e14a27 3 <nowiki>ARM: s3c2440: GTA02: Select SPARSE_IRQ</nowiki>] =<br />
ARM: s3c2440: GTA02: Select SPARSE_IRQ<br />
<br />
With the conversion of the pcf50633 driver to genirq we need some extra irqs.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/9bd9379698b85d2baf7b98b5bf59f65a7e709b55 56 <nowiki>gta02: Add notify handler to probe device children</nowiki>] =<br />
gta02: Add notify handler to probe device children<br />
<br />
On the gta02 we often have a child parent relationship between different<br />
devices. The child devices can only be probed after their parant has been.<br />
Instead of adding a probe completed handler to each device we handle this in a<br />
generic way with a bus notifier.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/0dace283ee622f2cdfa78dac1deee64038841309 287 <nowiki>gta02: Add bt power management device</nowiki>] =<br />
gta02: Add bt power management device<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/5a7eaa51c3e7298416d1faf17ba96678498b6a7e 255 <nowiki>gta02: Add gps power management device</nowiki>] =<br />
gta02: Add gps power management device<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/c2742ff04d32db3d287c0bc4f7ab090fc957ee49 433 <nowiki>gta02: Add gsm power management device</nowiki>] =<br />
gta02: Add gsm power management device<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/ef27e9c481964789fa7ed703b9d7d53a00ad6036 223 <nowiki>gta02: Add wlan power management device</nowiki>] =<br />
gta02: Add wlan power management device<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/2dc04b2d325cea146f4605cdbc885126ec8c0859 133 <nowiki>gta02: Add glamo device</nowiki>] =<br />
gta02: Add glamo device<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/cf18c7ef4b91239ff51929d60173afa26627ba51 43 <nowiki>Add jbt device.</nowiki>] =<br />
Add jbt device.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/3db6ef4d2bf156826a3c9ee7bd6be334d6696662 152 <nowiki>gta02: Add fiq handler</nowiki>] =<br />
gta02: Add fiq handler<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/d639c61f8338dcc221f88f350e2804e12e2dfaaf 539 <nowiki>gta02: Add battery driver</nowiki>] =<br />
gta02: Add battery driver<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/6afb7d88356ab738bb469850854df6c4c31f3f3f 115 <nowiki>gta02: add support for platform_battery</nowiki>] =<br />
gta02: add support for platform_battery<br />
<br />
This adds support for platform_battery driver which allows to specify a set<br />
of power supply properties and callbacks to acquire them. It is needed to<br />
support dumb batteries where all the information about their status can<br />
only be obtained by platform-specific actions such as specific ADC<br />
measurements, some guessimation etc.<br />
<br />
Signed-off-by: Paul Fertser <fercerpav@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/2111dc5154f0134b173ef122609d7b0e6fb0f6a0 7 <nowiki>Add atheros sdio ids.</nowiki>] =<br />
Add atheros sdio ids.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/81c7116b8418aa499ebea9755fc586e8bfc6d91e 33650 <nowiki>Add ar6000 wireless driver.</nowiki>] =<br />
Add ar6000 wireless driver.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/4e11662e7b95b1a8cdee1f5af9dc5ec49ce3c129 936 <nowiki>Add jbt6k74 display driver.</nowiki>] =<br />
Add jbt6k74 display driver.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/82dfe46f68342b3139b4df33cf3f782ab6d52dd9 53 <nowiki>LEDS: leds-pwm: Add init, notfiy and exit callbacks</nowiki>] =<br />
LEDS: leds-pwm: Add init, notfiy and exit callbacks<br />
<br />
This patch adds init, notify and exit callbacks to the leds-pwm driver similar<br />
to those seen for the pwm-backlight driver;<br />
<br />
On certain platforms with pin muxing the output of a pwm pin is bogus until the<br />
pwm is been properly configured. On these platforms it is usefull to have the<br />
added callbacks, so that the gpio pin can be configured after the pwm device has<br />
been successfully configured.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/8e99225f5a165b20e25611db3486058d7f4e9dc1 25 <nowiki>RTC: PCF50633: Don't request update IRQ</nowiki>] =<br />
RTC: PCF50633: Don't request update IRQ<br />
<br />
Commit 51ba60c5(RTC: Cleanup rtc_class_ops->update_irq_enable()) removed the<br />
only user of the update IRQ, so there is no need to manage it anymore.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/0a304203ac7daf36070f8fecd8974bfaf84d9df6 234 <nowiki>pcf50633-gpio: Add gpiolib support.</nowiki>] =<br />
pcf50633-gpio: Add gpiolib support.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/22ce0c31d823e002859fe5ef50f17905ce90471b 484 <nowiki>pcf50633: Move pcf50633-gpio driver to the gpio drivers folder</nowiki>] =<br />
pcf50633: Move pcf50633-gpio driver to the gpio drivers folder<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/e583591037796f962d07e935b2a1bdd0f89a61fb 169 <nowiki>MFD: pcf50633: Use mfd cells to register child devices</nowiki>] =<br />
MFD: pcf50633: Use mfd cells to register child devices<br />
<br />
This patch changes the pcf50633 core code to use mfd cells to register child<br />
devices instead of calling platform_device_{alloc,add} for each child.<br />
<br />
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/780da55e2ad7f9d934e7452fba4340a5f9575a32 683 <nowiki>MFD: pcf50633: Use the genirq for irq handling</nowiki>] =<br />
MFD: pcf50633: Use the genirq for irq handling<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/3e77986a22550a8df84d9e78ddbc281488bf1120 147 <nowiki>power: implement platform battery driver</nowiki>] =<br />
power: implement platform battery driver<br />
<br />
This driver can be used for dumb batteries when all knowledge about<br />
their state belongs to the platform that does necessary ADC readings,<br />
conversions, guessimations etc.<br />
<br />
Signed-off-by: Paul Fertser <fercerpav@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/d09e21824bacd5f9ac0285c14c6ddc2d79b96608 5 <nowiki>Define machine_is_neo1973_gta01()</nowiki>] =<br />
Define machine_is_neo1973_gta01()<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/26cda7b3e4bb06d4437c1d0d64d3036a5c298902 82 <nowiki>Revert "mmc: test: add random fault injection in core.c"</nowiki>] =<br />
Revert "mmc: test: add random fault injection in core.c"<br />
<br />
This reverts commit e2f2d8fbcfd43b995f4c205e80ecbb35c8c2bb38.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/fbc0064a99d508ecf327a3f47d8495411213ee4d 163 <nowiki>Revert "mmc: add handling for two parallel block requests in issue_rw_rq"</nowiki>] =<br />
Revert "mmc: add handling for two parallel block requests in issue_rw_rq"<br />
<br />
This reverts commit a6f554d181bf8bdc06da545aa198aea298feda74.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/770f45160a6aab68dec31e0bba5796b45b9926fb 51 <nowiki>Revert "mmc: add a second mmc queue request member"</nowiki>] =<br />
Revert "mmc: add a second mmc queue request member"<br />
<br />
This reverts commit 6d08e164f59139f5fc36bfa9957743f377fea37d.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/5a632ddd621fafb21a413fba5001b9e7d4684c0b 227 <nowiki>Revert "mmc: move error code in mmc_block_issue_rw_rq to a separate function."</nowiki>] =<br />
Revert "mmc: move error code in mmc_block_issue_rw_rq to a separate function."<br />
<br />
This reverts commit 4c7bcaa251685ef3d718117c9e8c47595e3347db.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/bfb4da06774de342b2f0d131a095386aae25ebf2 170 <nowiki>Revert "mmc: add a block request prepare function"</nowiki>] =<br />
Revert "mmc: add a block request prepare function"<br />
<br />
This reverts commit b6284f0b4f90e8736a775d69712fae570fefbd6f.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/0b706f9b014158697caaa70cd2f483290724cb36 270 <nowiki>Revert "mmc: add member in mmc queue struct to hold request data"</nowiki>] =<br />
Revert "mmc: add member in mmc queue struct to hold request data"<br />
<br />
This reverts commit 0a52143f49a7cae45c1de07ba08be3687cb7c0e4.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/9130c204e59a3225bcdaf79dc30747c3f949473c 314 <nowiki>Revert "mmc: mmc_test: add test for none blocking transfers"</nowiki>] =<br />
Revert "mmc: mmc_test: add test for none blocking transfers"<br />
<br />
This reverts commit 39e2e8264c430520dd28372e4155fc0473c2be5c.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/63d4443310eacd74b8243c64c25b40b3768ba444 32 <nowiki>Revert "mmc: mmc_test: add debugfs file to list all tests"</nowiki>] =<br />
Revert "mmc: mmc_test: add debugfs file to list all tests"<br />
<br />
This reverts commit 1b964818989d1af7c15529eaf2e15da3d251cfd0.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/abc0b941109ac544fa40127f4ab44575008096c9 102 <nowiki>Revert "mmc: add none blocking mmc request function"</nowiki>] =<br />
Revert "mmc: add none blocking mmc request function"<br />
<br />
This reverts commit 63633272709773487926b8116dbfac918176d07d.<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/a73311169fef3284647f3c80748c644abe3c72fb 174 <nowiki>glamo-mci: revert changes for Per's patchset</nowiki>] =<br />
glamo-mci: revert changes for Per's patchset<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/833339cd47295e86e0ca8c838e8997a24ababf6c 3 <nowiki>nand/s3c2410: add mising badblocksbits value</nowiki>] =<br />
nand/s3c2410: add mising badblocksbits value<br />
<br />
Here is a fix for the issue where badblocks were not being handled<br />
correctly with the new kernel. There was an uninitialized value<br />
in the nand chip description. There may be others.<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/919ad8a33847d10bb2b6b4f9bb24702346455f1f 163 <nowiki>Openmoko resume reason sysfs node ported from 2.6.29</nowiki>] =<br />
Openmoko resume reason sysfs node ported from 2.6.29<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/dd73aa36cb4d37d200aead95310df58cfec784d3 4 <nowiki>glamo-display: fix WSOD for 242 timming</nowiki>] =<br />
glamo-display: fix WSOD for 242 timming<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/5c7e36859e8e28f9b56a2cb3ceb0ab2c3d079f96 13 <nowiki>Enable powering off after 8s POWER press</nowiki>] =<br />
Enable powering off after 8s POWER press<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/ba207d46b7857f6cae1368f0e62e611eb773505c 279 <nowiki>gta02: add support for usb host mode</nowiki>] =<br />
gta02: add support for usb host mode<br />
<br />
adds support for usb host mode and adds usb host pm sysfs node. I just<br />
copied and modified how modem is powered up and backported changes in<br />
ohci-s3c2410.c. No idea if this is the right approach, but it works -<br />
my usb keyboard is now working after:<br />
<br />
echo 1 > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-gpio/reg-fixed-voltage.2/gta02-pm-usbhost.0/power_on<br />
echo host > /sys/devices/platform/s3c2410-ohci/usb_mode<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/3066c8798168cb31af999e9d55bca2b445e27cdb 4 <nowiki>ar6000_delay.patch</nowiki>] =<br />
ar6000_delay.patch<br />
<br />
patch from https://docs.openmoko.org/trac/ticket/2327 - wifi is working good<br />
(100% until now) for me with this patch.<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/b3f60f3ed24f503bda64aabf94b62053379c9ca9 45 <nowiki>wm8753: use snd_soc_jack on neo1973</nowiki>] =<br />
wm8753: use snd_soc_jack on neo1973<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/d5d5ee9c07ee06174f06255ae3141c368ca48f6a 4 <nowiki>Fix high power consumption in suspend</nowiki>] =<br />
Fix high power consumption in suspend<br />
<br />
http://docs.openmoko.org/trac/ticket/2349<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/084e5cd3284d499e3c4eb86f26042e7d72df2266 14 <nowiki>Force GPS power up on resume if it were powered up on suspend</nowiki>] =<br />
Force GPS power up on resume if it were powered up on suspend<br />
<br />
This is needed for proper GPS funciton with u-boot.<br />
<br />
u-boot needs to be patched with this patch:<br />
<br />
http://www.bsdmn.com/openmoko/gpsfix/uboot_do_not_touch_serials.patch<br />
<br />
Idea of above patch is to keep u-boot from controlling serial's GPIO<br />
configuration. It turned out that u-boot also touch GSM port<br />
configuration on resume. This turns this off.<br />
<br />
Whole thread can be found here:<br />
<br />
http://lists.openmoko.org/pipermail/openmoko-kernel/2010-November/011274.html<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/edcc8410bc93dcc06b69d57e8b7b47756124cd1e 1285 <nowiki>lis302dl accelerometer driver</nowiki>] =<br />
lis302dl accelerometer driver<br />
<br />
This is port from andy-tracking openmoko git. It's not the latest<br />
version, because the latest touches core spi functions.<br />
<br />
This one is the latest version that does bit banging in mach-gta02<br />
and is based on 83cf37799009f6a3db4fef141c798c876124954f.<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/02e9ff6da8f66701739b5beac43200eb3e0acbd7 10 <nowiki>input: lis302dl: fix the resume path</nowiki>] =<br />
input: lis302dl: fix the resume path<br />
<br />
This fix the resume path of the accelerometer. If the accelerometer<br />
is not power up, restore to initial status. Move the REG_CTRL1 to the<br />
last one position avoid writing on the register when the device is<br />
in power down mode.<br />
<br />
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org><br />
Signed-off-by: Paul Fertser <fercerpav@gmail.com><br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/10b4b78dc2081caff1239f229e08a7e829ed3c7d 23 <nowiki>lis302dl: use ABS events rather then REL events</nowiki>] =<br />
lis302dl: use ABS events rather then REL events<br />
<br />
AG: there's some more rationale for changing this here<br />
http://lists.openmoko.org/pipermail/openmoko-kernel/2009-March/009387.html<br />
<br />
Change accelerometers to use ABS events rather than REL events.<br />
<br />
[Obviously if this patch is accepted we need to tell developers about<br />
it. I have a number of other improvements to the accelerometers I<br />
hope to deliver over the next couple of weeks. They will have minimal<br />
or zero disruption to current code. ]<br />
<br />
REL events should be used when there is no absolute reference, and<br />
only changes are meaningful. The classic example is a "mouse" where<br />
the absolute position of the device is not measurable and not<br />
particularly meaning, but change in position from one time to the next<br />
is interesting.<br />
With REL events, a value of '0' is not reported, as 'not change' is<br />
not interesting.<br />
With REL events, the expectation is that successive values will be<br />
eventually summed (possibly with acceleration and clipping<br />
adjustments) to get a usable value.<br />
<br />
ABS events should be used when there is an absolute references against<br />
which things that be measured.<br />
With ABS events, the 'current value' is meaningful and can be read<br />
(EVIOCGABS).<br />
With ABS events, the value '0' is very meaningful and is reported.<br />
However if consecutive values are the same, the value is only reported<br />
once.<br />
ABS events can be used as-is or compared with previous events to get<br />
some measure of change.<br />
An obvious example is a touchscreen where each measure in<br />
independently meaningful.<br />
<br />
Acceleration is an absolute value as it is measuring against a frame<br />
of reference. '0' acceleration is just as meaningful as any other<br />
value, and finding the 'current' acceleration is each direction is a<br />
potentially useful thing to do.<br />
<br />
The Freerunner accelerometers currently report REL events. This is<br />
wrong. So this patch changes them to report ABS events.<br />
<br />
With this patch, the min/max/level/fuzz values are left at zero. It<br />
might be useful to make use of these in a subsequent patch.<br />
min/max/level can be used to calibrate the accelerometers if accuracy<br />
is important.<br />
fuzz could possibly be used in conjunction with the 'threshold' sysfs<br />
value to get less frequent, lower-precision reports.<br />
<br />
This may well break some applications that read accelerometer data.<br />
This cannot be helped, but it is quite easy to write code that copes<br />
with the incorrect EV_REL events as well as the more correct and<br />
useful EV_ABS events.<br />
<br />
Signed-off-by: NeilBrown <neilb@suse.de><br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/9668f02fe2af9dd880d5f83f95bd07bb2d963c56 4 <nowiki>Fix compile error for gta02 accelerometer.</nowiki>] =<br />
Fix compile error for gta02 accelerometer.<br />
<br />
Switched to genirq call for irq_set_handler. set_irq_handler is<br />
deprecated and no longer compiles.<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/f0e6a6317de2567383a543a545cf50e58b3caa3d 5 <nowiki>tslib relies on ts pressures events so this hack is needed to get tslib stuff working</nowiki>] =<br />
tslib relies on ts pressures events so this hack is needed to get tslib stuff working<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/b05f074d5eb6f77cefcef35f7f2b2aaeb27af069 31 <nowiki>touchscreen: ignore unexpected interrupts</nowiki>] =<br />
touchscreen: ignore unexpected interrupts<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/1f3750e2cf3895b269589495147416c61ba523c5 124 <nowiki>s3c2410_ts: jitter less touchscreen for glamo, version 4</nowiki>] =<br />
s3c2410_ts: jitter less touchscreen for glamo, version 4<br />
<br />
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com><br />
<br />
Conflicts:<br />
<br />
arch/arm/mach-s3c2440/mach-gta02.c<br />
drivers/input/touchscreen/s3c2410_ts.c<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/74c481b35be9bf9b7d512de6942c7be345a7db47 5 <nowiki>wm8753: allow setting DAI mode even while pcm is active</nowiki>] =<br />
wm8753: allow setting DAI mode even while pcm is active<br />
<br />
Without this patch the DAI mode can't be set while a pcm stream is<br />
running as that might lead to kernel freezing. This patch allows setting<br />
it to the same value to make scenario loading work.<br />
<br />
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de><br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/37d242a32880093018a8665131e4b3e2b34d5dab 2428 <nowiki>Add .config from http://build.shr-project.org/tests/jama/kernel-nodrm/config-2.6.39.gz</nowiki>] =<br />
Add .config from http://build.shr-project.org/tests/jama/kernel-nodrm/config-2.6.39.gz<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/4f1ae92f97c4aaad16567a5101c8b668893a9c91 4 <nowiki>Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783</nowiki>] =<br />
Workaround toolchain bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783<br />
<br />
C: <br />
= [https://gitorious.org/shr/linux/commit/098ed461036a5d9ba027b62c18a85622a055f63d 14 <nowiki>First attempt at fixing openmoko bug #2478</nowiki>] =<br />
First attempt at fixing openmoko bug #2478<br />
<br />
C:</div>Lindihttp://wiki.openmoko.org/wiki/QiQi2011-10-20T13:46:44Z<p>Lindi: add links to debian qi package page and git tree</p>
<hr />
<div>{{Languages|Qi}}<br />
[[image:Screenshot-Qi.png|frame|Qi Boot messages]] Qi is a lightweight replacement for the [[Uboot|uBoot]] bootloader with everything that doesn't assist "loading" and "booting" Linux stripped out. Distributions provide tar.gz-images of their root file system, that can be uncompressed on a MicroSD-card and Qi boots stable that distribution just by inserting the MicroSD in your freerunnner. E.g. changing the distribution from [[SHR]] to [[QtMoko]] can be done just by replacing one MicroSD (SHR) with an other MicroSD card (QtMoko) without using the boot menu. <br />
<br />
{| cellspacing="0" class="sortable wikitable" border="1" style="font-size: 85%; text-align: left; width: auto; background:#CCCCC;"<br />
|-<br />
! Distrubtion<br />
! Availability tar.gz-Image<br />
! Download<br />
! Comments<br />
|-<br />
|SHR<br />
| style="background:#88FF88;"|YES<br />
|[http://build.shr-project.org/shr-testing/images/om-gta02/ full-om-gta02.tar.gz]<br />
|Download Link contains an appropriate Qi version too <br />
|-<br />
|Debian<br />
|??<br />
|apt-get install qi<br />
|[http://packages.debian.org/qi package page], [http://anonscm.debian.org/gitweb/?p=pkg-fso/qi.git GIT]<br />
|-<br />
|QtMoko<br />
|style="background:#88FF88;"|YES<br />
|[http://sourceforge.net/projects/qtmoko/files/ qtmoko-debian-v26.tar.gz]<br />
|Download Link contains a Qi version for experimental release <br />
|-<br />
|Android<br />
| style="background:#FF8888;"|NO<br />
|see [http://wiki.openmoko.org/wiki/Manuals/Android Android Manual] for further information<br />
|Installer is available, that installs Qi<br />
|-<br />
|Hackable<br />
|???<br />
|<br />
|<br />
|-<br />
|Qt Extended Improved<br />
|??<br />
|<br />
|<br />
|-<br />
|}<br />
<br />
==About Qi==<br />
===Advantages of Qi===<br />
Its advantages comparing to the [[Uboot|u-boot Openmoko port]] are:<br />
* actively developed (u-boot on GTA02 is deprecated)<br/>ATM qi is not developed, but supported, but main u-boot branch is really developed<br />
* easier configuration, more robust and predictable actually it needs to be recompile to change kernel parameters, nothing really robust or predictable<br />
* SD and SDHC cards supported properly with partitions of any size as in u-boot<br />
* kernel size is detected by checking the start of the kernel image, so large (>2M) kernels are supported without tweaking or loading more than needed procedure of changing kernel size in u-boot is not 'tweaking', just configuration<br />
* Very fast, simple boot direct to Linux<br />
<br />
===Disadvantages of Qi===<br />
* No boot menu -> you have to press keys to boot from sd for example<br />
* Impossible to change kernel parameters for NAND without recompilation.<br />
* Bootlog disabled by default<br />
* If any error happens, you should decode LEDs, in u-boot you can just read message<br />
* Complete non-flexible setup. Impossible to change default behavior without recompilation, so if it is compiled to boot from nand, you always have to press key to boot sd.<br />
* Bootloader unique to openmoko, while u-boot is universal widely used software, so methods <br />
of working with other devices are applicable to openmoko, like newer patches.<br />
* u-boot supports dfu so you can flash anything anywhere, qi doesn't support it, so qi is useless without NOR u-boot.<br />
<br />
===Requirements===<br />
There is a [[Neo1973|GTA01]] build of Qi, but using it without a debug board is not recommended because Qi itself does not support DFU, so updating or going back to U-Boot is a difficult process.<br />
<br />
[[Freerunner|GTA02 Hardware]] has NOR U-Boot always available, so updating to Qi is safe to try it out.<br />
<br />
{{Note|The below Qi are for Openmoko. E.g. for SHR - use Qi from the SHR directory if newer.}}<br />
<br />
===Download===<br />
<br />
*GTA01 -> [http://people.openmoko.org/andy/ qi-s3c2410]<br />
*GTA02 -> [http://people.openmoko.org/andy/ qi-s3c2442]<br />
<br />
====New Versions====<br />
<br />
These are the versions we are getting ready for release<br />
<br />
Download from either the Neo1973 or NeoFreerunner directory.<br />
<br />
http://downloads.openmoko.org/distro/testing<br />
<br />
====Unstable and Experimental Versions====<br />
<br />
These are the latest versions from svn.<br />
<br />
Download from either the Neo1973 or NeoFreerunner directory.<br />
<br />
http://downloads.openmoko.org/distro/unstable<br />
<br />
http://downloads.openmoko.org/distro/experimental<br />
<br />
====Older Versions====<br />
<br />
The download is a ''qi-s3cXXXX-andy_somenumber.udfu'' file at http://people.openmoko.org/andy/ .<br />
Use the file appropriate to your device:<br />
<br />
===Installation===<br />
* Connect Freerunner (e.g GTA02 Hardware) with USB-cable<br />
* Download [[dfu-util]] via package manager (e.g. YAST with OpenSuse) to your computer (not the Neo).<br />
* Download Qi image (e.g. for GTA02 which is [http://people.openmoko.org/andy/ 'qi-s3c2442-master-hist_3b8513d8b3d9615e.udfu'])<br />
* Switch off you freerunner (if necessary) and start NOR uBoot by pressing AUX and Power-On at the same time and then start [[dfu-util]] on your computer with the following parameters:<br />
# dfu-util -a u-boot -R -D qi-s3c2442-master-hist_3b8513d8b3d9615e.udfu<br />
See [[Flashing the Neo FreeRunner]] or [[Flashing the Neo 1973]] for more details on flashing your phone.<br />
<br />
===Features===<br />
* booting from primary SD partitions (1st, 2nd or 3rd) in /boot directory<br />
* booting from NAND (compatible with U-Boot's dynparts scheme)<br />
* configuration per rootfs, by files in /boot in the rootfs<br />
* automatically choose correct kernel for device hardware so rootfs can be used on multiple device types<br />
* automatically tell kernel correct root= for rootfs kernel image came from, simplifying update<br />
* ext2/3 are supported<br />
* symlinks are supported<br />
* parses identity partition and appends kernel commandline with device identity information<br />
* zero "environment" or private persistent state - operation is completely deterministic<br />
* You can always boot from [http://wiki.openmoko.org/wiki/Boot#Log_into_U-Boot_in_the_NOR_Flash NOR menu]<br />
<br />
===Use Case===<br />
If you want to install [[Android]] on you OpenMoko you can use Qi. The [[Android on Freerunner]] kernel image can be more than 2MB in size. The UBoot environment that comes with your FreeRunner is only able to boot a kernel of 2MB in size or less. Qi support kernel images greater than 2MB out of the box.<br />
<br />
====NAND Memory as Backup-OS====<br />
Qi boots from MicroSD partition e.g. from a ext2-Partition. If your root filesystem on your SD get corrupted you can boot another distribtion from NAND memory (e.g. removing SD card).<br />
<br />
====NAND Memory as Home-Directory====<br />
You can use Qi if you want to exchange the distribution on your Freerunner just by exchanging the MicroSD card.<br />
If you do not use the NAND memory as an backup distribution you can mount the NAND-memory as a home-directory or as documents. This helps to keep all the personalized data on the freerunner/mobile phone when you exchange distrubtion via exchanging MicroSD-card.<br />
<br />
===Limitations===<br />
* no DFU-Mode - USB is not initialized at all (but you can always boot [http://wiki.openmoko.org/wiki/Boot#Log_into_U-Boot_in_the_NOR_Flash from NOR])<br />
* no boot menu (but you can always boot [http://wiki.openmoko.org/wiki/Boot#Log_into_U-Boot_in_the_NOR_Flash from NOR])<br />
* FAT partitions are ignored<br />
<br />
Both the lack of DFU and the boot menu are planned to be addressed by the backup / recovery rootfs.<br />
<br />
FAT is not supported because it can't provide a rootfs, and Qi wants the kernel to come from the rootfs.<br />
<br />
===Defaults===<br />
If the kernel is found on uSD, Qi assumes the rootfs to be on the same partition as the kernel. In case of boot from NAND, it assumes that rootfs is also on NAND (just as u-boot does). See [[#/boot-Partition|below]] for help with an extra /boot-partition. The default rootdelay is 1 second.<br />
<br />
===Files===<br />
; /boot/uImage-GTA0[123].bin<br />
: Kernel images, Qi will look for (can be in either uImage (u-boot image) or zImage format, file name should still be uImage-GTA0[123].bin) <br />
; /boot/append-GTA0[123]<br />
: Additional kernel arguments. All arguments should be on the first and the only line separated by spaces, for example: "<tt>loglevel=8 rootdelay=5 </tt>" . Make sure you have an extra space after the last argument (space is no longer needed if the version is from 31 Jan or older)!<br />
; /boot/noboot-GTA0[123]<br />
: make Qi skip this partition<br />
<br />
===Speed up kernel resume for SHR===<br />
Since SHR (and perhaps other distributions as well) ouput log messages during resume which slow down the resume process by ca. 3 seconds it make sense there to append the following settings to /boot/append-GTA0[123]:<br />
: loglevel=1 quiet <br />
The disadvantage of this speedup is that you won't see any lifesign of your phone until it starts the graphical user interface after adding these files, though.<br />
===Boot Order===<br />
[[image:Qi-drawings-bootsequence.png|frame|Qi GTA02 Booting order]]<br />
# SD Partition 1<br />
# SD Partition 2<br />
# SD Partition 3<br />
# NAND<br />
# Memory Test<br />
<br />
Qi will try to mount each SD partition as ext2 / 3, if that succeeds it will look for the kernel as /boot/uImage-GTA02.bin. If that is found, it'll be fetched, its CRC is checked and then it's booted into with a generated kernel commandline.<br />
<br />
===Kernel Commandline Generation===<br />
[[image:Qi-commandline-composition.png|frame|Qi commandline composition]] Because Qi has no private stored state, it infers and composes a suitable kernel commandline on each boot.<br />
<br />
One of its tasks is to scan NAND memory using the U-Boot dynparts rules to determine the start offset of the NAND partitions on this device, from that it forms the mtdparts kernel parameter that sets Linux's view of NAND partitioning.<br />
<br />
The other thing it does is mount the "identity" partition and get from there the globally unique MAC address for the USB over Ethernet function instead of the random one that is otherwise used (If this doesn't work (like with a GTA01) you may use kernel-commandline parameters g_ether.dev_addr= and g_ether.host_addr= for the mac in device and host mode of the usb-ether module).<br />
<br />
===LED and Vibrator Signals===<br />
* AUX LED is turned on either on:<br />
** Successful partition mount<br />
** Successful kernel pull<br />
** Successful initramfs pull<br />
* AUX LED is turned off and vibrator runs briefly either on:<br />
** Fail of kernel pull<br />
** Fail of initramfs pull<br />
** Fail of mount partition<br />
** Skipping of current boot possibility<br />
* AUX LED is turned off either on:<br />
** Start of the kernel<br />
** Start of the mem test<br />
** Start of the kernel pull<br />
** Start of the initramfs pull<br />
* One Blue shine every ~10 second: did not find any valid kernel to boot<br />
* About four RED shines per second: kernel panic.<br />
<br />
===Booting===<br />
A short press on the power button is enough to make Qi start booting. In a few seconds the backlight will be lit, but the kernel will not spew any console messages unless something is wrong. It may take up to 2 minutes (depends on distribution) until X is started during which there will be no visual feedback. Please be patient.<br />
<br />
You can force debug messages on the LCM console by holding in the power button before Linux starts.<br />
<br />
===Choosing a Kernel===<br />
If a user presses the AUX button after successful partition mount and before start of the kernel pull (that is, while the red LED is on), this boot possibility is skipped (and GTA02 owners can feel vibration). So press power, release power, press aux, wait for vibration, release aux.<br />
<br />
On versions newer than Jan 18 if a user holds the POWER button just before start of the kernel,<br />
debugging parameters are added to the kernel command line and a lot of information is output to the screen.<br />
<br />
===Boot Menu===<br />
Qi's concept is to leave everything possible to Linux, that includes even the video init. Therefore Qi does NOT provide a boot menu. This should rather be implemented by a minimal Kernel, initramfs and menu system. It may be more comfortable for some users and may get them to switch from uboot to Qi. <br />
<br />
Such system is already implemented for some Angstrom-supported devices and for Zaurus (see [http://projects.linuxtogo.org/projects/kexecboot/ kexecboot]).<br />
<br />
Since 2009-11-16, a such project was initialized by Marc Andre Tanner. The project is called [http://www.brain-dump.org/projects/qi-bootmenu/ qi-bootmenu].<br />
<br />
http://www.brain-dump.org/projects/qi-bootmenu/screenshot.png<br />
<br />
===Source code===<br />
Dedicated code for openmoko has its [http://git.openmoko.org/?p=qi.git;a=summary own Git repo]. <br />
<br />
git clone git://git.openmoko.org/git/qi.git<br />
<br />
Qi is also [http://gitorious.org/0xlab-bootloader maintained on gitorious].<br />
<br />
One can also just use strings(1) on the .udfu file to get an idea of where Qi currently looks for files.<br />
<br />
===README===<br />
The latest README file can be found in the git as well:http://git.openmoko.org/?p=qi.git;a=blob;f=README;hb=HEAD<br />
<br />
==Tips, Tricks, Tweaks==<br />
===General troubleshooting===<br />
Qi does not bring up the LCD backlight. If the backlight is lit, it means you have succeeded to boot into Linux.<br />
<br />
If nothing else is happening or there is a panic, enable debugging messages as described below.<br />
<br />
===Enabling console messages===<br />
<br />
You can just hold in the power button, this automatically appends verbose debugging to the kernel commandline (loglevel=8).<br />
<br />
If you always want verbose "dmesg" type debugging messages, you can do it like this:<br />
<br />
[http://lists.openmoko.org/pipermail/openmoko-kernel/2008-November/006812.html]<br />
If it's SD Card boot, just create a text file, e.g., for a [[GTA02]] use<br />
/boot/append-GTA02<br />
on the rootfs in question, put in there<br />
loglevel=8<br />
and you'll see the messages on boot.<br />
<br />
If it's NAND, according to [http://www.mail-archive.com/community@lists.openmoko.org/msg39256.html] you need to copy the uImage-GTA02.bin under /boot/ directory also under NAND and then create /boot/append-GTA02 there as well. The other way, as that guide does not seem to work per se (fix this wiki if it should work and works for you) is to edit the default commandline in Qi for gta02 and recompile Qi.<br />
<br />
===/boot-Partition===<br />
If you have a separate partition for /boot, so that your kernel and rootfs are not in fact on the same partition, you will need to append a root= entry on the kernel commandline to override the default action of trying to use the partition where the kernel came from as the rootfs.<br />
<br />
Add this in /boot/append-GTA0[123]:<br />
root=/dev/mmcblk0p2<br />
for a rootfs on the second partition.<br />
<br />
Note that a default Debian installation puts the kernel straight in the root of /dev/mmcblk0p1, not in a boot subdirectory, expecting u-boot to mount it as /boot. In order for Qi to recognise this, create a boot subdirectory with a symlink to the kernel.<br />
<br />
===SD Initialisation===<br />
If you don't specify loglevel=8 in append-GTAXX, and booting fails with a "VFS: Cannot open root device "mmcblk0p1" or unknown-block(2,0)", the SD card needs a little bit more time to initialise.<br />
<br />
Put a "rootdelay=5" in append-GTAXX like so:<br />
rootdelay=5<br />
<br />
== Testing speed improvements ==<br />
<br />
This measurement is inappropriate. Modern qtmoko boots under 1 minute with any bootloader, <br />
and bootloader in general has no relation to boot speed expect may <br />
be 5 seconds pause before booting kernel<br />
<br />
Stopwatch results on Qi (error is approx ±1/2 second):<br />
<br />
PLEASE, perform comparable tests !!!!!!!!!!!!<br />
<br />
Booting SHR image with uBoot:<br />
* 0:00 power button held down<br />
:: On mine, it apears at 0:05 ... (custom splash)<br />
* 0:07 splash screen appears<br />
:: Here, changing the bootdelay (uboot environnement variable) can improve the delay here<br />
* 0:15 drops to console showing kernel messages scrolling by for ~1 minute<br />
:: This can be improved a lot by using the quiet option on the kernel command line !!!!!!!!!<br />
* 1:18 Openmoko 'please wait' splash<br />
* 1:31 desktop animated splash<br />
* 2:38 finished booting<br />
Why 1'20 min from OM splash to end of boot here<br />
and only 1'00 for the Qi version ???<br />
Qi has no relation to this !!!!!!!!!<br />
<br />
Booting identical setup with Qi flashed over uBoot:<br />
* 0:00 power button held down<br />
* 0:06 backlit black<br />
* 0:13 please wait booting... (only this text on console for next 38 seconds)<br />
* 0:51 Angstrom console message (at the end of kernel output with uBoot, but ONLY text display to appear throughout this stage with Qi)<br />
* 0:54 Openmoko 'please wait' splash<br />
* 1:05 desktop animated splash<br />
* 1:54 finished booting<br />
<br />
So for this particular configuration, it reduced time-to-desktop by about 28%, about 44 seconds. Surprisingly, the later segments of booting (desktop) were also noticeably faster than with uBoot - One would have expected just the first stages up until init (kernel finished establishing itself) to be faster.<br />
<br />
[[Category:Bootloaders]]</div>Lindi