diff options
author | Vikas Manocha <vikas.manocha@st.com> | 2017-02-12 10:25:49 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-03-17 14:15:14 -0400 |
commit | 94d53084120bd977249e78ae4738cc28e62d276d (patch) | |
tree | ae13da48f3e702bc1c82ad6faa1dfc50dfca2605 /drivers/pinctrl/Kconfig | |
parent | b5be8f5ea8d9b0ffc46f818ce0cb38cd16f99e4d (diff) | |
download | u-boot-94d53084120bd977249e78ae4738cc28e62d276d.zip u-boot-94d53084120bd977249e78ae4738cc28e62d276d.tar.gz u-boot-94d53084120bd977249e78ae4738cc28e62d276d.tar.bz2 |
PINCTRL: stm32f7: add pin control driver
This driver uses the same pin control binding as that of linux, binding
document of this patch is copied from linux. One addition done is for
GPIO input and output mode configuration which was missing.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r-- | drivers/pinctrl/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 0c832e1..d011dad 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -185,6 +185,15 @@ config PINCTRL_STI the GPIO definitions and pin control functions for each available multiplex function. +config PINCTRL_STM32 + bool "ST STM32 pin control driver" + depends on DM + help + Supports pin multiplexing control on stm32 SoCs. The driver is + controlled by a device tree node which contains both the GPIO + definitions and pin control functions for each available multiplex + function. + endif source "drivers/pinctrl/meson/Kconfig" |