All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management
@ 2013-04-01 13:53 Vivek Gautam
  2013-04-01 13:54 ` [PATCH v3 01/11] usb: phy: Add APIs for " Vivek Gautam
                   ` (9 more replies)
  0 siblings, 10 replies; 67+ messages in thread
From: Vivek Gautam @ 2013-04-01 13:53 UTC (permalink / raw)
  To: linux-usb, linux-samsung-soc, linux-omap
  Cc: linux-kernel, gregkh, balbi, stern, sarah.a.sharp, rob.herring,
	kgene.kim, kishon, dianders, t.figa, p.paneri

This patch-series enables runtime power management on xhci-plat,
dwc3-core, dwc3-exynos as well as on Samsung's USB 2.0 type and
USB 3.0 type PHYs.

Based on 'next' branch of Felipe Balbi's USB tree.

Changes from v2:
 - Using separate functions for USB PHY runtime power management, instead of
   using macros.
 - Adding 'pm_runtime_set_suspended()' api call in dwc3 core layer before
   enabling runtime pm. (Ideally, we should be explicitly make device
   'suspended' or 'active' before enabling runtime pm on it).
 - Checking return code for 'put_sync' and 'get_sync' of USB-PHYs when
   waking up or suspending them from dwc3 core's runtime_pm callbacks.
 - Removed buggy pm_runtime_put() calls from driver's (xhci, dwc3 and PHY)
   remove functions.
 - Adding a patch to enable runtime power management of Samsung's USB 2.0 PHY
   (usb: phy: samsung: Enable runtime power management on usb2phy)

Changes from v1:
 - Adding required PHY APIs to handle runtime power management
   instead of directly twiddling with phy->dev.
 - Handling runtime power management of usb PHYs in dwc3 core
   driver instead of in any glue layer.
 - Splitting the patch:
   [PATCH 4/4] usb: phy: samsung: Enable runtime power management on samsung-usb
   into required number to bifurcate functionality.

Vivek Gautam (11):
  usb: phy: Add APIs for runtime power management
  USB: dwc3: Adjust runtime pm to allow autosuspend
  usb: dwc3: Enable runtime pm only after PHYs are initialized
  usb: dwc3: Add runtime power management callbacks
  usb: dwc3: exynos: Enable runtime power management
  usb: xhci: Enable runtime pm in xhci-plat
  usb: phy: samsung: Enable runtime power management on usb2phy
  usb: phy: samsung: Enable runtime power management on usb3phy
  usb: phy: samsung: Add support for external reference clock
  usb: phy: samsung: Add support for PHY ref_clk gpio
  usb: phy: samsung: Add support for PHY refclk switching

 drivers/usb/dwc3/core.c            |   59 ++++++++++++++--
 drivers/usb/dwc3/dwc3-exynos.c     |   12 +++
 drivers/usb/host/xhci-plat.c       |    6 ++
 drivers/usb/phy/phy-samsung-usb.c  |   26 +++++++
 drivers/usb/phy/phy-samsung-usb.h  |    1 +
 drivers/usb/phy/phy-samsung-usb2.c |    5 ++
 drivers/usb/phy/phy-samsung-usb3.c |  119 +++++++++++++++++++++++++++++--
 include/linux/usb/phy.h            |  141 ++++++++++++++++++++++++++++++++++++
 8 files changed, 358 insertions(+), 11 deletions(-)

-- 
1.7.6.5


^ permalink raw reply	[flat|nested] 67+ messages in thread

end of thread, other threads:[~2013-04-24 13:13 UTC | newest]

