From: Heikki Krogerus <ext-heikki.krogerus@xxxxxxxxx> There are a few modifications in isp1704_charger_work() and in isp1704_notifier_call() that I would like you guys to check. Changes since v1: - No more platform_device registering in the driver - in Kconfig, only depending on USB_OTG_UTILS - power_supply_changed() called only when isp->present changed - cleanups Heikki Krogerus (2): power_supply: add isp1704 charger detection driver omap: rx51: add support for USB chargers arch/arm/mach-omap2/board-rx51-peripherals.c | 5 + drivers/power/Kconfig | 7 + drivers/power/Makefile | 1 + drivers/power/isp1704_charger.c | 370 ++++++++++++++++++++++++++ 4 files changed, 383 insertions(+), 0 deletions(-) create mode 100644 drivers/power/isp1704_charger.c -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html