Skip to content

RFC usb: musb: add new phy driver

Kishon Vijay Abraham I linux-arm-kernel linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drivers: usb: otg: add a new driver for omap usb2 phydrivers/usb/otg/Kconfig drivers/usb/otg/Makefile drivers/usb/otg/omap-usb2.c +2 more+327 -41 reply
2/3usb: musb: omap glue: use omap-usb2 as the phy driverarch/arm/mach-omap2/usb-musb.c drivers/usb/musb/musb_core.h drivers/usb/musb/omap2430.c +3 more+187 -2100 replies
3/3arm: omap: phy: remove unused functions from omap-phy-internal.carch/arm/mach-omap2/omap_phy_internal.c arch/arm/mach-omap2/twl-common.c+0 -1432 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchTony Lindgren
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/3] usb: musb: add new phy driver

This series adds a new usb2 phy driver. The device for which is created by the ocp2scp driver. This also uses control module driver.

This series converts twl6030 as a comparator driver (previously it was also the phy driver) and makes use of omap-usb2 as the phy driver.

Instead of notification mechanism by power chip to omap glue to pass detection of any events, an export API has been added in omap glue. Both twl4030 and twl6030 will call to this API to pass any event. (twl6030 is used in omap4 and twl4030 is used in omap3).

This series depends on:
*[RFC PATCH 00/11] OMAP System Control Module* patch series However System Control Module driver has only dt support, so wouldn't be able to test this patch series. However I'll adapt omap usb2 phy driver and musb driver for dt and send it asap to the list.

This series also depends on:
*[PATCH v3 0/3] usb: multi-phy support* patch series *[RFC PATCH 0/5] omap: add ocp2scp as a misc driver* patch series

Compile tested only.

Kishon Vijay Abraham I (3):
drivers: usb: otg: add a new driver for omap usb2 phy
usb: musb: omap glue: use omap-usb2 as the phy driver
arm: omap: phy: remove unused functions from omap-phy-internal.c

 arch/arm/mach-omap2/omap_phy_internal.c |  138 ------------------
 arch/arm/mach-omap2/twl-common.c        |    5 -
 arch/arm/mach-omap2/usb-musb.c          |    3 -
 drivers/usb/musb/musb_core.h            |    1 -
 drivers/usb/musb/omap2430.c             |  150 ++++++++++++++------
 drivers/usb/otg/Kconfig                 |   17 ++-
 drivers/usb/otg/Makefile                |    1 +
 drivers/usb/otg/omap-usb2.c             |  232 +++++++++++++++++++++++++++++++
 drivers/usb/otg/twl4030-usb.c           |   40 ++----
 drivers/usb/otg/twl6030-usb.c           |  172 +++++------------------
 include/linux/usb/musb-omap.h           |   31 ++++
 include/linux/usb/omap_usb.h            |   47 ++++++
 include/linux/usb/phy_companion.h       |   34 +++++
 13 files changed, 514 insertions(+), 357 deletions(-)
 create mode 100644 drivers/usb/otg/omap-usb2.c
 create mode 100644 include/linux/usb/musb-omap.h
 create mode 100644 include/linux/usb/omap_usb.h
 create mode 100644 include/linux/usb/phy_companion.h
Signature · 1 line
1.7.5.4