Skip to content

Fix mux reconfig (MUXR) cmd#796

Merged
RobertZ2011 merged 3 commits intoOpenDevicePartnership:mainfrom
zhuyi2024:personal/zhuyi/muxr
Apr 17, 2026
Merged

Fix mux reconfig (MUXR) cmd#796
RobertZ2011 merged 3 commits intoOpenDevicePartnership:mainfrom
zhuyi2024:personal/zhuyi/muxr

Conversation

@zhuyi2024
Copy link
Copy Markdown
Contributor

@zhuyi2024 zhuyi2024 commented Apr 16, 2026

I2c3 is used to communication with Retimer to config Muxes. PD FW configures the Retimer I2c address in TargetAddrTbt

Copilot AI review requested due to automatic review settings April 16, 2026 06:14
@zhuyi2024 zhuyi2024 requested a review from a team as a code owner April 16, 2026 06:14
@zhuyi2024 zhuyi2024 requested review from asasine and gjpmsft April 16, 2026 06:14
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

This PR updates the Type-C service’s TPS6699x retimer reconfiguration path to use the correct MUXR retry-on-target-address bit (per the Retimer I2C addressing requirement), and makes small adjustments to DRST-related logging/messages.

Changes:

  • Update MUXR command input to set en_retry_on_target_addr_tbt during retimer reconfiguration.
  • Tweak DRST error logging/message text in the service layer.
  • Change DRST non-success return logging in the TPS6699x driver (debug → error).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
type-c-service/src/service/port.rs Adjusts the error log message when executing DRST via the service port command handler.
type-c-service/src/driver/tps6699x.rs Fixes the MUXR input bit used for retimer reconfiguration and changes DRST non-success logging severity.

Comment thread type-c-service/src/driver/tps6699x.rs
Comment thread type-c-service/src/service/port.rs Outdated
RobertZ2011
RobertZ2011 previously approved these changes Apr 16, 2026
Copy link
Copy Markdown
Contributor

@RobertZ2011 RobertZ2011 left a comment

Choose a reason for hiding this comment

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

Looks good aside from fixing up the doc comment.

kurtjd
kurtjd previously approved these changes Apr 16, 2026
@zhuyi2024 zhuyi2024 dismissed stale reviews from kurtjd and RobertZ2011 via c974a5d April 17, 2026 02:36
@zhuyi2024 zhuyi2024 requested review from RobertZ2011 and kurtjd April 17, 2026 03:37
@RobertZ2011 RobertZ2011 merged commit 33b95de into OpenDevicePartnership:main Apr 17, 2026
15 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.

4 participants