Commit 53e40e3
committed
[nrf noup] dts: nrf54h20: Add zephyr,pm-device-runtime-auto; to uart instances
The uart driver for nRF54h20 doesn't call pm_device_runtime_enable().
During an uart driver init `pm_device_driver_init()` return early,
because the `pm_device_is_powered()` returns `false`. Power domains,
where uarts are instantiated, are disabled: `pm->domain->pm_base->state`
is not equal to `PM_DEVICE_STATE_ACTIVE`.
At the end of the day, an uart instance is left disabled.
This is a workaround to make the uart usable when CONFIG_PM,
CONFIG_PM_DEVICE and CONFIG_PM_DEVICE_RUNTIME are enabled.
Signed-off-by: Piotr Pryga <[email protected]>1 parent ff8f0c5 commit 53e40e3
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| 752 | + | |
752 | 753 | | |
753 | 754 | | |
754 | 755 | | |
| |||
1157 | 1158 | | |
1158 | 1159 | | |
1159 | 1160 | | |
| 1161 | + | |
1160 | 1162 | | |
1161 | 1163 | | |
1162 | 1164 | | |
| |||
1292 | 1294 | | |
1293 | 1295 | | |
1294 | 1296 | | |
| 1297 | + | |
1295 | 1298 | | |
1296 | 1299 | | |
1297 | 1300 | | |
| |||
1338 | 1341 | | |
1339 | 1342 | | |
1340 | 1343 | | |
| 1344 | + | |
1341 | 1345 | | |
1342 | 1346 | | |
1343 | 1347 | | |
| |||
1426 | 1430 | | |
1427 | 1431 | | |
1428 | 1432 | | |
| 1433 | + | |
1429 | 1434 | | |
1430 | 1435 | | |
1431 | 1436 | | |
| |||
1472 | 1477 | | |
1473 | 1478 | | |
1474 | 1479 | | |
| 1480 | + | |
1475 | 1481 | | |
1476 | 1482 | | |
1477 | 1483 | | |
| |||
1607 | 1613 | | |
1608 | 1614 | | |
1609 | 1615 | | |
| 1616 | + | |
1610 | 1617 | | |
1611 | 1618 | | |
1612 | 1619 | | |
| |||
0 commit comments