mbox series

[v2,0/9] usb: some PM changes for cdns3 and xhci-plat

Message ID 20200523232304.23976-1-peter.chen@nxp.com (mailing list archive)
Headers show
Series usb: some PM changes for cdns3 and xhci-plat | expand

Message

Peter Chen May 23, 2020, 11:22 p.m. UTC
Hi Felipe & Mathias,

In this series, it adds cdns3 runtime PM support as well as some
xhci-plat changes, and verified at NXP i.MX8QM and i.MX8QXP platforms.

Patch 1-3: add main runtime PM support for cdns3 core and imx glue layer
Patch 4-9: add platform data support and two quirks for xhci-plat.c.
- .suspend_quirk for platform special sequence between xhci_bus_suspend
and xhci_suspend.
- skip_phy_initialization for skip PHY management from HCD core.

Changes for v1:
- 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.

Peter Chen (9):
  usb: cdns3: introduce cdns3_set_phy_power API
  usb: cdns3: add runtime PM support
  usb: cdns3: imx: add glue layer runtime pm implementation
  usb: host: xhci-plat: add platform data support
  usb: host: xhci-plat: add .suspend_quirk for struct xhci_plat_priv
  usb: host: xhci-plat: delete the unnecessary code
  usb: host: xhci-plat: add priv flag for skip_phy_initialization
  usb: cdns3: host: add .suspend_quirk for xhci-plat.c
  usb: cdns3: host: add xhci_plat_priv's flag skip_phy_initialization

 drivers/usb/cdns3/cdns3-imx.c   | 179 +++++++++++++++++++++++++++++++-
 drivers/usb/cdns3/core.c        | 163 +++++++++++++++++++++++------
 drivers/usb/cdns3/core.h        |  14 +++
 drivers/usb/cdns3/drd.c         |   7 ++
 drivers/usb/cdns3/gadget.c      |   4 +
 drivers/usb/cdns3/host-export.h |   6 ++
 drivers/usb/cdns3/host.c        |  48 +++++++++
 drivers/usb/host/xhci-plat.c    |  36 ++++++-
 drivers/usb/host/xhci-plat.h    |   2 +
 9 files changed, 420 insertions(+), 39 deletions(-)

Comments

Peter Chen May 29, 2020, 7:22 a.m. UTC | #1
On 20-05-24 07:22:55, Peter Chen wrote:

Hi Mathias,

Would I get any comments for xhci-plat.c changes?

Peter

> Hi Felipe & Mathias,
> 
> In this series, it adds cdns3 runtime PM support as well as some
> xhci-plat changes, and verified at NXP i.MX8QM and i.MX8QXP platforms.
> 
> Patch 1-3: add main runtime PM support for cdns3 core and imx glue layer
> Patch 4-9: add platform data support and two quirks for xhci-plat.c.
> - .suspend_quirk for platform special sequence between xhci_bus_suspend
> and xhci_suspend.
> - skip_phy_initialization for skip PHY management from HCD core.
> 
> Changes for v1:
> - 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.
> 
> Peter Chen (9):
>   usb: cdns3: introduce cdns3_set_phy_power API
>   usb: cdns3: add runtime PM support
>   usb: cdns3: imx: add glue layer runtime pm implementation
>   usb: host: xhci-plat: add platform data support
>   usb: host: xhci-plat: add .suspend_quirk for struct xhci_plat_priv
>   usb: host: xhci-plat: delete the unnecessary code
>   usb: host: xhci-plat: add priv flag for skip_phy_initialization
>   usb: cdns3: host: add .suspend_quirk for xhci-plat.c
>   usb: cdns3: host: add xhci_plat_priv's flag skip_phy_initialization
> 
>  drivers/usb/cdns3/cdns3-imx.c   | 179 +++++++++++++++++++++++++++++++-
>  drivers/usb/cdns3/core.c        | 163 +++++++++++++++++++++++------
>  drivers/usb/cdns3/core.h        |  14 +++
>  drivers/usb/cdns3/drd.c         |   7 ++
>  drivers/usb/cdns3/gadget.c      |   4 +
>  drivers/usb/cdns3/host-export.h |   6 ++
>  drivers/usb/cdns3/host.c        |  48 +++++++++
>  drivers/usb/host/xhci-plat.c    |  36 ++++++-
>  drivers/usb/host/xhci-plat.h    |   2 +
>  9 files changed, 420 insertions(+), 39 deletions(-)
> 
> -- 
> 2.17.1
>