tmp_suning_uos_patched/drivers/power
Philipp Zabel 5bf2b994bf pda_power: Add optional OTG transceiver and voltage regulator support
This patch allows machines to use an OTG transceiver driver instead of
supplying a custom is_usb_online callback to check USB power.
Also, in the case that the OTG transceiver handles charger control when
connected to USB, a regulator named "ac_draw" can be supplied instead of
the custom set_charge callback to control the charger when connected to
AC.

The check for (transceiver->state == OTG_STATE_B_PERIPHERAL) in
otg_is_usb_online is probably too simple, I'm just using this with a
peripheral only device and gpio_vbus + bq24022. I'm not sure which other
OTG states can supply power.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2009-02-02 20:15:47 +03:00
..
apm_power.c Driver Core: add ability for class_for_each_device to start in middle of list 2008-07-21 21:54:47 -07:00
bq27x00_battery.c bq27x00_battery: use unaligned access helper 2008-09-26 03:46:12 +04:00
da9030_battery.c power_supply: Add Dialog DA9030 battery charger driver 2009-01-04 12:17:41 +01:00
ds2760_battery.c power-supply: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:38 -08:00
Kconfig power_supply: PCF50633 battery charger driver 2009-01-11 01:34:24 +01:00
Makefile power_supply: PCF50633 battery charger driver 2009-01-11 01:34:24 +01:00
olpc_battery.c olpc: olpc_battery.c sparse endian annotations 2008-10-16 11:21:30 -07:00
pcf50633-charger.c pcf50633_charger: Remove unused mbc_set_status function 2009-02-02 19:58:45 +03:00
pda_power.c pda_power: Add optional OTG transceiver and voltage regulator support 2009-02-02 20:15:47 +03:00
pmu_battery.c PMU battery: filenames in sysfs with spaces 2008-05-03 03:40:42 +04:00
power_supply_core.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-18 20:28:24 +04:00
power_supply_leds.c
power_supply_sysfs.c power_supply: Add cold to the POWER_SUPPLY_HEALTH report values 2009-01-04 12:17:39 +01:00
power_supply.h
tosa_battery.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
wm97xx_battery.c [ARM] 5248/1: wm97xx generic battery driver 2008-10-02 22:48:34 +01:00
wm8350_power.c power_supply: Add battery health reporting for WM8350 2009-01-04 12:17:39 +01:00