forked from Minki/linux
43c4436e2f
Add PFC support for the R8A7794 SoC including pin groups for some on-chip devices such as ETH, I2C, INTC, MSIOF, QSPI, [H]SCIF... Sergei: squashed together several patches, fixed the MLB_CLK typo, added IRQ4.. IRQ9 pin groups, fixed IRQn comments, added ETH B pin group names, removed stray new line and fixed typos in the comments in the pinmux_config_regs[] initializer, removed the platform device ID, took into account limited number of signals in the GPIO1/5/6 controllers, added reasonable and removed unreasonable copyrights, modified the bindings document, renamed, added changelog. Changes in version 5: - resolved rejects, refreshed the patch; - added Laurent Pinchart's ACK. Changes in version 4: - reused the PORT_GP_26() macro to #define PORT_GP_28(). Changes in version 3: - removed the platform device ID; - added PORT_GP_26() and PORT_GP_28() macros, used them for GPIO1/5/6 in the CPU_ALL_PORT() macro. Changes in version 2: - rebased the patch. Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
147 lines
2.6 KiB
Plaintext
147 lines
2.6 KiB
Plaintext
#
|
|
# Renesas SH and SH Mobile PINCTRL drivers
|
|
#
|
|
|
|
if ARCH_SHMOBILE || SUPERH
|
|
|
|
config PINCTRL_SH_PFC
|
|
select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
|
|
select PINMUX
|
|
select PINCONF
|
|
select GENERIC_PINCONF
|
|
def_bool y
|
|
help
|
|
This enables pin control drivers for SH and SH Mobile platforms
|
|
|
|
config GPIO_SH_PFC
|
|
bool "SuperH PFC GPIO support"
|
|
depends on PINCTRL_SH_PFC && GPIOLIB
|
|
help
|
|
This enables support for GPIOs within the SoC's pin function
|
|
controller.
|
|
|
|
config PINCTRL_PFC_EMEV2
|
|
def_bool y
|
|
depends on ARCH_EMEV2
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_R8A73A4
|
|
def_bool y
|
|
depends on ARCH_R8A73A4
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_R8A7740
|
|
def_bool y
|
|
depends on ARCH_R8A7740
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_R8A7778
|
|
def_bool y
|
|
depends on ARCH_R8A7778
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_R8A7779
|
|
def_bool y
|
|
depends on ARCH_R8A7779
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_R8A7790
|
|
def_bool y
|
|
depends on ARCH_R8A7790
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_R8A7791
|
|
def_bool y
|
|
depends on ARCH_R8A7791
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_R8A7793
|
|
def_bool y
|
|
depends on ARCH_R8A7793
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_R8A7794
|
|
def_bool y
|
|
depends on ARCH_R8A7794
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7203
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7203
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7264
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7264
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7269
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7269
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH73A0
|
|
def_bool y
|
|
depends on ARCH_SH73A0
|
|
select PINCTRL_SH_PFC
|
|
select REGULATOR
|
|
|
|
config PINCTRL_PFC_SH7720
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7720
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7722
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7722
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7723
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7723
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7724
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7724
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7734
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7734
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7757
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7757
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7785
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7785
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SH7786
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SH7786
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
config PINCTRL_PFC_SHX3
|
|
def_bool y
|
|
depends on CPU_SUBTYPE_SHX3
|
|
depends on GPIOLIB
|
|
select PINCTRL_SH_PFC
|
|
|
|
endif
|