diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-11-29 16:14:56 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-12-02 11:02:21 +0100 |
commit | a17d92beac8ae7fe5c55318a223ec6afdff03b75 (patch) | |
tree | 7230a43bdda9f3960d948c1fffc001439cb762e1 /drivers/pinctrl | |
parent | 091e4c3b1db256581945eabea83a4dab61eb07f1 (diff) | |
download | barebox-a17d92beac8ae7fe5c55318a223ec6afdff03b75.tar.gz barebox-a17d92beac8ae7fe5c55318a223ec6afdff03b75.tar.xz |
pinctrl: at91pio4: move to correct location in Kconfig
The driver also depends on PINCTRL, so we should only allow it to
be enabled if this option is selected. We can also drop the OFDEVICE
dependency then, as this is required for PINCTRL.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/Kconfig | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 95c6708f4a..bddb1d780b 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -17,16 +17,6 @@ config PINCTRL_AT91 help The pinmux controller found on AT91 SoCs. -config PINCTRL_AT91PIO4 - bool "AT91 PIO4 pinctrl driver" - depends on OFDEVICE - depends on ARCH_AT91 - select GPIOLIB - select OF_GPIO - help - Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4 - controller available on sama5d2 SoC. - config PINCTRL_BCM283X bool "GPIO and pinmux support for BCM283X" depends on ARCH_BCM283X @@ -55,6 +45,15 @@ comment "OFDEVICE is not enabled." comment "Without device tree support PINCTRL won't do anything" endif +config PINCTRL_AT91PIO4 + bool "AT91 PIO4 pinctrl driver" + depends on ARCH_AT91 + select GPIOLIB + select OF_GPIO + help + Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4 + controller available on sama5d2 SoC. + config PINCTRL_MXS bool "MXS pinctrl" depends on ARCH_MXS |