Commit e5deb8f
committed
bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
The uarts should be tagged with SYSC_QUIRK_SWSUP_SIDLE instead of
SYSC_QUIRK_SWSUP_SIDLE_ACT. The difference is that SYSC_QUIRK_SWSUP_SIDLE
is used to force idle target modules rather than block idle during usage.
The SYSC_QUIRK_SWSUP_SIDLE_ACT should disable autoidle and wake-up when
a target module is active, and configure autoidle and wake-up when a
target module is inactive. We are missing configuring the target module
on sysc_disable_module(), and missing toggling of the wake-up bit.
Let's fix the issue to allow uart wake-up to work.
Fixes: fb685f1 ("bus: ti-sysc: Handle swsup idle mode quirks")
Tested-by: Dhruva Gole <[email protected]>
Tested-by: Kevin Hilman <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>1 parent 11729ca commit e5deb8f
1 file changed
+17
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1098 | 1098 | | |
1099 | 1099 | | |
1100 | 1100 | | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
1101 | 1106 | | |
1102 | 1107 | | |
1103 | 1108 | | |
| |||
1225 | 1230 | | |
1226 | 1231 | | |
1227 | 1232 | | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
1228 | 1240 | | |
1229 | 1241 | | |
1230 | 1242 | | |
| |||
1519 | 1531 | | |
1520 | 1532 | | |
1521 | 1533 | | |
1522 | | - | |
| 1534 | + | |
1523 | 1535 | | |
1524 | | - | |
| 1536 | + | |
1525 | 1537 | | |
1526 | 1538 | | |
1527 | | - | |
| 1539 | + | |
1528 | 1540 | | |
1529 | | - | |
| 1541 | + | |
1530 | 1542 | | |
1531 | | - | |
| 1543 | + | |
1532 | 1544 | | |
1533 | 1545 | | |
1534 | 1546 | | |
| |||
0 commit comments