[PATCH] ARM: gta02: Add button support

Timo Juhani Lindfors timo.lindfors at iki.fi
Sat Oct 3 18:18:53 CEST 2009


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.)






More information about the openmoko-kernel mailing list