2018-09-07 02:13:29 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2012-12-15 22:51:19 +00:00
|
|
|
#
|
|
|
|
# Renesas SH and SH Mobile PINCTRL drivers
|
|
|
|
#
|
2012-07-10 02:49:30 +00:00
|
|
|
|
2016-02-25 00:51:54 +00:00
|
|
|
if ARCH_RENESAS || SUPERH
|
2012-12-15 22:51:19 +00:00
|
|
|
|
|
|
|
config PINCTRL_SH_PFC
|
2012-07-10 03:08:14 +00:00
|
|
|
select PINMUX
|
|
|
|
select PINCONF
|
2013-03-10 15:44:02 +00:00
|
|
|
select GENERIC_PINCONF
|
2012-12-15 22:50:45 +00:00
|
|
|
def_bool y
|
2012-12-15 22:51:19 +00:00
|
|
|
help
|
|
|
|
This enables pin control drivers for SH and SH Mobile platforms
|
2012-07-10 03:08:14 +00:00
|
|
|
|
2016-02-17 08:15:49 +00:00
|
|
|
config PINCTRL_SH_PFC_GPIO
|
|
|
|
select GPIOLIB
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
bool
|
2012-07-10 02:49:30 +00:00
|
|
|
help
|
2016-02-17 08:15:49 +00:00
|
|
|
This enables pin control and GPIO drivers for SH/SH Mobile platforms
|
2012-12-15 22:51:19 +00:00
|
|
|
|
2015-01-25 13:49:52 +00:00
|
|
|
config PINCTRL_PFC_EMEV2
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_EMEV2
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2013-03-26 13:49:49 +00:00
|
|
|
config PINCTRL_PFC_R8A73A4
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A73A4
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2013-03-26 13:49:49 +00:00
|
|
|
|
2012-12-15 22:51:21 +00:00
|
|
|
config PINCTRL_PFC_R8A7740
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7740
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:21 +00:00
|
|
|
|
2017-04-20 18:46:08 +00:00
|
|
|
config PINCTRL_PFC_R8A7743
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7743
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2018-09-11 10:30:05 +00:00
|
|
|
config PINCTRL_PFC_R8A7744
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7744
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2017-04-28 18:52:35 +00:00
|
|
|
config PINCTRL_PFC_R8A7745
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7745
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2018-04-24 11:03:08 +00:00
|
|
|
config PINCTRL_PFC_R8A77470
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A77470
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2018-08-13 13:52:32 +00:00
|
|
|
config PINCTRL_PFC_R8A774A1
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A774A1
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2018-09-12 13:31:02 +00:00
|
|
|
config PINCTRL_PFC_R8A774C0
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A774C0
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2013-04-12 05:37:20 +00:00
|
|
|
config PINCTRL_PFC_R8A7778
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7778
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2012-12-15 22:51:22 +00:00
|
|
|
config PINCTRL_PFC_R8A7779
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7779
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2013-04-08 02:08:53 +00:00
|
|
|
config PINCTRL_PFC_R8A7790
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7790
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2013-10-16 21:46:05 +00:00
|
|
|
config PINCTRL_PFC_R8A7791
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7791
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2016-06-29 21:21:08 +00:00
|
|
|
config PINCTRL_PFC_R8A7792
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7792
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2015-05-12 09:13:20 +00:00
|
|
|
config PINCTRL_PFC_R8A7793
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7793
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
pinctrl: sh-pfc: add R8A7794 PFC support
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>
2015-06-05 22:34:48 +00:00
|
|
|
config PINCTRL_PFC_R8A7794
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7794
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2015-09-03 02:51:49 +00:00
|
|
|
config PINCTRL_PFC_R8A7795
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7795
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2016-08-18 13:12:32 +00:00
|
|
|
config PINCTRL_PFC_R8A7796
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A7796
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2018-02-20 15:12:07 +00:00
|
|
|
config PINCTRL_PFC_R8A77965
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A77965
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2017-11-10 17:59:01 +00:00
|
|
|
config PINCTRL_PFC_R8A77970
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A77970
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2018-03-08 19:14:32 +00:00
|
|
|
config PINCTRL_PFC_R8A77980
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A77980
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2018-05-11 03:22:23 +00:00
|
|
|
config PINCTRL_PFC_R8A77990
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A77990
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2017-08-09 12:19:41 +00:00
|
|
|
config PINCTRL_PFC_R8A77995
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A77995
|
|
|
|
select PINCTRL_SH_PFC
|
|
|
|
|
2012-12-15 22:51:29 +00:00
|
|
|
config PINCTRL_PFC_SH7203
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7203
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:29 +00:00
|
|
|
|
2012-12-15 22:51:30 +00:00
|
|
|
config PINCTRL_PFC_SH7264
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7264
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:30 +00:00
|
|
|
|
2012-12-15 22:51:31 +00:00
|
|
|
config PINCTRL_PFC_SH7269
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7269
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:31 +00:00
|
|
|
|
2012-12-15 22:51:24 +00:00
|
|
|
config PINCTRL_PFC_SH73A0
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_SH73A0
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2013-04-21 21:26:26 +00:00
|
|
|
select REGULATOR
|
2012-12-15 22:51:24 +00:00
|
|
|
|
2012-12-15 22:51:32 +00:00
|
|
|
config PINCTRL_PFC_SH7720
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7720
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:32 +00:00
|
|
|
|
2012-12-15 22:51:33 +00:00
|
|
|
config PINCTRL_PFC_SH7722
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7722
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:33 +00:00
|
|
|
|
2012-12-15 22:51:34 +00:00
|
|
|
config PINCTRL_PFC_SH7723
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7723
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:34 +00:00
|
|
|
|
2012-12-15 22:51:35 +00:00
|
|
|
config PINCTRL_PFC_SH7724
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7724
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:35 +00:00
|
|
|
|
2012-12-15 22:51:36 +00:00
|
|
|
config PINCTRL_PFC_SH7734
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7734
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:36 +00:00
|
|
|
|
2012-12-15 22:51:37 +00:00
|
|
|
config PINCTRL_PFC_SH7757
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7757
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:37 +00:00
|
|
|
|
2012-12-15 22:51:38 +00:00
|
|
|
config PINCTRL_PFC_SH7785
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7785
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:38 +00:00
|
|
|
|
2012-12-15 22:51:39 +00:00
|
|
|
config PINCTRL_PFC_SH7786
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SH7786
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:39 +00:00
|
|
|
|
2012-12-15 22:51:40 +00:00
|
|
|
config PINCTRL_PFC_SHX3
|
|
|
|
def_bool y
|
|
|
|
depends on CPU_SUBTYPE_SHX3
|
2016-02-17 08:15:49 +00:00
|
|
|
select PINCTRL_SH_PFC_GPIO
|
2012-12-15 22:51:19 +00:00
|
|
|
endif
|