Skip to content

Add debug commands to disable/enable and reset PD controller#165

Merged
JohnAZoidberg merged 9 commits into
mainfrom
pd-control
Jun 5, 2025
Merged

Add debug commands to disable/enable and reset PD controller#165
JohnAZoidberg merged 9 commits into
mainfrom
pd-control

Conversation

@JohnAZoidberg

Copy link
Copy Markdown
Member

No description provided.

@JohnAZoidberg
JohnAZoidberg requested a review from kiram9 June 4, 2025 14:15
@JohnAZoidberg

JohnAZoidberg commented Jun 4, 2025

Copy link
Copy Markdown
Member Author

Tested on Windows on Framework Laptop 13 AMD Ryzen AI 300. Works on both sides. Easy to test with charger attached and looking at the LED indicator.

Pass writes through via I2C passthrough on the EC

Signed-off-by: Daniel Schaefer <[email protected]>
Signed-off-by: Daniel Schaefer <[email protected]>
framwork_tool --pd-reset 0
framwork_tool --pd-reset 1

Signed-off-by: Daniel Schaefer <[email protected]>
To disable or enable all ports of a PD controller

framwork_tool --pd-disable 0
framwork_tool --pd-enable 1

framwork_tool --pd-disable 0
framwork_tool --pd-enable 1

Signed-off-by: Daniel Schaefer <[email protected]>
If silicon ID can't be read then likely the PD isn't there.

Signed-off-by: Daniel Schaefer <[email protected]>
@JohnAZoidberg

Copy link
Copy Markdown
Member Author

Works on Framework 12, too.

@JohnAZoidberg
JohnAZoidberg merged commit 262b6dc into main Jun 5, 2025
@JohnAZoidberg
JohnAZoidberg deleted the pd-control branch June 5, 2025 08:34
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