rockbox/firmware
Cástor Muñoz 609cde9468 iPod Classic: s5l8702 GPIO interrupt controller.
This patch implements a simple API to use the external interrupt
hardware present on s5l8702 (GPIO interrupt controller). This
GPIOIC has been fully tested using emcore apps.

Code is based on openiBoot project, there are a few modifications
to optimize space considering we will only use two or three external
interrupts. The API compiles and works, but has been never used,
therefore probably will need some changes to the final version.

External interrupts are necessary for jack remote+mic controller
(see iAP Interface Specifiction: Headphone Remote and Mic System),
this controller is located at I2C bus address 0x72, there is a IRQ
line for remote button press/release events routed to GPIO E6. At
this moment, the functionallity of this controller has been
extensively tested using emcore, getting a lot of information about
how it works. Microphone is already working on RB, jack accessory
detection and button events are work in progress.

PMU IRQ line is also routed to GPIO F3, it signals many events:
holdswitch, usb plug, wall adapter, low battery... The use of PMU
interrupts is the orthodox way of doing things, at this moment
there is no work done in this direction, there are a lot of PMU
events and i think it is a matter of discursion what to do and how.

Change-Id: Icc2e48965e664ca56c9518d84a81c9d9fdd31736
2015-10-07 06:15:03 +02:00
..
asm Fix YUV generic C performance function on 24-bit framebuffer 2014-11-10 20:30:16 +01:00
common Fix warning in firmware/common/structec.c 2015-02-24 16:27:16 -05:00
decompressor
drivers Samsung YHxxx: reduce pop noise on power down 2015-09-24 23:06:18 +02:00
export iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
include Improve core_alloc() / buflib_alloc() documentation 2015-01-02 18:51:15 +01:00
kernel Remove I/O priority. It is harmful when used with the new file code. 2014-08-30 14:01:21 -04:00
libc mktime(): Remove redundant assignment of 'result' 2015-01-04 17:37:35 +01:00
target iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
test Limit more variables to file scope 2015-01-11 21:40:51 +01:00
usbstack Revert "usb_storage: make it a bit more correct" 2015-02-16 14:06:28 +01:00
arabjoin.c
arabjoin.h
ata_idle_notify.c Fix reds. 2014-03-14 23:43:45 +01:00
backlight-sw-fading.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
backlight.c iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
bidi.c
buflib.c buflib: Switch from term "cookie" to "metadata" 2015-01-02 19:26:03 +01:00
COPYING
core_alloc.c Make a few local variables static 2015-01-11 18:02:43 +01:00
debug.c Redirect (L)DEBUGFs to adb logcat in DEBUG enabled builds. 2010-09-20 17:38:47 +00:00
eeprom_settings.c
enc_base.c
events.c Make thirty functions static to reduce binary size 2015-01-05 18:44:36 +01:00
firmware.make Prevent spurious recompiles on account of changed version. 2014-08-28 15:48:56 +02:00
font.c
font_cache.c
general.c kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
hangul.c
ifp_usb_serial.c Make thirty functions static to reduce binary size 2015-01-05 18:44:36 +01:00
load_code.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
logf.c Make a few local variables static 2015-01-11 18:02:43 +01:00
lru.c
panic.c panicf doesn't return so why not tell GCC and $AVE : 2014-08-25 13:55:16 -04:00
pcm.c Greatly reduce volume-change zipper artifacts with SW volume. 2014-03-08 08:04:41 +01:00
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c Greatly reduce volume-change zipper artifacts with SW volume. 2014-03-08 08:04:41 +01:00
powermgmt.c iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
profile.c
README
rolo.c
rom.lds
screendump.c Fix warnings in firmware/screendump.c 2015-02-24 16:55:26 -05:00
scroll_engine.c
sdmmc.c
sound.c
SOURCES iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
storage.c Remove I/O priority. It is harmful when used with the new file code. 2014-08-30 14:01:21 -04:00
system.c
timer.c
tuner.c
usb.c usb: finally get rid of USE_ROCKBOX_USB in Sansa bootloader, use bootloader usb 2015-01-08 22:30:22 +01:00

See docs/README