Commit 51c7225
fwk: ucsi: workaround: do not bypass the invalid UCSI data to host
PD chip will set the negotiated_power_level_change when the port
is disconnected. But the UCSI specification describes that this
bit shall be set by the PPM whenever a Power contract is established
or renegotiated.
This is a workaround to clear the invalid data format to pass the
HLK test item: "UCSI Get Connector Status - Negotiated Power Level
Change [Type-C MUTT]"
BRANCH=fwk-main
BUG=https://app.clickup.com/t/86etqf4jh
BUG=https://app.clickup.com/t/86er6n76t
BUG=https://app.clickup.com/t/86etjdkpx
TEST=Run the HLK test item "UCSI Get Connector Status - Negotiated
Power Level Change [Type-C MUTT]" can get the pass result with
all type-c ports
Signed-off-by: Josh Tsai <Josh_Tsai@compal.com>
(cherry picked from commit 9ebd468d4281a83ccb726f58727d6dd721dba398)1 parent 61bafd3 commit 51c7225
1 file changed
Lines changed: 31 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
565 | 591 | | |
566 | 592 | | |
567 | 593 | | |
| |||
0 commit comments