zephyr/drivers/gpio/Kconfig.stm32
Kumar Gala 57904102fd gpio: dts: Introduce Kconfig symbols to convey GPIO dts support
Add a set of Kconfig symbols that allow us to set that the GPIO
driver/SoC support DTS (HAS_DTS_GPIO) and that drivers that need/use
GPIO support DTS as well (HAS_DTS_GPIO_DEVICE).

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-05-10 15:43:42 -05:00

63 lines
1.1 KiB
Plaintext

# Kconfig - STM32 GPIO configuration
#
# Copyright (c) 2016 Open-RnD Sp. z o.o.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig GPIO_STM32
bool "GPIO Driver for STM32 family of MCUs"
depends on GPIO && SOC_FAMILY_STM32
select HAS_DTS_GPIO
default n
help
Enable GPIO driver for STM32 line of MCUs
if GPIO_STM32
config GPIO_STM32_PORTA
bool "Enable GPIO port A support"
default n
config GPIO_STM32_PORTB
bool "Enable GPIO port B support"
default n
config GPIO_STM32_PORTC
bool "Enable GPIO port C support"
default n
config GPIO_STM32_PORTD
bool "Enable GPIO port D support"
default n
config GPIO_STM32_PORTE
bool "Enable GPIO port E support"
default n
config GPIO_STM32_PORTF
bool "Enable GPIO port F support"
default n
config GPIO_STM32_PORTG
bool "Enable GPIO port G support"
default n
config GPIO_STM32_PORTH
bool "Enable GPIO port H support"
default n
config GPIO_STM32_PORTI
bool "Enable GPIO port I support"
default n
config GPIO_STM32_PORTJ
bool "Enable GPIO port J support"
default n
config GPIO_STM32_PORTK
bool "Enable GPIO port K support"
default n
endif # GPIO_STM32