Commit fba0e56
i3c: dw: Disable runtime PM on Agilex5 to avoid bus hang on IBI
When running compliance tests on the Altera Agilex5 SoCFPGA platform,
the I3C bus can hang when a slave issues an IBI after the DAA process
completes. The DesignWare I3C master enters runtime suspend once DAA
finishes and stops driving SCL, preventing the IBI transfer from
completing and leaving SDA stuck low.
Add a new compatible string, "altr,agilex5-dw-i3c-master" and apply a quirk
that keep runtime PM always active on this platform by calling
pm_runtime_get_noresume() during probe.
Prevent bus hangs triggered by IBIs on Agilex5 while maintaining keep the
same behavior on other platforms.
Signed-off-by: Adrian Ng Ho Yin <adrianhoyin.ng@altera.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/482d540722a98c2809d8275445aaa544b565bf85.1762237922.git.adrianhoyin.ng@altera.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>1 parent 8d1d2c4 commit fba0e56
1 file changed
Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
255 | 260 | | |
256 | 261 | | |
257 | 262 | | |
| |||
1535 | 1540 | | |
1536 | 1541 | | |
1537 | 1542 | | |
| 1543 | + | |
| 1544 | + | |
1538 | 1545 | | |
1539 | 1546 | | |
1540 | 1547 | | |
| |||
1590 | 1597 | | |
1591 | 1598 | | |
1592 | 1599 | | |
1593 | | - | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
1594 | 1612 | | |
1595 | 1613 | | |
1596 | 1614 | | |
| |||
1617 | 1635 | | |
1618 | 1636 | | |
1619 | 1637 | | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
1620 | 1642 | | |
1621 | 1643 | | |
1622 | 1644 | | |
| |||
1759 | 1781 | | |
1760 | 1782 | | |
1761 | 1783 | | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
1762 | 1788 | | |
1763 | 1789 | | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
1764 | 1793 | | |
1765 | 1794 | | |
1766 | 1795 | | |
| |||
0 commit comments