rockbox/firmware/target/arm/s5l8702
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
..
ipod6g iPod Classic: do not use HDD features on CE-ATA drives 2015-07-17 01:03:51 +02:00
app.lds Get the linker files that slipped through in r31337. 2011-12-17 02:00:59 +00:00
boot.lds Get the linker files that slipped through in r31337. 2011-12-17 02:00:59 +00:00
crt0.S arm: factor all exception handlers out of the crt0.S files 2012-04-06 13:46:32 +02:00
debug-s5l8702.c iPod Classic: fix s5l8702 cache line length. 2014-11-13 23:00:33 +01:00
gpio-s5l8702.c iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
gpio-s5l8702.h iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
i2c-s5l8702.c
kernel-s5l8702.c iPod Classic: minor modifications in TIMER 2014-12-08 03:07:44 +01:00
pcm-s5l8702.c iPod Classic: fix HW_FREQ_32 2014-11-18 06:22:32 +01:00
pcm-target.h
system-s5l8702.c iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
system-target.h Fix last warnings. 2014-03-03 20:34:46 +01:00
timer-s5l8702.c iPod Classic: minor modifications in TIMER 2014-12-08 03:07:44 +01:00