Thread overview: 67+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-01 13:53 [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management Vivek Gautam
2013-04-01 13:54 ` [PATCH v3 01/11] usb: phy: Add APIs for " Vivek Gautam
2013-04-02  8:23   ` Felipe Balbi
2013-04-02  8:23     ` Felipe Balbi
2013-04-02 10:34     ` Vivek Gautam
2013-04-02 12:10       ` Felipe Balbi
2013-04-02 12:10         ` Felipe Balbi
2013-04-02 12:40         ` Vivek Gautam
2013-04-18 11:50           ` Kishon Vijay Abraham I
2013-04-18 11:50             ` Kishon Vijay Abraham I
2013-04-23 11:15             ` Felipe Balbi
2013-04-23 11:15               ` Felipe Balbi
2013-04-03  5:08   ` Kishon Vijay Abraham I
2013-04-03  5:08     ` Kishon Vijay Abraham I
2013-04-03  6:18     ` Vivek Gautam
2013-04-03  8:15       ` Felipe Balbi
2013-04-03  8:15         ` Felipe Balbi
2013-04-03 13:12         ` Vivek Gautam
2013-04-03 13:54           ` Felipe Balbi
2013-04-03 13:54             ` Felipe Balbi
2013-04-03 13:56             ` Felipe Balbi
2013-04-03 13:56               ` Felipe Balbi
2013-04-03 14:10               ` Vivek Gautam
2013-04-03 14:18                 ` Felipe Balbi
2013-04-03 14:18                   ` Felipe Balbi
2013-04-03 14:42                   ` Vivek Gautam
2013-04-03 18:14                   ` Alan Stern
2013-04-03 18:14                     ` Alan Stern
2013-04-04  7:18                     ` Felipe Balbi
2013-04-04  7:18                       ` Felipe Balbi
2013-04-04  8:56                       ` Vivek Gautam
2013-04-04  9:26                         ` Felipe Balbi
2013-04-04  9:26                           ` Felipe Balbi
2013-04-04 14:46                           ` Alan Stern
2013-04-04 14:46                             ` Alan Stern
2013-04-23 12:42                             ` Vivek Gautam
2013-04-23 16:53                               ` Alan Stern
2013-04-23 16:53                                 ` Alan Stern
2013-04-23 18:05                                 ` Vivek Gautam
2013-04-23 18:05                                   ` Vivek Gautam
2013-04-23 18:12                                   ` Alan Stern
2013-04-23 18:12                                     ` Alan Stern
2013-04-24 13:12                                     ` Vivek Gautam
2013-04-01 13:54 ` [PATCH v3 02/11] USB: dwc3: Adjust runtime pm to allow autosuspend Vivek Gautam
2013-04-02  8:29   ` Felipe Balbi
2013-04-02  8:29     ` Felipe Balbi
2013-04-03  6:05     ` Vivek Gautam
2013-04-03  8:17       ` Felipe Balbi
2013-04-03  8:17         ` Felipe Balbi
2013-04-01 13:54 ` [PATCH v3 03/11] usb: dwc3: Enable runtime pm only after PHYs are initialized Vivek Gautam
2013-04-01 13:54 ` [PATCH v3 04/11] usb: dwc3: Add runtime power management callbacks Vivek Gautam
2013-04-02  8:32   ` Felipe Balbi
2013-04-02  8:32     ` Felipe Balbi
2013-04-03  4:59     ` Vivek Gautam
2013-04-01 13:54 ` [PATCH v3 05/11] usb: dwc3: exynos: Enable runtime power management Vivek Gautam
2013-04-02  8:33   ` Felipe Balbi
2013-04-02  8:33     ` Felipe Balbi
2013-04-01 13:54 ` [PATCH v3 06/11] usb: xhci: Enable runtime pm in xhci-plat Vivek Gautam
2013-04-01 13:54 ` [PATCH v3 07/11] usb: phy: samsung: Enable runtime power management on usb2phy Vivek Gautam
2013-04-01 13:54 ` [PATCH v3 08/11] usb: phy: samsung: Enable runtime power management on usb3phy Vivek Gautam
2013-04-01 13:54 ` [PATCH v3 09/11] usb: phy: samsung: Add support for external reference clock Vivek Gautam
2013-04-03 17:27 ` [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management Sarah Sharp
2013-04-04  5:04   ` Vivek Gautam
2013-04-04  7:10     ` Felipe Balbi
2013-04-04  7:10       ` Felipe Balbi
2013-04-04  7:32       ` Vivek Gautam
2013-04-04 16:40         ` Sarah Sharp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.