mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
b16b2a262c
This implements some Kconfig knobs for ensuring that the PFC gpio chip can be disabled or built as a module in the cases where it's optional, or forcibly enabled in cases where it's not. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
20 lines
430 B
Text
20 lines
430 B
Text
menu "SuperH / SH-Mobile Driver Options"
|
|
|
|
source "drivers/sh/intc/Kconfig"
|
|
|
|
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
|
|
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.
|
|
|
|
endmenu
|