wake on touchscreen activity?
Timo Juhani Lindfors
timo.lindfors at iki.fi
Wed Jul 15 17:36:22 CEST 2009
Hi,
I'd like my freerunner to wake on touchscreen activity. Should I just modify
struct pcf50633_platform_data gta02_pcf_pdata = {
.resumers = {
[0] = PCF50633_INT1_USBINS |
PCF50633_INT1_USBREM |
PCF50633_INT1_ALARM,
[1] = PCF50633_INT2_ONKEYF,
[2] = PCF50633_INT3_ONKEY1S,
[3] = PCF50633_INT4_LOWSYS |
PCF50633_INT4_LOWBAT |
PCF50633_INT4_HIGHTMP,
},
in arch/arm/mach-s3c2442/mach-gta02.c or is there some existing
interface to configure such wakeup sources on-the-fly? My first guess
is that I should add
PCF50633_INT3_ADCRDY = 0x40, /* ADC conversion finished */
to that list.
best regards,
Timo Lindfors
More information about the openmoko-kernel
mailing list