summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-06-17 17:07:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-20 16:03:50 +0200
commitf4f933a64d20de0634f8b0a2bd44b0df04a3221f (patch)
treead9d9cda295b222801cd94236139c2fed7f83f58 /arch/arm/Kconfig
parent1b90b3ff9233556c4082837c58462a919b14e008 (diff)
downloadbarebox-f4f933a64d20de0634f8b0a2bd44b0df04a3221f.tar.gz
barebox-f4f933a64d20de0634f8b0a2bd44b0df04a3221f.tar.xz
pinctrl: add driver for STM32 GPIO and pin multiplexer
This adds driver support for the 12 GPIO banks on the STM32MP157. As they are accessible to both the Cortex-A cores as well as the Cortex-M core, modifications to these are protected by a hardware spinlock and clocks are enabled/disabled as required. All register fiddling done by the driver is collected in <soc/stm32/gpio.h>, so future PBL code may make use of it as well to chainload barebox proper. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1d4b6e09ce..0f5190b417 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -216,6 +216,7 @@ config ARCH_STM32MP
select COMMON_CLK_OF_PROVIDER
select HAS_DEBUG_LL
select HAVE_CLK
+ select GPIOLIB
config ARCH_VERSATILE
bool "ARM Versatile boards (ARM926EJ-S)"