Skip to content

fix: improve pps capability handling#1

Merged
IvanLi-CN merged 1 commit into
mainfrom
th/sw2303-pd-pps-diagnostics
May 10, 2026
Merged

fix: improve pps capability handling#1
IvanLi-CN merged 1 commit into
mainfrom
th/sw2303-pd-pps-diagnostics

Conversation

@IvanLi-CN
Copy link
Copy Markdown
Owner

Summary

  • add explicit PPS advertisement mode so enabling PPS no longer forces register-backed PPS config
  • add structured PD/PPS capability readback helpers for fixed/PPS ranges and current limits
  • honor the fast-charge global disable gate across protocol status APIs
  • use split register write/read transactions for register reads and update I2C mocks accordingly

Validation

  • cargo +stable fmt -- --check
  • cargo +stable test
  • cargo +stable test --all-features
  • cargo +stable clippy --all-targets --all-features -- -D warnings

Signed-off-by: Ivan Li <ivanli2048@gmail.com>
@IvanLi-CN IvanLi-CN merged commit 3e720b7 into main May 10, 2026
1 check passed
@IvanLi-CN IvanLi-CN deleted the th/sw2303-pd-pps-diagnostics branch May 10, 2026 11:33
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.

1 participant