422092f2d3
This adds automatic GPIO latching before going to extended sleep and restoring state after wakeup. Mode and state for each pin is stored, then ports are latched to retain state when PD_COM is disabled during sleep. On wakeup mode and state for each pin is restored and ports are unlatched to make it work again. Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl> Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
11 lines
307 B
Plaintext
11 lines
307 B
Plaintext
# Copyright (c) 2022 Renesas Electronics Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config GPIO_SMARTBOND
|
|
bool "Renesas SmartBond(tm) GPIO driver"
|
|
default y
|
|
depends on DT_HAS_RENESAS_SMARTBOND_GPIO_ENABLED
|
|
select PM_DEVICE if PM
|
|
help
|
|
Enable GPIO driver for Renesas SmartBond(tm) MCU family.
|