rockbox/firmware/target/arm/imx233
Jean-Louis Biasini df6eb82f51 touch devices: Disable touch on softlock.
Target that have a touchpad/touchscreen should disable it while
being locked (In order to avoid LCD to drain battery power due to
"key locked" constant reporting messages. If they a have a keylock
button this was already handled at driver level. If not (e.g. fuze+),
they will have to implement a switch at driver level that action.c
can operate on softlock.
This patch does the following for any target having a touchpad
or a touchscreen and no HAS_BUTTON_HOLD (ie any softlock target)
1) it implements the code to call button_enable_touch(bool en) in
action.c.
2) button_enable_touch is implemented in button.c and call
either touchpad_enable or touchscreen_enable
3) those two function are implemented respectively in touchscreen.c
and a new touchpad.c file. They provide a generic way to silents touch's
device and call a function at driver level where target specific code
can be implemented if possible/needed (for power saving for instance).
Those function name are touchpad_enable_device and touchscreen_enable_device
4) we implement an empty function at driver level of targets that need it
to have them still being able to compiled.

Change-Id: I9ead78a25bd33466a8533f5b9f259b395cb5ce49
Reviewed-on: http://gerrit.rockbox.org/569
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-09-05 20:02:07 +02:00
..
creative-zenxfi2 touch devices: Disable touch on softlock. 2013-09-05 20:02:07 +02:00
creative-zenxfi3 zenxfi3: drop audio routing driver in favor of the generic one 2013-06-18 16:19:28 +02:00
pins imx233: add stmp3600 and stmp3700 pin descriptions 2013-06-18 16:21:38 +02:00
regs imx233: add register selector file 2013-06-15 22:27:34 +02:00
sansa-fuzeplus touch devices: Disable touch on softlock. 2013-09-05 20:02:07 +02:00
adc-imx233.c imx233: fix lradc/adc for stmp3600 and stmp3700 2013-06-17 00:29:25 +02:00
adc-imx233.h imx233: fix lradc/adc for stmp3600 and stmp3700 2013-06-17 00:29:25 +02:00
app.lds imx233: make linker file more regular 2013-06-17 00:29:24 +02:00
ata-imx233.c imx233: add basic ATA driver 2013-06-18 16:41:13 +02:00
ata-target.h imx233: add basic ATA driver 2013-06-18 16:41:13 +02:00
audio-imx233.c imx233: don't disable monitor when recording from radio 2013-07-13 02:42:17 +02:00
audio-imx233.h fuzeplus: drop audio routing driver in favor of the generic one 2013-06-18 16:15:07 +02:00
audioin-imx233.c imx233: add audioin debug info 2013-07-13 02:42:17 +02:00
audioin-imx233.h imx233: add audioin debug info 2013-07-13 02:42:17 +02:00
audioout-imx233.c imx233: fix audio debug screen 2013-07-13 02:42:17 +02:00
audioout-imx233.h imx233: fix audio debug screen 2013-07-13 02:42:17 +02:00
boot.lds imx233: remove useless alignments in linker scripts 2012-05-20 01:35:24 +02:00
button-lradc-imx233.c imx233: add generic lradc based button driver 2013-06-18 16:43:27 +02:00
button-lradc-imx233.h imx233: add generic lradc based button driver 2013-06-18 16:43:27 +02:00
clkctrl-imx233.c imx233: fix clkctrl for stmp3600 and stmp3700 2013-06-17 00:29:24 +02:00
clkctrl-imx233.h imx233: fix clkctrl for stmp3600 and stmp3700 2013-06-17 00:29:24 +02:00
clock-target.h Sansa Fuze+: initial commit (bootloader only, LCD basically working) 2011-05-01 13:02:46 +00:00
crt0.S arm: factor all exception handlers out of the crt0.S files 2012-04-06 13:46:32 +02:00
dcp-imx233.c Fix copyright headers 2012-12-29 01:40:35 +01:00
dcp-imx233.h Fix copyright headers 2012-12-29 01:40:35 +01:00
debug-imx233.c imx233: fix debug screen keys for the zen x-fi3 2013-07-13 03:02:41 +02:00
dma-imx233.c imx233: fix dma for stmp3600 and stmp3700, improve support 2013-06-17 00:29:25 +02:00
dma-imx233.h imx233: increase max dma transfer size 2013-08-21 20:18:36 +02:00
emi-imx233.c imx233: rework emi frequency scaling 2013-08-22 23:42:26 +02:00
emi-imx233.h imx233: add emi debug info 2013-07-07 17:36:20 +02:00
gpmi-imx233.c imx233: add gpmi stubs 2012-05-19 16:10:52 +02:00
gpmi-imx233.h imx233: rewrite gpmi using new register headers 2013-06-16 15:52:03 +02:00
i2c-imx233.c imx233: clarity comment about errata 2013-06-17 00:29:25 +02:00
i2c-imx233.h imx233: rewrite i2c using new register headers 2013-06-16 15:58:36 +02:00
icoll-imx233.c imx233: fix icoll for stmp3600 and stmp3700 2013-06-17 00:29:24 +02:00
icoll-imx233.h imx233: fix icoll for stmp3600 and stmp3700 2013-06-17 00:29:24 +02:00
kernel-imx233.c imx233: rework power management 2013-07-07 17:36:21 +02:00
kernel-imx233.h imx233: always use the timer for kernel tick 2013-06-17 00:29:25 +02:00
lcdif-imx233.c imx233: fix/improve lcdif for stmp3600 and stmp4700, fix drivers 2013-06-17 00:29:25 +02:00
lcdif-imx233.h imx233: fix/improve lcdif for stmp3600 and stmp4700, fix drivers 2013-06-17 00:29:25 +02:00
lradc-imx233.c imx233: fix lradc/adc for stmp3600 and stmp3700 2013-06-17 00:29:25 +02:00
lradc-imx233.h imx233: fix lradc/adc for stmp3600 and stmp3700 2013-06-17 00:29:25 +02:00
nand-imx233.c Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
ocotp-imx233.h imx233: fix ocotop/debug and usb-core for stmp3600 2013-06-24 13:17:17 +02:00
partitions-imx233.c imx233: move the freescale partition handling to its own file 2012-05-19 16:10:52 +02:00
partitions-imx233.h imx233: move the freescale partition handling to its own file 2012-05-19 16:10:52 +02:00
pcm-imx233.c imx233: implement recording side of pcm 2013-06-18 15:45:58 +02:00
pinctrl-imx233.c imx233: fix pinctrl for stmp3600 and stmp3700 2013-06-17 00:29:25 +02:00
pinctrl-imx233.h imx233: fix pinctrl for stmp3600 and stmp3700 2013-06-17 00:29:25 +02:00
power-imx233.c imx233: disable half fets on boot 2013-08-22 23:43:25 +02:00
power-imx233.h imx233: fix power for stmp3600 and stmp3700 2013-06-17 00:29:25 +02:00
powermgmt-imx233.c imx233: rework power management 2013-07-07 17:36:21 +02:00
powermgmt-imx233.h imx233: rework power management 2013-07-07 17:36:21 +02:00
pwm-imx233.c imx233: enhance pwm 2013-06-17 00:29:24 +02:00
pwm-imx233.h imx233: enhance pwm 2013-06-17 00:29:24 +02:00
rtc-imx233.c imx233: implement alarm wake up 2013-07-02 00:45:00 +02:00
rtc-imx233.h imx233: implement alarm wake up 2013-07-02 00:45:00 +02:00
sdmmc-imx233.c imx233: revert sd card high speed (unstable) 2013-08-22 23:46:29 +02:00
ssp-imx233.c imx233: fix drive strength for sd/mmc 2013-08-21 20:18:36 +02:00
ssp-imx233.h imx233: fix drive strength for sd/mmc 2013-08-21 20:18:36 +02:00
system-imx233.c imx233: always set VDDIO to 3.3V 2013-08-22 23:44:15 +02:00
system-target.h imx233: rewrite digctl using new register headers 2013-06-16 18:21:48 +02:00
timer-imx233.c imx233: simplify timer code 2013-06-17 00:29:24 +02:00
timrot-imx233.c imx233: normalise clkctrl 2013-06-17 00:29:24 +02:00
timrot-imx233.h imx233: rewrite timrot using new register headers 2013-06-16 18:21:49 +02:00
touchscreen-imx233.c imx233: rework touchscreen driver 2013-06-18 15:34:54 +02:00
touchscreen-imx233.h Fix copyright headers 2012-12-29 01:40:35 +01:00
uartdbg-imx233.c imx233: add uartdbg driver 2013-06-18 16:24:28 +02:00
uartdbg-imx233.h imx233: add uartdbg driver 2013-06-18 16:24:28 +02:00
usb-imx233.c imx233: normalise clkctrl 2013-06-17 00:29:24 +02:00