2012-12-16 06:51:19 +08:00
|
|
|
#
|
|
|
|
# Renesas SH and SH Mobile PINCTRL drivers
|
|
|
|
#
|
2012-07-10 10:49:30 +08:00
|
|
|
|
2012-12-16 06:51:19 +08:00
|
|
|
if ARCH_SHMOBILE || SUPERH
|
|
|
|
|
|
|
|
config PINCTRL_SH_PFC
|
2012-07-10 10:49:30 +08:00
|
|
|
# XXX move off the gpio dependency
|
|
|
|
depends on GENERIC_GPIO
|
|
|
|
select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
|
2012-07-10 11:08:14 +08:00
|
|
|
select PINMUX
|
|
|
|
select PINCONF
|
2012-12-16 06:50:45 +08:00
|
|
|
def_bool y
|
2012-12-16 06:51:19 +08:00
|
|
|
help
|
|
|
|
This enables pin control drivers for SH and SH Mobile platforms
|
2012-07-10 11:08:14 +08:00
|
|
|
|
2012-07-10 10:49:30 +08:00
|
|
|
config GPIO_SH_PFC
|
2012-12-16 06:50:46 +08:00
|
|
|
bool "SuperH PFC GPIO support"
|
2012-12-16 06:51:19 +08:00
|
|
|
depends on PINCTRL_SH_PFC && GPIOLIB
|
2012-07-10 10:49:30 +08:00
|
|
|
help
|
|
|
|
This enables support for GPIOs within the SoC's pin function
|
|
|
|
controller.
|
2012-12-16 06:51:19 +08:00
|
|
|
|
2012-12-16 06:51:21 +08:00
|
|
|
config PINCTRL_PFC_R8A7740
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7740
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2012-12-16 06:51:22 +08:00
|
|
|
config PINCTRL_PFC_R8A7779
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7779
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2012-12-16 06:51:29 +08:00
|
|
|
config PINCTRL_PFC_SH7203
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7203
|
|
|
|
depends on GENERIC_GPIO
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2012-12-16 06:51:30 +08:00
|
|
|
config PINCTRL_PFC_SH7264
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7264
|
|
|
|
depends on GENERIC_GPIO
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2012-12-16 06:51:23 +08:00
|
|
|
config PINCTRL_PFC_SH7372
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_SH7372
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2012-12-16 06:51:24 +08:00
|
|
|
config PINCTRL_PFC_SH73A0
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_SH73A0
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2012-12-16 06:51:19 +08:00
|
|
|
endif
|