rockbox/firmware/target/arm/s5l8700/ipodnano2g
Michael Sparmann bc56811a0e iPod Nano 2G and Classic: Fix power and charging detection.
This should allow FireWire charging to work on these devices.
It also adds charging state detection on the iPod Classic.

(cherry picked from commit fa86fec4fb089b47f5c2c3b1f2f3dbc97551895b)

On Classic (and probably Nano 2G), it seems that the 100/500mA limit
applies only to USB chargers, when FW is connected it supplies all the
power (even if USB is also connected) and USB current limit does not
affect to FW charging, therefore the limit is only set when USB is
connected.

Change-Id: I7c6bab1b6a0f295367999c45faeda6085c3fb091
Signed-off-by: Cástor Muñoz <cmvidal@gmail.com>
2016-02-14 15:42:54 +01:00
..
adc-nano2g.c Implement (unused) ADC wrapper for Nano2G to fix the red 2010-03-11 14:02:59 +00:00
audio-nano2g.c Nano2G - remove HAVE_RECORDING from config-ipodnano2g.h as it's not implmented yet, and properly #ifdef audio-nano2g.c 2009-10-11 09:17:12 +00:00
backlight-nano2g.c 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
ftl-nano2g.c Improve readability by adding parenthesis 2015-01-11 18:19:26 +01:00
ftl-target.h emBIOS backports part two: Fix a stupid global variable *instantiation* in a header file, which might have caused all hell of trouble. 2010-08-12 08:46:52 +00:00
lcd-asm-nano2g.S Remove superfluous executable bits on a bunch of files. 2011-06-08 14:22:03 +00:00
lcd-nano2g.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
nand-nano2g.c Swap red and yellow for green on r31339's cranky builds. 2011-12-17 07:54:00 +00:00
nand-target.h emBIOS backports part three: Make the NAND flash driver return more useful error codes if initialization fails. 2010-08-12 08:49:12 +00:00
piezo-nano2g.c Make more local functions static. 2011-12-21 17:36:18 +00:00
piezo.h Fix the gpl notice in the previous commits new files, and fix the yelow gevearts naughtily ignored 2011-11-16 10:37:48 +00:00
pmu-nano2g.c ipod nano 2g: make functions/variables static where possible, add missing #includes 2010-08-08 10:49:32 +00:00
pmu-target.h Enable iPod Nano 2G boosting (without undervolting for now) 2010-02-17 15:54:48 +00:00
power-nano2g.c iPod Nano 2G and Classic: Fix power and charging detection. 2016-02-14 15:42:54 +01:00
powermgmt-nano2g.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
rtc-nano2g.c iPod Nano 2G PMU rework, added backlight brightness setting and USB charging speed setting 2009-10-11 18:20:56 +00:00