Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 1 | # |
| 2 | # Renesas SH and SH Mobile PINCTRL drivers |
| 3 | # |
| 4 | |
| 5 | if ARCH_SHMOBILE || SUPERH |
| 6 | |
| 7 | config PINCTRL_SH_PFC |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 8 | select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB |
| 9 | select PINMUX |
| 10 | select PINCONF |
Laurent Pinchart | c58d9c1 | 2013-03-10 16:44:02 +0100 | [diff] [blame] | 11 | select GENERIC_PINCONF |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 12 | def_bool y |
| 13 | help |
| 14 | This enables pin control drivers for SH and SH Mobile platforms |
| 15 | |
| 16 | config GPIO_SH_PFC |
| 17 | bool "SuperH PFC GPIO support" |
| 18 | depends on PINCTRL_SH_PFC && GPIOLIB |
| 19 | help |
| 20 | This enables support for GPIOs within the SoC's pin function |
| 21 | controller. |
| 22 | |
Niklas Söderlund | 1e7d5d8 | 2015-01-25 14:49:52 +0100 | [diff] [blame^] | 23 | config PINCTRL_PFC_EMEV2 |
| 24 | def_bool y |
| 25 | depends on ARCH_EMEV2 |
| 26 | select PINCTRL_SH_PFC |
| 27 | |
Magnus Damm | c98f6c2 | 2013-03-26 22:49:49 +0900 | [diff] [blame] | 28 | config PINCTRL_PFC_R8A73A4 |
| 29 | def_bool y |
| 30 | depends on ARCH_R8A73A4 |
| 31 | select PINCTRL_SH_PFC |
| 32 | |
Laurent Pinchart | d5b1521 | 2012-12-15 23:51:21 +0100 | [diff] [blame] | 33 | config PINCTRL_PFC_R8A7740 |
| 34 | def_bool y |
| 35 | depends on ARCH_R8A7740 |
| 36 | select PINCTRL_SH_PFC |
| 37 | |
Kuninori Morimoto | 87f8c98 | 2013-04-12 05:37:20 +0000 | [diff] [blame] | 38 | config PINCTRL_PFC_R8A7778 |
| 39 | def_bool y |
| 40 | depends on ARCH_R8A7778 |
| 41 | select PINCTRL_SH_PFC |
| 42 | |
Laurent Pinchart | 881023d | 2012-12-15 23:51:22 +0100 | [diff] [blame] | 43 | config PINCTRL_PFC_R8A7779 |
| 44 | def_bool y |
| 45 | depends on ARCH_R8A7779 |
| 46 | select PINCTRL_SH_PFC |
| 47 | |
Koji Matsuoka | 58c229e | 2013-04-08 11:08:53 +0900 | [diff] [blame] | 48 | config PINCTRL_PFC_R8A7790 |
| 49 | def_bool y |
| 50 | depends on ARCH_R8A7790 |
| 51 | select PINCTRL_SH_PFC |
| 52 | |
Hisashi Nakamura | 5088451 | 2013-10-17 06:46:05 +0900 | [diff] [blame] | 53 | config PINCTRL_PFC_R8A7791 |
| 54 | def_bool y |
| 55 | depends on ARCH_R8A7791 |
| 56 | select PINCTRL_SH_PFC |
| 57 | |
Laurent Pinchart | ccda552 | 2012-12-15 23:51:29 +0100 | [diff] [blame] | 58 | config PINCTRL_PFC_SH7203 |
| 59 | def_bool y |
| 60 | depends on CPU_SUBTYPE_SH7203 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 61 | depends on GPIOLIB |
Laurent Pinchart | ccda552 | 2012-12-15 23:51:29 +0100 | [diff] [blame] | 62 | select PINCTRL_SH_PFC |
| 63 | |
Laurent Pinchart | a8d42fc | 2012-12-15 23:51:30 +0100 | [diff] [blame] | 64 | config PINCTRL_PFC_SH7264 |
| 65 | def_bool y |
| 66 | depends on CPU_SUBTYPE_SH7264 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 67 | depends on GPIOLIB |
Laurent Pinchart | a8d42fc | 2012-12-15 23:51:30 +0100 | [diff] [blame] | 68 | select PINCTRL_SH_PFC |
| 69 | |
Laurent Pinchart | f5e811f | 2012-12-15 23:51:31 +0100 | [diff] [blame] | 70 | config PINCTRL_PFC_SH7269 |
| 71 | def_bool y |
| 72 | depends on CPU_SUBTYPE_SH7269 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 73 | depends on GPIOLIB |
Laurent Pinchart | f5e811f | 2012-12-15 23:51:31 +0100 | [diff] [blame] | 74 | select PINCTRL_SH_PFC |
| 75 | |
Laurent Pinchart | 6e5469a | 2012-12-15 23:51:23 +0100 | [diff] [blame] | 76 | config PINCTRL_PFC_SH7372 |
| 77 | def_bool y |
| 78 | depends on ARCH_SH7372 |
| 79 | select PINCTRL_SH_PFC |
| 80 | |
Laurent Pinchart | 5d5166d | 2012-12-15 23:51:24 +0100 | [diff] [blame] | 81 | config PINCTRL_PFC_SH73A0 |
| 82 | def_bool y |
| 83 | depends on ARCH_SH73A0 |
| 84 | select PINCTRL_SH_PFC |
Laurent Pinchart | ea770ad | 2013-04-21 23:26:26 +0200 | [diff] [blame] | 85 | select REGULATOR |
Laurent Pinchart | 5d5166d | 2012-12-15 23:51:24 +0100 | [diff] [blame] | 86 | |
Laurent Pinchart | 74cad60 | 2012-12-15 23:51:32 +0100 | [diff] [blame] | 87 | config PINCTRL_PFC_SH7720 |
| 88 | def_bool y |
| 89 | depends on CPU_SUBTYPE_SH7720 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 90 | depends on GPIOLIB |
Laurent Pinchart | 74cad60 | 2012-12-15 23:51:32 +0100 | [diff] [blame] | 91 | select PINCTRL_SH_PFC |
| 92 | |
Laurent Pinchart | f5e25ae | 2012-12-15 23:51:33 +0100 | [diff] [blame] | 93 | config PINCTRL_PFC_SH7722 |
| 94 | def_bool y |
| 95 | depends on CPU_SUBTYPE_SH7722 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 96 | depends on GPIOLIB |
Laurent Pinchart | f5e25ae | 2012-12-15 23:51:33 +0100 | [diff] [blame] | 97 | select PINCTRL_SH_PFC |
| 98 | |
Laurent Pinchart | d05afa0 | 2012-12-15 23:51:34 +0100 | [diff] [blame] | 99 | config PINCTRL_PFC_SH7723 |
| 100 | def_bool y |
| 101 | depends on CPU_SUBTYPE_SH7723 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 102 | depends on GPIOLIB |
Laurent Pinchart | d05afa0 | 2012-12-15 23:51:34 +0100 | [diff] [blame] | 103 | select PINCTRL_SH_PFC |
| 104 | |
Laurent Pinchart | 0ff25ba | 2012-12-15 23:51:35 +0100 | [diff] [blame] | 105 | config PINCTRL_PFC_SH7724 |
| 106 | def_bool y |
| 107 | depends on CPU_SUBTYPE_SH7724 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 108 | depends on GPIOLIB |
Laurent Pinchart | 0ff25ba | 2012-12-15 23:51:35 +0100 | [diff] [blame] | 109 | select PINCTRL_SH_PFC |
| 110 | |
Laurent Pinchart | ac1ebc2 | 2012-12-15 23:51:36 +0100 | [diff] [blame] | 111 | config PINCTRL_PFC_SH7734 |
| 112 | def_bool y |
| 113 | depends on CPU_SUBTYPE_SH7734 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 114 | depends on GPIOLIB |
Laurent Pinchart | ac1ebc2 | 2012-12-15 23:51:36 +0100 | [diff] [blame] | 115 | select PINCTRL_SH_PFC |
| 116 | |
Laurent Pinchart | 0bb9267 | 2012-12-15 23:51:37 +0100 | [diff] [blame] | 117 | config PINCTRL_PFC_SH7757 |
| 118 | def_bool y |
| 119 | depends on CPU_SUBTYPE_SH7757 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 120 | depends on GPIOLIB |
Laurent Pinchart | 0bb9267 | 2012-12-15 23:51:37 +0100 | [diff] [blame] | 121 | select PINCTRL_SH_PFC |
| 122 | |
Laurent Pinchart | a56398e | 2012-12-15 23:51:38 +0100 | [diff] [blame] | 123 | config PINCTRL_PFC_SH7785 |
| 124 | def_bool y |
| 125 | depends on CPU_SUBTYPE_SH7785 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 126 | depends on GPIOLIB |
Laurent Pinchart | a56398e | 2012-12-15 23:51:38 +0100 | [diff] [blame] | 127 | select PINCTRL_SH_PFC |
| 128 | |
Laurent Pinchart | d2a31bd | 2012-12-15 23:51:39 +0100 | [diff] [blame] | 129 | config PINCTRL_PFC_SH7786 |
| 130 | def_bool y |
| 131 | depends on CPU_SUBTYPE_SH7786 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 132 | depends on GPIOLIB |
Laurent Pinchart | d2a31bd | 2012-12-15 23:51:39 +0100 | [diff] [blame] | 133 | select PINCTRL_SH_PFC |
| 134 | |
Laurent Pinchart | d5d9a81 | 2012-12-15 23:51:40 +0100 | [diff] [blame] | 135 | config PINCTRL_PFC_SHX3 |
| 136 | def_bool y |
| 137 | depends on CPU_SUBTYPE_SHX3 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 138 | depends on GPIOLIB |
Laurent Pinchart | d5d9a81 | 2012-12-15 23:51:40 +0100 | [diff] [blame] | 139 | select PINCTRL_SH_PFC |
| 140 | |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 141 | endif |