Skip to content

Merge main into v2 may 4 2026#112

Merged
jerrysxie merged 5 commits into
OpenDevicePartnership:v0.2.0from
jerrysxie:merge-main-into-v2-may-4-2026
May 4, 2026
Merged

Merge main into v2 may 4 2026#112
jerrysxie merged 5 commits into
OpenDevicePartnership:v0.2.0from
jerrysxie:merge-main-into-v2-may-4-2026

Conversation

@jerrysxie
Copy link
Copy Markdown
Contributor

No description provided.

RobertZ2011 and others added 5 commits May 4, 2026 15:54
…ntity Data, executing Hard Reset (OpenDevicePartnership#104)

Builds on OpenDevicePartnership/embedded-usb-pd#64

---------

Co-authored-by: Copilot <copilot@github.com>
Bumps `device-driver` from 1.0.3 to 1.0.9.

- Updated `Cargo.toml` dependency declaration.
- Refreshed `Cargo.lock` via `cargo build`.
- Certified `device-driver` 1.0.9 as `safe-to-run` via cargo-vet.

Co-authored-by: Felipe Balbi <febalbi@microsoft.com>
@jerrysxie jerrysxie marked this pull request as ready for review May 4, 2026 20:56
@jerrysxie jerrysxie requested a review from a team as a code owner May 4, 2026 20:56
Copilot AI review requested due to automatic review settings May 4, 2026 20:56
@jerrysxie jerrysxie requested a review from a team as a code owner May 4, 2026 20:56
@jerrysxie jerrysxie enabled auto-merge May 4, 2026 20:57
@jerrysxie jerrysxie disabled auto-merge May 4, 2026 20:57
@jerrysxie jerrysxie enabled auto-merge May 4, 2026 20:58
Copy link
Copy Markdown
Contributor

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.

Updates the driver and related tooling configuration, and adds support for reading/parsing additional USB-PD discovery registers (SVIDs + SOP/SOP′ identity), including async accessors and tests.

Changes:

  • Bump device-driver/device-driver-cli to 1.0.9 and adjust supply-chain audit configuration.
  • Add register definitions + parsing/TryFrom conversions for Discovered SVIDs and Received SOP/SOP′ Identity Data.
  • Expose new async APIs to read those registers (internal + embassy wrapper) and update tests for upstream type changes.

Reviewed changes

Copilot reviewed 16 out of 19 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
supply-chain/config.toml Removes an exemption entry for device-driver.
supply-chain/audits.toml Adds audits for device-driver 1.0.9.
Cargo.toml Bumps device-driver dependency to 1.0.9.
README.md Updates device-driver-cli install version to 1.0.9.
.github/workflows/device-driver.yml Updates CI generator to use device-driver-cli 1.0.9.
.github/copilot-instructions.md Adds repo-specific PR review guidance for Copilot.
src/registers/mod.rs Exposes new register modules.
src/registers/discovered_svids.rs Adds Discovered SVIDs register implementation + tests.
src/registers/received_sop_identity_data.rs Adds SOP identity register parsing + conversion + tests.
src/registers/received_sop_prime_identity_data.rs Adds SOP′ identity register parsing + conversion + tests.
src/asynchronous/internal/mod.rs Adds async methods to read the new registers.
src/asynchronous/embassy/mod.rs Adds embassy wrapper methods for the new async APIs (+ HRST helper).
src/command/mod.rs Adds HRST command variant + parsing + tests.
src/command/gcdm.rs Updates Svid import path.
src/lib.rs Updates test helpers to match embedded_usb_pd PDO type changes.
src/asynchronous/embassy/rx_caps.rs Updates tests to use struct update syntax with Default.

Comment thread src/registers/received_sop_identity_data.rs
Comment thread src/registers/discovered_svids.rs
Comment thread src/registers/discovered_svids.rs
Comment thread src/registers/discovered_svids.rs
@jerrysxie jerrysxie merged commit abe5568 into OpenDevicePartnership:v0.2.0 May 4, 2026
29 of 30 checks passed
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.

6 participants