rockbox/firmware/target/arm/s5l8702
Cástor Muñoz 32b4558511 iPod Classic: initialize USB power configuration
This patch limits the drawn USB current to 100/500mA, instead of
the actual 200/1000mA settings. It also initializes other USB power
related GPIOs.

Solves some USB disconnect issues: FS#12990, FS#12956. I am using a
powered USB HUB with no problems (Vusb=5.05V unloaded), but there
are lots of USB disconnects when using the motherboard USB ports
(Vusb=4.91V), this patch solves all my issues.

Actually, it seems that the USB current drain is limited to 1000mA,
when a load peak occurs most USB2 ports deliver more than 500mA, as
current consumption increases the USB voltage decreases, an excesive
voltage drop produces USB disconnections. Limiting USB current drain
to 500mA also limits the voltage drop, preventing subsequent USB
failures.

Anyway, to minimize voltage drop, it is recommended to use quality
cables and preferably connect to USB ports with higher Vusb.

Change-Id: I1b931aa18ec93bfd1214e475a72e42893eff52f6
2015-10-07 06:15:04 +02:00
..
ipod6g iPod Classic: initialize USB power configuration 2015-10-07 06:15:04 +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: implement HAVE_SERIAL 2015-10-07 06:15:03 +02:00
dma-s5l8702.c iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
dma-s5l8702.h iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
gpio-s5l8702.c ipod Classic: implement HAVE_RECORDING 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 Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00
kernel-s5l8702.c iPod Classic: minor modifications in TIMER 2014-12-08 03:07:44 +01:00
pcm-s5l8702.c ipod Classic: implement HAVE_RECORDING 2015-10-07 06:15:03 +02:00
pcm-target.h iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
pl080.c iPod Classic: introduce PL080 DMA controller driver 2015-10-07 06:15:03 +02:00
system-s5l8702.c iPod Classic: implement HAVE_SERIAL 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
uart-s5l8702.c iPod Classic: implement HAVE_SERIAL 2015-10-07 06:15:03 +02:00
uart-s5l8702.h iPod Classic: implement HAVE_SERIAL 2015-10-07 06:15:03 +02:00
uc8702.c iPod Classic: introduce s5l8702 UART driver 2015-10-07 06:15:03 +02:00
uc8702.h iPod Classic: introduce s5l8702 UART driver 2015-10-07 06:15:03 +02:00