Skip to content

usb: cdns3: add runtime pm support

Peter Chen linux-usb 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 0 repliesNew
  2. v73 patches 7 repliesSuperseded
  3. v63 patches 2 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v59 patches8 repliesSuperseded
v49 patches5 repliesSuperseded
v39 patches3 repliesSuperseded
v29 patches22 repliesSuperseded

Changes in v8 from the cover letter

- Add judgement for zero valued wakeup-irq number, and using devm_request_irq for wakeup interrupt handler request [Patch 2/3]
- Remove unrelated changes, and using const for of_dev_auxdata. [Patch 3/3]

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: cdns3: introduce set_phy_power_on{off} APIsdrivers/usb/cdns3/core.c+28 -150 replies
2/3usb: cdns3: add runtime PM supportdrivers/usb/cdns3/core.c drivers/usb/cdns3/core.h drivers/usb/cdns3/drd.c +2 more+166 -170 replies
3/3usb: cdns3: imx: add glue layer runtime pm implementationdrivers/usb/cdns3/cdns3-imx.c+186 -50 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPawel LaszczakJun Li
1/3R-b R-b
2/3R-b
3/3R-b

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

Read the v8 thread

Cover letter [PATCH v8 0/3] usb: cdns3: add runtime pm support

Hi Felipe,

In this series, it adds cdns3 runtime PM support, and verified at NXP i.MX8QM and i.MX8QXP platforms.

Changes for v8:
- Add judgement for zero valued wakeup-irq number, and using devm_request_irq for wakeup interrupt handler request [Patch 2/3]
- Remove unrelated changes, and using const for of_dev_auxdata. [Patch 3/3]

Changes for v7:
- Fix one coding style issue [Patch 2/3]
- Fix one sparese isse Reported-by: kernel test robot <[email protected]> [Patch 3/3]

Changes for v6:
- Add Pawel's reviewed-by
- Remove xhci-plat patches, which was sent by xhci patch series [1]
- Rebased on the newest usb/next

Changes for v5:
- Address Greg's comments for more obvious PHY power controller APIs [Patch 1/2]
- One build warning from kernel test robot

Changes for v4:
- Address Jun Li's comments for cdns3 core changes [Patch 2]
- Some small fixes for cdns3-imx for CLK_125_REQ bit
- Rebase the latest usb-next

Changes for v3:
Add Jun Li’s reviewed-by [Patch 1 and Patch 6]
Add Mathias’s acked-by [Patch 4-6]
Some wakeup logic improvement [Patch 2]
Add dedicated wakeup interrupt for core, and improve the commit log [Patch] Fix build error found by kbuild test robot [Patch 3]
Using xhci_plat_priv quirk for skip PHY initialization [patch 7, patch 9] Some other typo and tiny improvements

Changes for v2:
- Add the 1st patch. Without it, the build on the usb-next will fail.
- Change the subject for cover letter a little to reflect all contents.

[1] https://www.spinics.net/lists/linux-usb/msg199399.html

Peter Chen (3):
usb: cdns3: introduce set_phy_power_on{off} APIs
usb: cdns3: add runtime PM support
usb: cdns3: imx: add glue layer runtime pm implementation

 drivers/usb/cdns3/cdns3-imx.c | 191 ++++++++++++++++++++++++++++++++-
 drivers/usb/cdns3/core.c      | 196 ++++++++++++++++++++++++++++------
 drivers/usb/cdns3/core.h      |  16 +++
 drivers/usb/cdns3/drd.c       |   3 +
 drivers/usb/cdns3/gadget.c    |   4 +
 drivers/usb/cdns3/host.c      |   7 ++
 6 files changed, 380 insertions(+), 37 deletions(-)
Signature · 1 line
2.17.1