mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
fdd85ec3eb
This implements simple support for adjusting the pin config value via the pinctrl API. The pinconf-generic code is abandoned for now until we've got a chance to revamp the pinmux_type state tracking that's needed by legacy code. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
27 lines
589 B
Plaintext
27 lines
589 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
|
|
def_bool y
|
|
|
|
#
|
|
# Placeholder for now, rehome to drivers/pinctrl once the PFC APIs
|
|
# have settled.
|
|
#
|
|
config PINCTRL_SH_PFC
|
|
tristate "SuperH PFC pin controller driver"
|
|
depends on SH_PFC
|
|
select PINCTRL
|
|
select PINMUX
|
|
select PINCONF
|
|
|
|
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.
|