Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-04 Thread Felipe Balbi
On Thu, Apr 04, 2013 at 10:34:57AM +0530, Vivek Gautam wrote:
 Hi Sarah,
 
 
 On Wed, Apr 3, 2013 at 10:57 PM, Sarah Sharp
 sarah.a.sh...@linux.intel.com wrote:
  Question: Do you still need this patch for 3.10?
 
 Felipe's 'next' is closed for 3.10, so this series won't be making it
 to 3.10 now, as a whole. :-(

right, besides we're still discussing what to do with the whole PHY
part, right ?

-- 
balbi


signature.asc
Description: Digital signature


Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-04 Thread Vivek Gautam
On Thu, Apr 4, 2013 at 12:40 PM, Felipe Balbi ba...@ti.com wrote:
 On Thu, Apr 04, 2013 at 10:34:57AM +0530, Vivek Gautam wrote:
 Hi Sarah,


 On Wed, Apr 3, 2013 at 10:57 PM, Sarah Sharp
 sarah.a.sh...@linux.intel.com wrote:
  Question: Do you still need this patch for 3.10?

 Felipe's 'next' is closed for 3.10, so this series won't be making it
 to 3.10 now, as a whole. :-(

 right, besides we're still discussing what to do with the whole PHY
 part, right ?

Right ofcourse. :-)



-- 
Thanks  Regards
Vivek
--
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


Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-04 Thread Sarah Sharp
On Thu, Apr 04, 2013 at 01:02:45PM +0530, Vivek Gautam wrote:
 On Thu, Apr 4, 2013 at 12:40 PM, Felipe Balbi ba...@ti.com wrote:
  On Thu, Apr 04, 2013 at 10:34:57AM +0530, Vivek Gautam wrote:
  Hi Sarah,
 
 
  On Wed, Apr 3, 2013 at 10:57 PM, Sarah Sharp
  sarah.a.sh...@linux.intel.com wrote:
   Question: Do you still need this patch for 3.10?
 
  Felipe's 'next' is closed for 3.10, so this series won't be making it
  to 3.10 now, as a whole. :-(
 
  right, besides we're still discussing what to do with the whole PHY
  part, right ?
 
 Right ofcourse. :-)

Ok, so it sounds like I shouldn't merge that patch for 3.10.  Please
include that patch in your next round of revisions instead.  And now I'm
glad I'm slow. :)

Sarah Sharp
--
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


Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-03 Thread Sarah Sharp
Question: Do you still need this patch for 3.10?

http://marc.info/?l=linux-usbm=136057666911621w=2

Does this patchset build on top of that?

I'm really behind on my patches for 3.10, sorry.

Sarah Sharp

On Mon, Apr 01, 2013 at 07:23:59PM +0530, Vivek Gautam wrote:
 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
 
--
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


Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-03 Thread Vivek Gautam
Hi Sarah,


On Wed, Apr 3, 2013 at 10:57 PM, Sarah Sharp
sarah.a.sh...@linux.intel.com wrote:
 Question: Do you still need this patch for 3.10?

Felipe's 'next' is closed for 3.10, so this series won't be making it
to 3.10 now, as a whole. :-(


 http://marc.info/?l=linux-usbm=136057666911621w=2

 Does this patchset build on top of that?

Yea, it builds fine on top of the above mentioned patch.
I would suggest that we pull the xhci-plat patch in this series when the
complete patch-set getting in.
btw, its your decision ;-)


 I'm really behind on my patches for 3.10, sorry.

 Sarah Sharp

 On Mon, Apr 01, 2013 at 07:23:59PM +0530, Vivek Gautam wrote:
 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




-- 
Thanks  Regards
Vivek
--
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


[PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-01 Thread Vivek Gautam
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

--
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