rockbox/firmware/target/arm
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
..
archos/av300 button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
as3525 AMS: Change DMA transfer size for audio. 2015-06-01 18:23:57 +02:00
at91sam Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
imx31 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
imx233 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
ipod Fix red/yellow 2015-01-12 12:02:24 +01:00
iriver Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
olympus Fix red/yellow 2015-01-12 12:02:24 +01:00
pbell Fix red/yellow round #2 2015-01-12 13:25:14 +01:00
philips Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
pnx0101 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
pp Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
rk27xx Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
s3c2440 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
s5l8700 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
s5l8702 iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
samsung Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
sandisk Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tatung Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tcc77x Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tcc780x Fix red/yellow 2015-01-12 12:02:24 +01:00
tms320dm320 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
ata-as-arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
ata-nand-telechips.c Add missing kernel.h includes (hopefully all of them). 2014-01-05 20:32:09 +01:00
bits-armv4.S Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
bits-armv6.S Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
crt0.S arm: factor all exception handlers out of the crt0.S files 2012-04-06 13:46:32 +02:00
i2c-telechips.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
lcd-c200_c200v2.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-ssd1815.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
mmu-arm.h Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
mmu-arm.S imx233: define HAVE_TEST_AND_CLEAN_CACHE 2012-06-07 14:48:43 +02:00
mmu-armv6.S Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
pcm-telechips.c Fix errors in unintentionally merged gerrit commit. 2012-03-03 01:45:09 -05:00
powermgmt-ascodec.c AMSv2: add proper definitions for charge current 2012-03-04 12:23:05 +01:00
system-arm.c Restore backtrace which was accidentely commented out 2012-05-19 16:55:07 +02:00
system-arm.h Create fimrware/asm directory for assembly optimized stuff. 2012-01-22 18:46:44 +01:00
usb-drv-arc.c Get rid of usb_drv_attach() from USB code. 2013-05-14 22:13:38 -04:00
usb-s3c6400x.c Make sure the USB PHY is disabled after use. Patch by Mihail Zenkov who has 2014-09-28 21:07:45 +02:00
usb-tcc.c usb-target.h: remove 2011-12-31 18:44:55 +00:00
wmcodec-telechips.c D2 also needs audiohw_preinit() 2008-11-28 23:44:06 +00:00