Skip to content

usb: phy: cleanups to Kconfig and directories

Felipe Balbi linux-omap linux-tegra 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 of 10 patches 15 repliesIn review

8 of 10 patches are in this archive. The cover letter announces 10.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10usb: otg: prefix otg_state_string with usb_drivers/usb/musb/am35x.c drivers/usb/musb/blackfin.c drivers/usb/musb/da8xx.c +13 more+63 -620 replies
2/10usb: otg: move usb_otg_state_string to usb-common.cdrivers/usb/otg/Makefile drivers/usb/otg/otg.c drivers/usb/usb-common.c +1 more+26 -570 replies
3/10usb: phy: convert EXPORT_SYMBOL to EXPORT_SYMBOL_GPLdrivers/usb/phy/phy.c+10 -100 replies
4/10usb: phy: move all PHY drivers to drivers/usb/phy/drivers/usb/Kconfig drivers/usb/Makefile drivers/usb/otg/Kconfig +19 more+171 -1870 replies
5/10usb: phy: make it a menuconfigdrivers/Makefile drivers/usb/phy/Kconfig drivers/usb/phy/Makefile +1 more+15 -80 replies
7/10usb: gadget: mv_udc_core: check against CONFIG_USB_PHYdrivers/usb/gadget/mv_udc_core.c+1 -10 replies
9/10usb: ehci: tegra: check against CONFIG_USB_PHYdrivers/usb/host/ehci-tegra.c+3 -32 replies
10/10usb: phy: remove CONFIG_USB_OTG_UTILSdrivers/usb/phy/Kconfig+0 -231 reply

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlan Stern
SeriesA-b
1/10
2/10
3/10
4/10
5/10
7/10
9/10
10/10

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

Read the v1 thread

Cover letter [PATCH 00/10] usb: phy: cleanups to Kconfig and directories

Hi folks,

inspired by Paul's DWC2 patchset which added usb_otg_state_string() (a copy of otg_state_string()) I have now renamed otg_state_string() to usb_otg_state_string(), moved it to usb-common, then moved all phy drivers to drivers/usb/phy/ and completely deleted the otg directory.

We're also removing CONFIG_USB_OTG_UTILS since that has lots its meaning long ago.

I have compiled all patches with allyes, allno and allmod configs, but please make sure to test on your platforms to make sure we're not leaking any more problems to mainline.

Felipe Balbi (10):
usb: otg: prefix otg_state_string with usb_
usb: otg: move usb_otg_state_string to usb-common.c
usb: phy: convert EXPORT_SYMBOL to EXPORT_SYMBOL_GPL
usb: phy: move all PHY drivers to drivers/usb/phy/
usb: phy: make it a menuconfig
usb: power: pda_power: check against CONFIG_USB_PHY
usb: gadget: mv_udc_core: check against CONFIG_USB_PHY
usb: ehci: marvel: check against CONFIG_USB_PHY
usb: ehci: tegra: check against CONFIG_USB_PHY
usb: phy: remove CONFIG_USB_OTG_UTILS

 drivers/Makefile                         |   2 +-
 drivers/power/pda_power.c                |  14 +--
 drivers/usb/Kconfig                      |   2 -
 drivers/usb/Makefile                     |   2 -
 drivers/usb/gadget/mv_udc_core.c         |   2 +-
 drivers/usb/host/ehci-mv.c               |   4 +-
 drivers/usb/host/ehci-tegra.c            |   6 +-
 drivers/usb/musb/am35x.c                 |   8 +-
 drivers/usb/musb/blackfin.c              |   6 +-
 drivers/usb/musb/da8xx.c                 |   8 +-
 drivers/usb/musb/davinci.c               |   4 +-
 drivers/usb/musb/musb_core.c             |  39 ++++----
 drivers/usb/musb/musb_dsps.c             |   8 +-
 drivers/usb/musb/musb_gadget.c           |   8 +-
 drivers/usb/musb/musb_host.c             |   2 +-
 drivers/usb/musb/musb_virthub.c          |   4 +-
 drivers/usb/musb/omap2430.c              |   6 +-
 drivers/usb/musb/tusb6010.c              |  14 +--
 drivers/usb/otg/Kconfig                  | 141 --------------------------
 drivers/usb/otg/Makefile                 |  24 -----
 drivers/usb/otg/otg.c                    |  47 ---------
 drivers/usb/phy/Kconfig                  | 166 ++++++++++++++++++++++++++-----
 drivers/usb/phy/Makefile                 |  26 ++++-
 drivers/usb/{otg => phy}/ab8500-usb.c    |   0
 drivers/usb/{otg => phy}/fsl_otg.c       |   2 +-
 drivers/usb/{otg => phy}/fsl_otg.h       |   0
 drivers/usb/{otg => phy}/gpio_vbus.c     |   0
 drivers/usb/{otg => phy}/isp1301_omap.c  |   6 +-
 drivers/usb/{otg => phy}/msm_otg.c       |   0
 drivers/usb/{otg => phy}/mv_otg.c        |   0
 drivers/usb/{otg => phy}/mv_otg.h        |   0
 drivers/usb/{otg => phy}/mxs-phy.c       |   0
 drivers/usb/{otg => phy}/nop-usb-xceiv.c |   0
 drivers/usb/{otg => phy}/otg_fsm.c       |   2 +-
 drivers/usb/{otg => phy}/otg_fsm.h       |   0
 drivers/usb/phy/phy.c                    |  20 ++--
 drivers/usb/{otg => phy}/twl4030-usb.c   |   0
 drivers/usb/{otg => phy}/twl6030-usb.c   |   0
 drivers/usb/{otg => phy}/ulpi.c          |   0
 drivers/usb/{otg => phy}/ulpi_viewport.c |   0
 drivers/usb/usb-common.c                 |  26 +++++
 include/linux/usb/otg.h                  |   9 +-
 include/linux/usb/phy.h                  |   2 +-
 43 files changed, 274 insertions(+), 336 deletions(-)
 delete mode 100644 drivers/usb/otg/Kconfig
 delete mode 100644 drivers/usb/otg/Makefile
 delete mode 100644 drivers/usb/otg/otg.c
 rename drivers/usb/{otg => phy}/ab8500-usb.c (100%)
 rename drivers/usb/{otg => phy}/fsl_otg.c (99%)
 rename drivers/usb/{otg => phy}/fsl_otg.h (100%)
 rename drivers/usb/{otg => phy}/gpio_vbus.c (100%)
 rename drivers/usb/{otg => phy}/isp1301_omap.c (99%)
 rename drivers/usb/{otg => phy}/msm_otg.c (100%)
 rename drivers/usb/{otg => phy}/mv_otg.c (100%)
 rename drivers/usb/{otg => phy}/mv_otg.h (100%)
 rename drivers/usb/{otg => phy}/mxs-phy.c (100%)
 rename drivers/usb/{otg => phy}/nop-usb-xceiv.c (100%)
 rename drivers/usb/{otg => phy}/otg_fsm.c (99%)
 rename drivers/usb/{otg => phy}/otg_fsm.h (100%)
 rename drivers/usb/{otg => phy}/twl4030-usb.c (100%)
 rename drivers/usb/{otg => phy}/twl6030-usb.c (100%)
 rename drivers/usb/{otg => phy}/ulpi.c (100%)
 rename drivers/usb/{otg => phy}/ulpi_viewport.c (100%)
Signature · 1 line
1.8.1.rc1.5.g7e0651a