blob: 35d6e95fa21fbbdd6cdf8bb9847bffad13ad88ce [file] [log] [blame]
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +01001#
2# Renesas SH and SH Mobile PINCTRL drivers
3#
4
5if ARCH_SHMOBILE || SUPERH
6
7config PINCTRL_SH_PFC
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +01008 select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
9 select PINMUX
10 select PINCONF
Laurent Pinchartc58d9c12013-03-10 16:44:02 +010011 select GENERIC_PINCONF
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +010012 def_bool y
13 help
14 This enables pin control drivers for SH and SH Mobile platforms
15
16config 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öderlund1e7d5d82015-01-25 14:49:52 +010023config PINCTRL_PFC_EMEV2
24 def_bool y
25 depends on ARCH_EMEV2
26 select PINCTRL_SH_PFC
27
Magnus Dammc98f6c22013-03-26 22:49:49 +090028config PINCTRL_PFC_R8A73A4
29 def_bool y
30 depends on ARCH_R8A73A4
31 select PINCTRL_SH_PFC
32
Laurent Pinchartd5b15212012-12-15 23:51:21 +010033config PINCTRL_PFC_R8A7740
34 def_bool y
35 depends on ARCH_R8A7740
36 select PINCTRL_SH_PFC
37
Kuninori Morimoto87f8c982013-04-12 05:37:20 +000038config PINCTRL_PFC_R8A7778
39 def_bool y
40 depends on ARCH_R8A7778
41 select PINCTRL_SH_PFC
42
Laurent Pinchart881023d2012-12-15 23:51:22 +010043config PINCTRL_PFC_R8A7779
44 def_bool y
45 depends on ARCH_R8A7779
46 select PINCTRL_SH_PFC
47
Koji Matsuoka58c229e2013-04-08 11:08:53 +090048config PINCTRL_PFC_R8A7790
49 def_bool y
50 depends on ARCH_R8A7790
51 select PINCTRL_SH_PFC
52
Hisashi Nakamura50884512013-10-17 06:46:05 +090053config PINCTRL_PFC_R8A7791
54 def_bool y
55 depends on ARCH_R8A7791
56 select PINCTRL_SH_PFC
57
Ulrich Hechtcb0ba732015-05-12 11:13:20 +020058config PINCTRL_PFC_R8A7793
59 def_bool y
60 depends on ARCH_R8A7793
61 select PINCTRL_SH_PFC
62
Hisashi Nakamura43c44362015-06-06 01:34:48 +030063config PINCTRL_PFC_R8A7794
64 def_bool y
65 depends on ARCH_R8A7794
66 select PINCTRL_SH_PFC
67
Takeshi Kihara0b0ffc92015-09-03 02:51:49 +000068config PINCTRL_PFC_R8A7795
69 def_bool y
70 depends on ARCH_R8A7795
71 select PINCTRL_SH_PFC
72
Laurent Pinchartccda5522012-12-15 23:51:29 +010073config PINCTRL_PFC_SH7203
74 def_bool y
75 depends on CPU_SUBTYPE_SH7203
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070076 depends on GPIOLIB
Laurent Pinchartccda5522012-12-15 23:51:29 +010077 select PINCTRL_SH_PFC
78
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010079config PINCTRL_PFC_SH7264
80 def_bool y
81 depends on CPU_SUBTYPE_SH7264
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070082 depends on GPIOLIB
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010083 select PINCTRL_SH_PFC
84
Laurent Pinchartf5e811f2012-12-15 23:51:31 +010085config PINCTRL_PFC_SH7269
86 def_bool y
87 depends on CPU_SUBTYPE_SH7269
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070088 depends on GPIOLIB
Laurent Pinchartf5e811f2012-12-15 23:51:31 +010089 select PINCTRL_SH_PFC
90
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010091config PINCTRL_PFC_SH73A0
92 def_bool y
93 depends on ARCH_SH73A0
94 select PINCTRL_SH_PFC
Laurent Pinchartea770ad2013-04-21 23:26:26 +020095 select REGULATOR
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010096
Laurent Pinchart74cad602012-12-15 23:51:32 +010097config PINCTRL_PFC_SH7720
98 def_bool y
99 depends on CPU_SUBTYPE_SH7720
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700100 depends on GPIOLIB
Laurent Pinchart74cad602012-12-15 23:51:32 +0100101 select PINCTRL_SH_PFC
102
Laurent Pinchartf5e25ae2012-12-15 23:51:33 +0100103config PINCTRL_PFC_SH7722
104 def_bool y
105 depends on CPU_SUBTYPE_SH7722
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700106 depends on GPIOLIB
Laurent Pinchartf5e25ae2012-12-15 23:51:33 +0100107 select PINCTRL_SH_PFC
108
Laurent Pinchartd05afa02012-12-15 23:51:34 +0100109config PINCTRL_PFC_SH7723
110 def_bool y
111 depends on CPU_SUBTYPE_SH7723
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700112 depends on GPIOLIB
Laurent Pinchartd05afa02012-12-15 23:51:34 +0100113 select PINCTRL_SH_PFC
114
Laurent Pinchart0ff25ba2012-12-15 23:51:35 +0100115config PINCTRL_PFC_SH7724
116 def_bool y
117 depends on CPU_SUBTYPE_SH7724
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700118 depends on GPIOLIB
Laurent Pinchart0ff25ba2012-12-15 23:51:35 +0100119 select PINCTRL_SH_PFC
120
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100121config PINCTRL_PFC_SH7734
122 def_bool y
123 depends on CPU_SUBTYPE_SH7734
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700124 depends on GPIOLIB
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100125 select PINCTRL_SH_PFC
126
Laurent Pinchart0bb92672012-12-15 23:51:37 +0100127config PINCTRL_PFC_SH7757
128 def_bool y
129 depends on CPU_SUBTYPE_SH7757
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700130 depends on GPIOLIB
Laurent Pinchart0bb92672012-12-15 23:51:37 +0100131 select PINCTRL_SH_PFC
132
Laurent Pincharta56398e2012-12-15 23:51:38 +0100133config PINCTRL_PFC_SH7785
134 def_bool y
135 depends on CPU_SUBTYPE_SH7785
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700136 depends on GPIOLIB
Laurent Pincharta56398e2012-12-15 23:51:38 +0100137 select PINCTRL_SH_PFC
138
Laurent Pinchartd2a31bd2012-12-15 23:51:39 +0100139config PINCTRL_PFC_SH7786
140 def_bool y
141 depends on CPU_SUBTYPE_SH7786
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700142 depends on GPIOLIB
Laurent Pinchartd2a31bd2012-12-15 23:51:39 +0100143 select PINCTRL_SH_PFC
144
Laurent Pinchartd5d9a812012-12-15 23:51:40 +0100145config PINCTRL_PFC_SHX3
146 def_bool y
147 depends on CPU_SUBTYPE_SHX3
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700148 depends on GPIOLIB
Laurent Pinchartd5d9a812012-12-15 23:51:40 +0100149 select PINCTRL_SH_PFC
150
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +0100151endif