rockbox/firmware/target/arm/s5l8702/ipod6g
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
..
adc-ipod6g.c New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
adc-target.h New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
audio-ipod6g.c ipod Classic: implement HAVE_RECORDING 2015-10-07 06:15:03 +02:00
backlight-ipod6g.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
backlight-target.h Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
button-target.h button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
cscodec-ipod6g.c iPod Classic: Enable boosting by switching the CPU between 1x and 2x AHB clock 2011-02-09 21:45:57 +00:00
lcd-asm-ipod6g.S iPod Classic: YUV to RGB optimizations for ARM v5+ 2014-12-10 20:39:34 +01:00
lcd-ipod6g.c iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
mmcdefs-target.h iPod Classic: HDD endianness change 2011-12-28 16:06:13 +00:00
piezo-ipod6g.c iPod Classic: configure piezo GPIO ports 2014-12-08 03:11:34 +01:00
piezo.h FS#12524 - iPod Classic/6G: hardware click support 2012-02-11 23:46:35 +01:00
pmu-ipod6g.c iPod Classic/6G: fix battery voltage ADC scale 2013-01-09 22:08:27 +01:00
pmu-target.h New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
power-ipod6g.c iPod Classic: initialize USB power configuration 2015-10-07 06:15:04 +02:00
powermgmt-ipod6g.c iPod Classic: implement IPOD_ACCESSORY_PROTOCOL 2015-10-07 06:15:03 +02:00
rtc-ipod6g.c New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
serial-ipod6g.c iPod Classic: implement IPOD_ACCESSORY_PROTOCOL 2015-10-07 06:15:03 +02:00
storage_ata-ipod6g.c iPod Classic: do not use HDD features on CE-ATA drives 2015-07-17 01:03:51 +02:00