blob: 3267e928beba17a64cc4b6c8deaab804ccec5231 [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
Laurent Pinchartccda5522012-12-15 23:51:29 +010058config PINCTRL_PFC_SH7203
59 def_bool y
60 depends on CPU_SUBTYPE_SH7203
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070061 depends on GPIOLIB
Laurent Pinchartccda5522012-12-15 23:51:29 +010062 select PINCTRL_SH_PFC
63
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010064config PINCTRL_PFC_SH7264
65 def_bool y
66 depends on CPU_SUBTYPE_SH7264
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070067 depends on GPIOLIB
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010068 select PINCTRL_SH_PFC
69
Laurent Pinchartf5e811f2012-12-15 23:51:31 +010070config PINCTRL_PFC_SH7269
71 def_bool y
72 depends on CPU_SUBTYPE_SH7269
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070073 depends on GPIOLIB
Laurent Pinchartf5e811f2012-12-15 23:51:31 +010074 select PINCTRL_SH_PFC
75
Laurent Pinchart6e5469a2012-12-15 23:51:23 +010076config PINCTRL_PFC_SH7372
77 def_bool y
78 depends on ARCH_SH7372
79 select PINCTRL_SH_PFC
80
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010081config PINCTRL_PFC_SH73A0
82 def_bool y
83 depends on ARCH_SH73A0
84 select PINCTRL_SH_PFC
Laurent Pinchartea770ad2013-04-21 23:26:26 +020085 select REGULATOR
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010086
Laurent Pinchart74cad602012-12-15 23:51:32 +010087config PINCTRL_PFC_SH7720
88 def_bool y
89 depends on CPU_SUBTYPE_SH7720
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070090 depends on GPIOLIB
Laurent Pinchart74cad602012-12-15 23:51:32 +010091 select PINCTRL_SH_PFC
92
Laurent Pinchartf5e25ae2012-12-15 23:51:33 +010093config PINCTRL_PFC_SH7722
94 def_bool y
95 depends on CPU_SUBTYPE_SH7722
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070096 depends on GPIOLIB
Laurent Pinchartf5e25ae2012-12-15 23:51:33 +010097 select PINCTRL_SH_PFC
98
Laurent Pinchartd05afa02012-12-15 23:51:34 +010099config PINCTRL_PFC_SH7723
100 def_bool y
101 depends on CPU_SUBTYPE_SH7723
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700102 depends on GPIOLIB
Laurent Pinchartd05afa02012-12-15 23:51:34 +0100103 select PINCTRL_SH_PFC
104
Laurent Pinchart0ff25ba2012-12-15 23:51:35 +0100105config PINCTRL_PFC_SH7724
106 def_bool y
107 depends on CPU_SUBTYPE_SH7724
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700108 depends on GPIOLIB
Laurent Pinchart0ff25ba2012-12-15 23:51:35 +0100109 select PINCTRL_SH_PFC
110
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100111config PINCTRL_PFC_SH7734
112 def_bool y
113 depends on CPU_SUBTYPE_SH7734
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700114 depends on GPIOLIB
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100115 select PINCTRL_SH_PFC
116
Laurent Pinchart0bb92672012-12-15 23:51:37 +0100117config PINCTRL_PFC_SH7757
118 def_bool y
119 depends on CPU_SUBTYPE_SH7757
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700120 depends on GPIOLIB
Laurent Pinchart0bb92672012-12-15 23:51:37 +0100121 select PINCTRL_SH_PFC
122
Laurent Pincharta56398e2012-12-15 23:51:38 +0100123config PINCTRL_PFC_SH7785
124 def_bool y
125 depends on CPU_SUBTYPE_SH7785
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700126 depends on GPIOLIB
Laurent Pincharta56398e2012-12-15 23:51:38 +0100127 select PINCTRL_SH_PFC
128
Laurent Pinchartd2a31bd2012-12-15 23:51:39 +0100129config PINCTRL_PFC_SH7786
130 def_bool y
131 depends on CPU_SUBTYPE_SH7786
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700132 depends on GPIOLIB
Laurent Pinchartd2a31bd2012-12-15 23:51:39 +0100133 select PINCTRL_SH_PFC
134
Laurent Pinchartd5d9a812012-12-15 23:51:40 +0100135config PINCTRL_PFC_SHX3
136 def_bool y
137 depends on CPU_SUBTYPE_SHX3
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700138 depends on GPIOLIB
Laurent Pinchartd5d9a812012-12-15 23:51:40 +0100139 select PINCTRL_SH_PFC
140
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +0100141endif