Commit 0f3ad0a
fwk: perform the typec error recovery after AMD Crossbar is ready
The description in AMD USB Power Delivery I2C Target Programming
Guide for APU Gen2.3 capture 2. It is necessary for the SoC to
perform further iniitialization steps before the Crossbar is ready
to accept commands.
PD chip vendor add the specific response code 0x38 for Crossbar is
ready. When EC receives this response code, EC needs to perform the
typec error recovery to solve the device loss issue.
BRANCH=lilac
BUG=https://app.clickup.com/t/86eqgujm1
TEST=resume from shutdown, the device does not loss
TEST=resume from hibernate, the device does not loss
Signed-off-by: Josh Tsai <Josh_Tsai@compal.com>
(cherry picked from commit 5166ac9)
pr lilac: PD - enable platform events
This is to allow us to get APU setup events from the PD.
Signed-off-by: Kieran Levin <ktl@frame.work>1 parent bbdf80a commit 0f3ad0a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
| 147 | + | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments