rockbox/firmware/target/arm/pp
Michael Sevakis 783c77531c AMS: Return ascodec to interrupt-based I2C2 driver
1. Slightly revised and regularized internal interface. Callback is used
for read and write to provide completion signal instead of having two
mechanisms.

2. Lower overhead for asynchronous or alterate completion callbacks. We
now only init what is required by the transfer. A couple unneeded
structure members were also nixed.

3. Fixes a bug that would neglect a semaphore wait if pumping the I2C
interrupts in a loop when not in thread state or interrupts are masked.

4. Corrects broken initialization order by defining KDEV_INIT, which
makes kernel_init() call kernel_device_init() to initialize additional
devices _after_ the kernel, threading and synchronization objects are
safe to use.

5. Locking set_cpu_frequency has to be done at the highest level in
system.c to ensure the boost counter and the frequency are both set in
agreement. Reconcile the locking inteface between PP and AMS (the only
two currently using locking there) to keep it clean.

Now works fine with voltages in GIT HEAD on my Fuze v2, type 0.
Previously, everything crashed and died instantly. action.c calling
set_cpu_frequency from a tick was part of it. The rest may have been
related to 3. and 4. Honestly, I'm not certain!

Testing by Mihail Zenkov indicates it solves our problems. This will
get the developer builds running again after the kernel assert code
push.

Change-Id: Ie245994fb3e318dd5ef48e383ce61fdd977224d4
2017-01-25 00:05:13 +01:00
..
adc-pp5020.c Samsung YH-925: Don't add anything to adc value while reading it. 2014-07-28 22:11:33 +02:00
app-pp.lds Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
ascodec-pp.c Red Alert 2016-04-06 00:39:23 +00:00
ata-pp5002.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
ata-pp5020.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
ata-sd-pp.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
ata-target.h
audio-pp.c Radio and radio recording for Samsung YH-920. 2014-06-18 18:06:17 +00:00
boot-pp.lds Fix d2249dc errors 2013-07-19 08:37:40 -04:00
boot-pp502x-bl-usb.lds Fix path to PP USB bootloader crt0 2012-01-03 04:47:29 +00:00
crt0-pp-bl.S move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
crt0-pp.S Remove data_abort_handler from ARM crt0 files. 2013-05-24 02:02:04 +02:00
crt0-pp502x-bl-usb.S Remove data_abort_handler from ARM crt0 files. 2013-05-24 02:02:04 +02:00
debug-pp.c Replace SAMSUNG_YH920_PAD with YH92X 2016-01-25 09:23:09 +01:00
i2c-pp.c ascodec-target.h: remove 2012-01-08 01:43:16 +00:00
i2s-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
kernel-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
mi4-loader.c crc-mi4: use const lookup table for crc 2014-07-07 12:54:50 +02:00
pcm-pp.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
sd-pp-target.h
system-pp502x.c AMS: Return ascodec to interrupt-based I2C2 driver 2017-01-25 00:05:13 +01:00
system-pp5002.c AMS: Return ascodec to interrupt-based I2C2 driver 2017-01-25 00:05:13 +01:00
system-target.h AMS: Return ascodec to interrupt-based I2C2 driver 2017-01-25 00:05:13 +01:00
thread-pp.c Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
timer-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
uart-pp.c Add IAP support to iPod Mini 1G. 2013-11-20 21:20:54 +01:00
usb-fw-pp502x.c Sansa View: define a GPIO bit for USB detection in order to compile the bootloader. 2014-03-27 22:29:34 +00:00
usb-fw-pp5002.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
wmcodec-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00