zephyr/drivers/gpio/Kconfig.smartbond
Andrzej Kaczmarek 422092f2d3 drivers: gpio: smartbond: Add GPIO latching for PM
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>
2024-04-25 16:17:53 +02:00

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.