blob: 636a882b406ecb4d404609501a524de4b20e3aab [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
Magnus Dammc98f6c22013-03-26 22:49:49 +090023config PINCTRL_PFC_R8A73A4
24 def_bool y
25 depends on ARCH_R8A73A4
26 select PINCTRL_SH_PFC
27
Laurent Pinchartd5b15212012-12-15 23:51:21 +010028config PINCTRL_PFC_R8A7740
29 def_bool y
30 depends on ARCH_R8A7740
31 select PINCTRL_SH_PFC
32
Kuninori Morimoto87f8c982013-04-12 05:37:20 +000033config PINCTRL_PFC_R8A7778
34 def_bool y
35 depends on ARCH_R8A7778
36 select PINCTRL_SH_PFC
37
Laurent Pinchart881023d2012-12-15 23:51:22 +010038config PINCTRL_PFC_R8A7779
39 def_bool y
40 depends on ARCH_R8A7779
41 select PINCTRL_SH_PFC
42
Koji Matsuoka58c229e2013-04-08 11:08:53 +090043config PINCTRL_PFC_R8A7790
44 def_bool y
45 depends on ARCH_R8A7790
46 select PINCTRL_SH_PFC
47
Laurent Pinchartccda5522012-12-15 23:51:29 +010048config PINCTRL_PFC_SH7203
49 def_bool y
50 depends on CPU_SUBTYPE_SH7203
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070051 depends on GPIOLIB
Laurent Pinchartccda5522012-12-15 23:51:29 +010052 select PINCTRL_SH_PFC
53
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010054config PINCTRL_PFC_SH7264
55 def_bool y
56 depends on CPU_SUBTYPE_SH7264
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070057 depends on GPIOLIB
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010058 select PINCTRL_SH_PFC
59
Laurent Pinchartf5e811f2012-12-15 23:51:31 +010060config PINCTRL_PFC_SH7269
61 def_bool y
62 depends on CPU_SUBTYPE_SH7269
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070063 depends on GPIOLIB
Laurent Pinchartf5e811f2012-12-15 23:51:31 +010064 select PINCTRL_SH_PFC
65
Laurent Pinchart6e5469a2012-12-15 23:51:23 +010066config PINCTRL_PFC_SH7372
67 def_bool y
68 depends on ARCH_SH7372
69 select PINCTRL_SH_PFC
70
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010071config PINCTRL_PFC_SH73A0
72 def_bool y
73 depends on ARCH_SH73A0
74 select PINCTRL_SH_PFC
Laurent Pinchartea770ad2013-04-21 23:26:26 +020075 select REGULATOR
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010076
Laurent Pinchart74cad602012-12-15 23:51:32 +010077config PINCTRL_PFC_SH7720
78 def_bool y
79 depends on CPU_SUBTYPE_SH7720
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070080 depends on GPIOLIB
Laurent Pinchart74cad602012-12-15 23:51:32 +010081 select PINCTRL_SH_PFC
82
Laurent Pinchartf5e25ae2012-12-15 23:51:33 +010083config PINCTRL_PFC_SH7722
84 def_bool y
85 depends on CPU_SUBTYPE_SH7722
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070086 depends on GPIOLIB
Laurent Pinchartf5e25ae2012-12-15 23:51:33 +010087 select PINCTRL_SH_PFC
88
Laurent Pinchartd05afa02012-12-15 23:51:34 +010089config PINCTRL_PFC_SH7723
90 def_bool y
91 depends on CPU_SUBTYPE_SH7723
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070092 depends on GPIOLIB
Laurent Pinchartd05afa02012-12-15 23:51:34 +010093 select PINCTRL_SH_PFC
94
Laurent Pinchart0ff25ba2012-12-15 23:51:35 +010095config PINCTRL_PFC_SH7724
96 def_bool y
97 depends on CPU_SUBTYPE_SH7724
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070098 depends on GPIOLIB
Laurent Pinchart0ff25ba2012-12-15 23:51:35 +010099 select PINCTRL_SH_PFC
100
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100101config PINCTRL_PFC_SH7734
102 def_bool y
103 depends on CPU_SUBTYPE_SH7734
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700104 depends on GPIOLIB
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100105 select PINCTRL_SH_PFC
106
Laurent Pinchart0bb92672012-12-15 23:51:37 +0100107config PINCTRL_PFC_SH7757
108 def_bool y
109 depends on CPU_SUBTYPE_SH7757
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700110 depends on GPIOLIB
Laurent Pinchart0bb92672012-12-15 23:51:37 +0100111 select PINCTRL_SH_PFC
112
Laurent Pincharta56398e2012-12-15 23:51:38 +0100113config PINCTRL_PFC_SH7785
114 def_bool y
115 depends on CPU_SUBTYPE_SH7785
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700116 depends on GPIOLIB
Laurent Pincharta56398e2012-12-15 23:51:38 +0100117 select PINCTRL_SH_PFC
118
Laurent Pinchartd2a31bd2012-12-15 23:51:39 +0100119config PINCTRL_PFC_SH7786
120 def_bool y
121 depends on CPU_SUBTYPE_SH7786
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700122 depends on GPIOLIB
Laurent Pinchartd2a31bd2012-12-15 23:51:39 +0100123 select PINCTRL_SH_PFC
124
Laurent Pinchartd5d9a812012-12-15 23:51:40 +0100125config PINCTRL_PFC_SHX3
126 def_bool y
127 depends on CPU_SUBTYPE_SHX3
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700128 depends on GPIOLIB
Laurent Pinchartd5d9a812012-12-15 23:51:40 +0100129 select PINCTRL_SH_PFC
130
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +0100131endif