mbox series

[v8,0/3] usb: cdns3: add runtime pm support

Message ID 20200902095733.3453-1-peter.chen@nxp.com
Headers show
Series usb: cdns3: add runtime pm support | expand

Message

Peter Chen Sept. 2, 2020, 9:57 a.m. UTC
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 <lkp@intel.com> [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(-)