zephyr/drivers/gpio/Kconfig.sam
Kumar Gala 737b1fa25a drivers: gpio: sam: Fix Kconfig default for SAM4L
In update the Kconfig to depend on devicetree, the SAM4L
driver was missing a 'default y'.

Also remove unnecessary 'depends on GPIO'.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 08:49:38 +02:00

20 lines
533 B
Plaintext

# Atmel SAM GPIO configuration options
# Copyright (c) 2018 Justin Watson
# Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config GPIO_SAM
bool "Atmel SAM GPIO (PORT) driver"
default y
depends on DT_HAS_ATMEL_SAM_GPIO_ENABLED
help
Enable support for the Atmel SAM 'PORT' GPIO controllers.
config GPIO_SAM4L
bool "Atmel SAM4L GPIO (PORT) driver"
default y
depends on DT_HAS_ATMEL_SAM4L_GPIO_ENABLED
help
Enable support for the Atmel SAM4L 'PORT' GPIO controllers.