The PFC core is only used by the pinctrl and gpio modules. As the gpio module depends on the pinctrl module, the pinctrl module will always be present if the core gets used. There is thus no point in keeping core and pinctrl in two seperate modules. Merge them. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
19 lines
415 B
Plaintext
19 lines
415 B
Plaintext
comment "Pin function controller options"
|
|
|
|
config SH_PFC
|
|
# XXX move off the gpio dependency
|
|
depends on GENERIC_GPIO
|
|
select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
select PINCTRL
|
|
select PINMUX
|
|
select PINCONF
|
|
def_bool y
|
|
|
|
config GPIO_SH_PFC
|
|
tristate "SuperH PFC GPIO support"
|
|
depends on SH_PFC && GPIOLIB
|
|
help
|
|
This enables support for GPIOs within the SoC's pin function
|
|
controller.
|