cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

Kconfig (8666B)


      1# SPDX-License-Identifier: GPL-2.0
      2#
      3# Renesas SH and SH Mobile PINCTRL drivers
      4#
      5
      6menu "Renesas pinctrl drivers"
      7
      8config PINCTRL_RENESAS
      9	bool "Renesas SoC pin control support" if COMPILE_TEST && !(ARCH_RENESAS || SUPERH)
     10	default y if ARCH_RENESAS || SUPERH
     11	select PINCTRL_PFC_EMEV2 if ARCH_EMEV2
     12	select PINCTRL_PFC_R8A73A4 if ARCH_R8A73A4
     13	select PINCTRL_PFC_R8A7740 if ARCH_R8A7740
     14	select PINCTRL_PFC_R8A7742 if ARCH_R8A7742
     15	select PINCTRL_PFC_R8A7743 if ARCH_R8A7743
     16	select PINCTRL_PFC_R8A7744 if ARCH_R8A7744
     17	select PINCTRL_PFC_R8A7745 if ARCH_R8A7745
     18	select PINCTRL_PFC_R8A77470 if ARCH_R8A77470
     19	select PINCTRL_PFC_R8A774A1 if ARCH_R8A774A1
     20	select PINCTRL_PFC_R8A774B1 if ARCH_R8A774B1
     21	select PINCTRL_PFC_R8A774C0 if ARCH_R8A774C0
     22	select PINCTRL_PFC_R8A774E1 if ARCH_R8A774E1
     23	select PINCTRL_PFC_R8A7778 if ARCH_R8A7778
     24	select PINCTRL_PFC_R8A7779 if ARCH_R8A7779
     25	select PINCTRL_PFC_R8A7790 if ARCH_R8A7790
     26	select PINCTRL_PFC_R8A7791 if ARCH_R8A7791
     27	select PINCTRL_PFC_R8A7792 if ARCH_R8A7792
     28	select PINCTRL_PFC_R8A7793 if ARCH_R8A7793
     29	select PINCTRL_PFC_R8A7794 if ARCH_R8A7794
     30	select PINCTRL_PFC_R8A77950 if ARCH_R8A77950
     31	select PINCTRL_PFC_R8A77951 if ARCH_R8A77951
     32	select PINCTRL_PFC_R8A77960 if ARCH_R8A77960
     33	select PINCTRL_PFC_R8A77961 if ARCH_R8A77961
     34	select PINCTRL_PFC_R8A77965 if ARCH_R8A77965
     35	select PINCTRL_PFC_R8A77970 if ARCH_R8A77970
     36	select PINCTRL_PFC_R8A77980 if ARCH_R8A77980
     37	select PINCTRL_PFC_R8A77990 if ARCH_R8A77990
     38	select PINCTRL_PFC_R8A77995 if ARCH_R8A77995
     39	select PINCTRL_PFC_R8A779A0 if ARCH_R8A779A0
     40	select PINCTRL_PFC_R8A779F0 if ARCH_R8A779F0
     41	select PINCTRL_RZG2L if ARCH_RZG2L
     42	select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
     43	select PINCTRL_PFC_SH7264 if CPU_SUBTYPE_SH7264
     44	select PINCTRL_PFC_SH7269 if CPU_SUBTYPE_SH7269
     45	select PINCTRL_PFC_SH73A0 if ARCH_SH73A0
     46	select PINCTRL_PFC_SH7720 if CPU_SUBTYPE_SH7720
     47	select PINCTRL_PFC_SH7722 if CPU_SUBTYPE_SH7722
     48	select PINCTRL_PFC_SH7723 if CPU_SUBTYPE_SH7723
     49	select PINCTRL_PFC_SH7724 if CPU_SUBTYPE_SH7724
     50	select PINCTRL_PFC_SH7734 if CPU_SUBTYPE_SH7734
     51	select PINCTRL_PFC_SH7757 if CPU_SUBTYPE_SH7757
     52	select PINCTRL_PFC_SH7785 if CPU_SUBTYPE_SH7785
     53	select PINCTRL_PFC_SH7786 if CPU_SUBTYPE_SH7786
     54	select PINCTRL_PFC_SHX3 if CPU_SUBTYPE_SHX3
     55	help
     56	  This enables pin control drivers for Renesas SuperH and ARM platforms
     57
     58config PINCTRL_SH_PFC
     59	bool
     60	select GENERIC_PINCONF
     61	select PINMUX
     62	select PINCONF
     63	help
     64	  This enables common pin control functionality for EMMA Mobile, R-Car,
     65	  R-Mobile, RZ/G, SH, and SH-Mobile platforms.
     66
     67config PINCTRL_SH_PFC_GPIO
     68	bool
     69	select GPIOLIB
     70	select PINCTRL_SH_PFC
     71	help
     72	  This enables pin control and GPIO drivers for SH/SH Mobile platforms
     73
     74config PINCTRL_SH_FUNC_GPIO
     75	bool
     76	select PINCTRL_SH_PFC_GPIO
     77	help
     78	  This enables legacy function GPIOs for SH platforms
     79
     80config PINCTRL_PFC_EMEV2
     81	bool "pin control support for Emma Mobile EV2" if COMPILE_TEST
     82	select PINCTRL_SH_PFC
     83
     84config PINCTRL_PFC_R8A77995
     85	bool "pin control support for R-Car D3" if COMPILE_TEST
     86	select PINCTRL_SH_PFC
     87
     88config PINCTRL_PFC_R8A7794
     89	bool "pin control support for R-Car E2" if COMPILE_TEST
     90	select PINCTRL_SH_PFC
     91
     92config PINCTRL_PFC_R8A77990
     93	bool "pin control support for R-Car E3" if COMPILE_TEST
     94	select PINCTRL_SH_PFC
     95
     96config PINCTRL_PFC_R8A7779
     97	bool "pin control support for R-Car H1" if COMPILE_TEST
     98	select PINCTRL_SH_PFC
     99
    100config PINCTRL_PFC_R8A7790
    101	bool "pin control support for R-Car H2" if COMPILE_TEST
    102	select PINCTRL_SH_PFC
    103
    104config PINCTRL_PFC_R8A77950
    105	bool "pin control support for R-Car H3 ES1.x" if COMPILE_TEST
    106	select PINCTRL_SH_PFC
    107
    108config PINCTRL_PFC_R8A77951
    109	bool "pin control support for R-Car H3 ES2.0+" if COMPILE_TEST
    110	select PINCTRL_SH_PFC
    111
    112config PINCTRL_PFC_R8A7778
    113	bool "pin control support for R-Car M1A" if COMPILE_TEST
    114	select PINCTRL_SH_PFC
    115
    116config PINCTRL_PFC_R8A7793
    117	bool "pin control support for R-Car M2-N" if COMPILE_TEST
    118	select PINCTRL_SH_PFC
    119
    120config PINCTRL_PFC_R8A7791
    121	bool "pin control support for R-Car M2-W" if COMPILE_TEST
    122	select PINCTRL_SH_PFC
    123
    124config PINCTRL_PFC_R8A77965
    125	bool "pin control support for R-Car M3-N" if COMPILE_TEST
    126	select PINCTRL_SH_PFC
    127
    128config PINCTRL_PFC_R8A77960
    129	bool "pin control support for R-Car M3-W" if COMPILE_TEST
    130	select PINCTRL_SH_PFC
    131
    132config PINCTRL_PFC_R8A77961
    133	bool "pin control support for R-Car M3-W+" if COMPILE_TEST
    134	select PINCTRL_SH_PFC
    135
    136config PINCTRL_PFC_R8A779F0
    137	bool "pin control support for R-Car S4-8" if COMPILE_TEST
    138	select PINCTRL_SH_PFC
    139
    140config PINCTRL_PFC_R8A7792
    141	bool "pin control support for R-Car V2H" if COMPILE_TEST
    142	select PINCTRL_SH_PFC
    143
    144config PINCTRL_PFC_R8A77980
    145	bool "pin control support for R-Car V3H" if COMPILE_TEST
    146	select PINCTRL_SH_PFC
    147
    148config PINCTRL_PFC_R8A77970
    149	bool "pin control support for R-Car V3M" if COMPILE_TEST
    150	select PINCTRL_SH_PFC
    151
    152config PINCTRL_PFC_R8A779A0
    153	bool "pin control support for R-Car V3U" if COMPILE_TEST
    154	select PINCTRL_SH_PFC
    155
    156config PINCTRL_PFC_R8A7740
    157	bool "pin control support for R-Mobile A1" if COMPILE_TEST
    158	select PINCTRL_SH_PFC_GPIO
    159
    160config PINCTRL_PFC_R8A73A4
    161	bool "pin control support for R-Mobile APE6" if COMPILE_TEST
    162	select PINCTRL_SH_PFC_GPIO
    163
    164config PINCTRL_RZA1
    165	bool "pin control support for RZ/A1"
    166	depends on OF
    167	depends on ARCH_R7S72100 || COMPILE_TEST
    168	select GENERIC_PINCONF
    169	select GENERIC_PINCTRL_GROUPS
    170	select GENERIC_PINMUX_FUNCTIONS
    171	select GPIOLIB
    172	help
    173	  This selects pinctrl driver for Renesas RZ/A1 platforms.
    174
    175config PINCTRL_RZA2
    176	bool "pin control support for RZ/A2"
    177	depends on OF
    178	depends on ARCH_R7S9210 || COMPILE_TEST
    179	select GENERIC_PINCTRL_GROUPS
    180	select GENERIC_PINMUX_FUNCTIONS
    181	select GPIOLIB
    182	help
    183	  This selects GPIO and pinctrl driver for Renesas RZ/A2 platforms.
    184
    185config PINCTRL_RZG2L
    186	bool "pin control support for RZ/{G2L,G2UL,V2L}" if COMPILE_TEST
    187	depends on OF
    188	select GPIOLIB
    189	select GENERIC_PINCTRL_GROUPS
    190	select GENERIC_PINMUX_FUNCTIONS
    191	select GENERIC_PINCONF
    192	help
    193	  This selects GPIO and pinctrl driver for Renesas RZ/{G2L,G2UL,V2L}
    194	  platforms.
    195
    196config PINCTRL_PFC_R8A77470
    197	bool "pin control support for RZ/G1C" if COMPILE_TEST
    198	select PINCTRL_SH_PFC
    199
    200config PINCTRL_PFC_R8A7745
    201	bool "pin control support for RZ/G1E" if COMPILE_TEST
    202	select PINCTRL_SH_PFC
    203
    204config PINCTRL_PFC_R8A7742
    205	bool "pin control support for RZ/G1H" if COMPILE_TEST
    206	select PINCTRL_SH_PFC
    207
    208config PINCTRL_PFC_R8A7743
    209	bool "pin control support for RZ/G1M" if COMPILE_TEST
    210	select PINCTRL_SH_PFC
    211
    212config PINCTRL_PFC_R8A7744
    213	bool "pin control support for RZ/G1N" if COMPILE_TEST
    214	select PINCTRL_SH_PFC
    215
    216config PINCTRL_PFC_R8A774C0
    217	bool "pin control support for RZ/G2E" if COMPILE_TEST
    218	select PINCTRL_SH_PFC
    219
    220config PINCTRL_PFC_R8A774E1
    221	bool "pin control support for RZ/G2H" if COMPILE_TEST
    222	select PINCTRL_SH_PFC
    223
    224config PINCTRL_PFC_R8A774A1
    225	bool "pin control support for RZ/G2M" if COMPILE_TEST
    226	select PINCTRL_SH_PFC
    227
    228config PINCTRL_PFC_R8A774B1
    229	bool "pin control support for RZ/G2N" if COMPILE_TEST
    230	select PINCTRL_SH_PFC
    231
    232config PINCTRL_RZN1
    233	bool "pin control support for RZ/N1"
    234	depends on OF
    235	depends on ARCH_RZN1 || COMPILE_TEST
    236	select GENERIC_PINCONF
    237	help
    238	  This selects pinctrl driver for Renesas RZ/N1 devices.
    239
    240config PINCTRL_PFC_SH7203
    241	bool "pin control support for SH7203" if COMPILE_TEST
    242	select PINCTRL_SH_FUNC_GPIO
    243
    244config PINCTRL_PFC_SH7264
    245	bool "pin control support for SH7264" if COMPILE_TEST
    246	select PINCTRL_SH_FUNC_GPIO
    247
    248config PINCTRL_PFC_SH7269
    249	bool "pin control support for SH7269" if COMPILE_TEST
    250	select PINCTRL_SH_FUNC_GPIO
    251
    252config PINCTRL_PFC_SH7720
    253	bool "pin control support for SH7720" if COMPILE_TEST
    254	select PINCTRL_SH_FUNC_GPIO
    255
    256config PINCTRL_PFC_SH7722
    257	bool "pin control support for SH7722" if COMPILE_TEST
    258	select PINCTRL_SH_FUNC_GPIO
    259
    260config PINCTRL_PFC_SH7734
    261	bool "pin control support for SH7734" if COMPILE_TEST
    262	select PINCTRL_SH_FUNC_GPIO
    263
    264config PINCTRL_PFC_SH7757
    265	bool "pin control support for SH7757" if COMPILE_TEST
    266	select PINCTRL_SH_FUNC_GPIO
    267
    268config PINCTRL_PFC_SH7785
    269	bool "pin control support for SH7785" if COMPILE_TEST
    270	select PINCTRL_SH_FUNC_GPIO
    271
    272config PINCTRL_PFC_SH7786
    273	bool "pin control support for SH7786" if COMPILE_TEST
    274	select PINCTRL_SH_FUNC_GPIO
    275
    276config PINCTRL_PFC_SH73A0
    277	bool "pin control support for SH-Mobile AG5" if COMPILE_TEST
    278	select PINCTRL_SH_PFC_GPIO
    279	select REGULATOR
    280
    281config PINCTRL_PFC_SH7723
    282	bool "pin control support for SH-Mobile R2" if COMPILE_TEST
    283	select PINCTRL_SH_FUNC_GPIO
    284
    285config PINCTRL_PFC_SH7724
    286	bool "pin control support for SH-Mobile R2R" if COMPILE_TEST
    287	select PINCTRL_SH_FUNC_GPIO
    288
    289config PINCTRL_PFC_SHX3
    290	bool "pin control support for SH-X3" if COMPILE_TEST
    291	select PINCTRL_SH_FUNC_GPIO
    292
    293endmenu