Skip to content

drivers: usb: add PM support in driver#457

Open
MaheshAvula-Alifsemi wants to merge 1 commit intoalifsemi:mainfrom
MaheshAvula-Alifsemi:usb_device_pm
Open

drivers: usb: add PM support in driver#457
MaheshAvula-Alifsemi wants to merge 1 commit intoalifsemi:mainfrom
MaheshAvula-Alifsemi:usb_device_pm

Conversation

@MaheshAvula-Alifsemi
Copy link
Copy Markdown
Contributor

Added PM(Power Management) support in usb driver.
This PR is depends on #455

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds Zephyr PM (Power Management) device integration for the DWC3 UDC driver to support suspend/resume handling via the PM framework.

Changes:

  • Introduces udc_dwc3_pm_action() with suspend/resume hooks.
  • Adds suspend/resume logic to stop/start the controller and toggle IRQs/endpoints.
  • Registers the PM device action handler via PM_DEVICE_DT_INST_DEFINE and wires it into DEVICE_DT_INST_DEFINE.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Added PM(Power Management) support in usb driver.
This PR is depends on alifsemi#455

Signed-off-by: Mahesh Avula <mahesh.avula@alifsemi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants