rockbox/firmware/target
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
..
arm iPod Classic: initialize USB power configuration 2015-10-07 06:15:04 +02:00
coldfire Fix red/yellow 2015-01-12 12:02:24 +01:00
hosted iBasso DX90 sound enabling fix 2015-02-14 18:10:54 +03:00
mips Fix red/yellow 2015-01-12 12:02:24 +01:00
sh Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00