Skip to content

Conversation

@bjarki-andreasen
Copy link
Contributor

Cherry pick saadc pm device

@bjarki-andreasen bjarki-andreasen force-pushed the cherry-pick-saadc-pm-device branch from e54d59e to 3475414 Compare February 21, 2025 15:21
Extend nrf saadc device driver with pm device runtime support.

To preserve previous behavior:

* if pm device is disabled, saadc is resumed on sampling start
  and suspended when sampling done.
* if pm device is enabled only, saadc does nothing on
  sampling start/stop. its resumed on init.
* if pm device runtime is enabled, saadc is got on
  sampling start, and put on sampling stop.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 96c3cd6)
Set pm device runtime runtime auto flag to ensure saadc instances
are initialized correctly if pm device runtime is used.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit d01c93c)
@bjarki-andreasen
Copy link
Contributor Author

ping @gmarull @anangl

@bjarki-andreasen bjarki-andreasen merged commit b36b947 into nrfconnect:main Feb 26, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants