Skip to content

RFC usb: musb: charger detection

Kishon Vijay Abraham I linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 of 6 patches 0 repliesNew

4 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/6usb: musb: omap4430_phy_power to enable/disable clocks and power up/down phyarch/arm/mach-omap2/omap_phy_internal.c+11 -00 replies
3/6OMAP4: TWL6030: add USB charger detectionarch/arm/mach-omap2/omap_phy_internal.c arch/arm/plat-omap/include/plat/usb.h drivers/usb/otg/twl6030-usb.c+88 -140 replies
4/6MUSB Charger Type Detection: Fix DCP detect during boot.arch/arm/mach-omap2/omap_phy_internal.c+5 -00 replies
6/6twl6030: set charger current to be used by battery charging moduledrivers/usb/otg/twl6030-usb.c+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/6] usb: musb: charger detection

This provides a series of patches contributed by several people to do correct charger detection and solve issues that came along with the charger detection implementation.

USB_EVENT_NONE notification is sent only when a PC cable/CDP cable or a device connected to MUSB is detached.

USB_EVENT_VBUS notification is sent only when a PC cable/CDP cable or a device is connected to MUSB.

Developed on:
git://github.com/torvalds/linux.git
commit id: cc39c6a9bbdebfcf1a7dee64d83bf302bc38d941

This patch series is developed and tested on top of Heikki Krogerus patch series (version4) [1]

Basic Testing:
Tested with gadget zero enabled for charger detection (PC/DCP). Data transfer testing is done on both omap4 and omap3 with ./testusb. Tested for device enumeration when a device is connected to MUSB.

[1] http://www.spinics.net/lists/linux-usb/msg51038.html

Balaji T K (2):
OMAP4: TWL6030: add USB charger detection
twl6030: set charger current to be used by battery charging module

Kishon Vijay Abraham I (2):
usb: musb: omap: Configure OTG_INTERFSEL for proper charger detection
usb: musb: omap4430_phy_power to enable/disable clocks and power
up/down phy

Sergii Postulga (1):
OMAP4: PHY internal: Add msleep_interruptible to charger detection
function

Viswanath Puttagunta (1):
MUSB Charger Type Detection: Fix DCP detect during boot.

 arch/arm/mach-omap2/omap_phy_internal.c |   67 +++++++++++++++++++++++++++++++
 arch/arm/plat-omap/include/plat/usb.h   |    1 +
 drivers/usb/musb/omap2430.c             |   50 +++++++++++++++++++----
 drivers/usb/otg/twl6030-usb.c           |   64 +++++++++++++++++++++++------
 4 files changed, 159 insertions(+), 23 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html