[PATCH] ARM: gta02: Add button support

Lars-Peter Clausen lars at metafoo.de
Sat Oct 3 18:27:14 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Timo Juhani Lindfors wrote:
> Lars-Peter Clausen <lars at metafoo.de> writes:
>> The gta02 has two buttons which are connected to gpio pins and
>> thus can get supported by using the generic gpio-keys driver.
>
> I'm bit confused about how kernel development is done currently.
> Should I find this patch already in some git tree?
>
> If yes, does that tree have
>
> #define PCF50633_ONKEY1S_TIMEOUT 8
>
> set in drivers/mfd/pcf50633-core.c? If yes, we probably should
> document that the power button can not be used as a general purpose
>  button since the system will do an emergency shutdown if it is
> held down for 8 seconds?  (Very annoying if you want to use the
> phone for making audio notes when power button is held. You can't
> use AUX since the phone won't wake from suspend with AUX.)
This patch is about AUX and Play button support. The power button is
handled through the pcf50633.

- - Lars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrHe2IACgkQBX4mSR26RiNTAwCfQzWHWJWLUyrGe0AaAYKUlJOf
mtEAn3ZIyiw6j5nzfJ4my7hg3gjLizmM
=HduN
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list