Commit 2ace1aa
[nrf fromtree] 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]>
(cherry picked from commit eaede77)1 parent 08e0cf4 commit 2ace1aa
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
| 711 | + | |
711 | 712 | | |
712 | 713 | | |
713 | 714 | | |
| |||
1066 | 1067 | | |
1067 | 1068 | | |
1068 | 1069 | | |
| 1070 | + | |
1069 | 1071 | | |
1070 | 1072 | | |
1071 | 1073 | | |
| |||
1200 | 1202 | | |
1201 | 1203 | | |
1202 | 1204 | | |
| 1205 | + | |
1203 | 1206 | | |
1204 | 1207 | | |
1205 | 1208 | | |
| |||
1246 | 1249 | | |
1247 | 1250 | | |
1248 | 1251 | | |
| 1252 | + | |
1249 | 1253 | | |
1250 | 1254 | | |
1251 | 1255 | | |
| |||
1334 | 1338 | | |
1335 | 1339 | | |
1336 | 1340 | | |
| 1341 | + | |
1337 | 1342 | | |
1338 | 1343 | | |
1339 | 1344 | | |
| |||
1380 | 1385 | | |
1381 | 1386 | | |
1382 | 1387 | | |
| 1388 | + | |
1383 | 1389 | | |
1384 | 1390 | | |
1385 | 1391 | | |
| |||
1514 | 1520 | | |
1515 | 1521 | | |
1516 | 1522 | | |
| 1523 | + | |
1517 | 1524 | | |
1518 | 1525 | | |
1519 | 1526 | | |
| |||
0 commit comments