Skip to content

Conversation

github-actions[bot]
Copy link

Backport 2ace1aa from #3269.

…art 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)
(cherry picked from commit 2ace1aa)
@ppryga-nordic
Copy link
Contributor

Is was decided internally that the fix is not needed for ncs-v3.1-branch. I'm closing the PR.

@NordicBuilder
Copy link
Contributor

none

Note: This comment is automatically posted and updated by the Contribs GitHub Action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants