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 |
| 8 | # XXX move off the gpio dependency |
| 9 | depends on GENERIC_GPIO |
| 10 | select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB |
| 11 | select PINMUX |
| 12 | select PINCONF |
Laurent Pinchart | c58d9c1 | 2013-03-10 16:44:02 +0100 | [diff] [blame] | 13 | select GENERIC_PINCONF |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 14 | def_bool y |
| 15 | help |
| 16 | This enables pin control drivers for SH and SH Mobile platforms |
| 17 | |
| 18 | config GPIO_SH_PFC |
| 19 | bool "SuperH PFC GPIO support" |
| 20 | depends on PINCTRL_SH_PFC && GPIOLIB |
| 21 | help |
| 22 | This enables support for GPIOs within the SoC's pin function |
| 23 | controller. |
| 24 | |
Magnus Damm | c98f6c2 | 2013-03-26 22:49:49 +0900 | [diff] [blame^] | 25 | config PINCTRL_PFC_R8A73A4 |
| 26 | def_bool y |
| 27 | depends on ARCH_R8A73A4 |
| 28 | select PINCTRL_SH_PFC |
| 29 | |
Laurent Pinchart | d5b1521 | 2012-12-15 23:51:21 +0100 | [diff] [blame] | 30 | config PINCTRL_PFC_R8A7740 |
| 31 | def_bool y |
| 32 | depends on ARCH_R8A7740 |
| 33 | select PINCTRL_SH_PFC |
| 34 | |
Laurent Pinchart | 881023d | 2012-12-15 23:51:22 +0100 | [diff] [blame] | 35 | config PINCTRL_PFC_R8A7779 |
| 36 | def_bool y |
| 37 | depends on ARCH_R8A7779 |
| 38 | select PINCTRL_SH_PFC |
| 39 | |
Laurent Pinchart | ccda552 | 2012-12-15 23:51:29 +0100 | [diff] [blame] | 40 | config PINCTRL_PFC_SH7203 |
| 41 | def_bool y |
| 42 | depends on CPU_SUBTYPE_SH7203 |
| 43 | depends on GENERIC_GPIO |
| 44 | select PINCTRL_SH_PFC |
| 45 | |
Laurent Pinchart | a8d42fc | 2012-12-15 23:51:30 +0100 | [diff] [blame] | 46 | config PINCTRL_PFC_SH7264 |
| 47 | def_bool y |
| 48 | depends on CPU_SUBTYPE_SH7264 |
| 49 | depends on GENERIC_GPIO |
| 50 | select PINCTRL_SH_PFC |
| 51 | |
Laurent Pinchart | f5e811f | 2012-12-15 23:51:31 +0100 | [diff] [blame] | 52 | config PINCTRL_PFC_SH7269 |
| 53 | def_bool y |
| 54 | depends on CPU_SUBTYPE_SH7269 |
| 55 | depends on GENERIC_GPIO |
| 56 | select PINCTRL_SH_PFC |
| 57 | |
Laurent Pinchart | 6e5469a | 2012-12-15 23:51:23 +0100 | [diff] [blame] | 58 | config PINCTRL_PFC_SH7372 |
| 59 | def_bool y |
| 60 | depends on ARCH_SH7372 |
| 61 | select PINCTRL_SH_PFC |
| 62 | |
Laurent Pinchart | 5d5166d | 2012-12-15 23:51:24 +0100 | [diff] [blame] | 63 | config PINCTRL_PFC_SH73A0 |
| 64 | def_bool y |
| 65 | depends on ARCH_SH73A0 |
| 66 | select PINCTRL_SH_PFC |
| 67 | |
Laurent Pinchart | 74cad60 | 2012-12-15 23:51:32 +0100 | [diff] [blame] | 68 | config PINCTRL_PFC_SH7720 |
| 69 | def_bool y |
| 70 | depends on CPU_SUBTYPE_SH7720 |
| 71 | depends on GENERIC_GPIO |
| 72 | select PINCTRL_SH_PFC |
| 73 | |
Laurent Pinchart | f5e25ae | 2012-12-15 23:51:33 +0100 | [diff] [blame] | 74 | config PINCTRL_PFC_SH7722 |
| 75 | def_bool y |
| 76 | depends on CPU_SUBTYPE_SH7722 |
| 77 | depends on GENERIC_GPIO |
| 78 | select PINCTRL_SH_PFC |
| 79 | |
Laurent Pinchart | d05afa0 | 2012-12-15 23:51:34 +0100 | [diff] [blame] | 80 | config PINCTRL_PFC_SH7723 |
| 81 | def_bool y |
| 82 | depends on CPU_SUBTYPE_SH7723 |
| 83 | depends on GENERIC_GPIO |
| 84 | select PINCTRL_SH_PFC |
| 85 | |
Laurent Pinchart | 0ff25ba | 2012-12-15 23:51:35 +0100 | [diff] [blame] | 86 | config PINCTRL_PFC_SH7724 |
| 87 | def_bool y |
| 88 | depends on CPU_SUBTYPE_SH7724 |
| 89 | depends on GENERIC_GPIO |
| 90 | select PINCTRL_SH_PFC |
| 91 | |
Laurent Pinchart | ac1ebc2 | 2012-12-15 23:51:36 +0100 | [diff] [blame] | 92 | config PINCTRL_PFC_SH7734 |
| 93 | def_bool y |
| 94 | depends on CPU_SUBTYPE_SH7734 |
| 95 | depends on GENERIC_GPIO |
| 96 | select PINCTRL_SH_PFC |
| 97 | |
Laurent Pinchart | 0bb9267 | 2012-12-15 23:51:37 +0100 | [diff] [blame] | 98 | config PINCTRL_PFC_SH7757 |
| 99 | def_bool y |
| 100 | depends on CPU_SUBTYPE_SH7757 |
| 101 | depends on GENERIC_GPIO |
| 102 | select PINCTRL_SH_PFC |
| 103 | |
Laurent Pinchart | a56398e | 2012-12-15 23:51:38 +0100 | [diff] [blame] | 104 | config PINCTRL_PFC_SH7785 |
| 105 | def_bool y |
| 106 | depends on CPU_SUBTYPE_SH7785 |
| 107 | depends on GENERIC_GPIO |
| 108 | select PINCTRL_SH_PFC |
| 109 | |
Laurent Pinchart | d2a31bd | 2012-12-15 23:51:39 +0100 | [diff] [blame] | 110 | config PINCTRL_PFC_SH7786 |
| 111 | def_bool y |
| 112 | depends on CPU_SUBTYPE_SH7786 |
| 113 | depends on GENERIC_GPIO |
| 114 | select PINCTRL_SH_PFC |
| 115 | |
Laurent Pinchart | d5d9a81 | 2012-12-15 23:51:40 +0100 | [diff] [blame] | 116 | config PINCTRL_PFC_SHX3 |
| 117 | def_bool y |
| 118 | depends on CPU_SUBTYPE_SHX3 |
| 119 | depends on GENERIC_GPIO |
| 120 | select PINCTRL_SH_PFC |
| 121 | |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 122 | endif |