zephyr/drivers/gpio/Kconfig.smartbond
Jerzy Kasenberg f2e3d3f951 soc: smartbond: Move PM_DEVICE dependency to soc
For DA1469x if PM config is selected PM_DEVICE must also
be selected for GPIO to work when device enters/exists
deep sleep.

Previously GPIO and regulator drivers selected PM_DEVICE
when PM was enabled.
Now it is moved to SOC instead.

PM_DEVICE selection in GPIO could result in circular dependency
for mcux if MEMC_MCUX_FLEXSPI (which is already dependent on PM_DEVICE)
was to be additionally dependent on GPIO.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
2024-05-14 17:05:03 +02:00

10 lines
283 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
help
Enable GPIO driver for Renesas SmartBond(tm) MCU family.