The following patches are a prototype for supporting notification of some usb events to whoever is interested in them.
This way we can communicate common usb events to several interested drivers so they can e.g. kick usb charger detection and configure charging with proper input current. THEY ARE NOT READY AND ARE NOT SUPPOSED TO BE APPLIED TO ANY BRANCH. please comment. ps: patches were compile tested only. Felipe Balbi (5): usb: otg: add notifier support usb: otg: twl4030: add support for notifier usb: musb: add support for ulpi block usb: musb: isp1704: add registers from isp1704 usb: musb: musb supports otg notifier drivers/usb/musb/isp1704.h | 81 +++++++++++++++++++++++++++++++++++++++++ drivers/usb/musb/musb_core.c | 72 ++++++++++++++++++++++++++++++++++++ drivers/usb/musb/musb_core.h | 5 +++ drivers/usb/musb/musb_regs.h | 62 +++++++++++++++++++++++++++++++ drivers/usb/otg/twl4030-usb.c | 7 +++- include/linux/usb/otg.h | 25 +++++++++++++ 6 files changed, 250 insertions(+), 2 deletions(-) create mode 100644 drivers/usb/musb/isp1704.h -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html