-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: serial: Add gpio management to low power mode
When low power mode is enabled then whenever UARTE is not active, driver attempts to put the peripheral into the lowest power state by stopping and disabling UARTE. However, it did not put pins into sleep state which could lead to increased current consumption. Adding pins state handling to the low power mode. Pins are put into sleep state only if CONFIG_PM_DEVICE=y. Signed-off-by: Krzysztof Chruściński <[email protected]>
- Loading branch information
1 parent
e21a021
commit 79c93dd
Showing
1 changed file
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters