summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/pcf50633/mbc.h
Commit message (Collapse)AuthorAgeFilesLines
* pcf50633: Query charger status directlyPaul Fertser2009-11-161-0/+1
| | | | | | | | | | | | | | Current scheme is fragile and is likely to go off sync, especially on batfull->adapter charging automatic MBC transition. Query the status bit every time we need it instead. We need to export another function to query for USB presence because we can't read anything from PCF50633 (via I2C) inside irq context and that is needed by usb gadgets. Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
* pcf50633_charger: Remove unused mbc_set_status functionBalaji Rao2009-02-021-1/+0Star
| | | | | | | | The 'pcf50633_mbc_set_status' function is unused, so remove it. Signed-off-by: Balaji Rao <balajirrao@openmoko.org> Cc: Andy Green <andy@openmoko.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
* power_supply: PCF50633 battery charger driverBalaji Rao2009-01-111-0/+134
Signed-off-by: Balaji Rao <balajirrao@openmoko.org> Cc: Andy Green <andy@openmoko.com> Cc: David Woodhouse <dwmw2@infradead.org> Acked-by: Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: Samuel Ortiz <sameo@openedhand.com>