blob: 0e1f99c33d47d3cfcb6677ee4736cbe37edf80d4 [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
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 Pinchartc58d9c12013-03-10 16:44:02 +010013 select GENERIC_PINCONF
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +010014 def_bool y
15 help
16 This enables pin control drivers for SH and SH Mobile platforms
17
18config 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 Dammc98f6c22013-03-26 22:49:49 +090025config PINCTRL_PFC_R8A73A4
26 def_bool y
27 depends on ARCH_R8A73A4
28 select PINCTRL_SH_PFC
29
Laurent Pinchartd5b15212012-12-15 23:51:21 +010030config PINCTRL_PFC_R8A7740
31 def_bool y
32 depends on ARCH_R8A7740
33 select PINCTRL_SH_PFC
34
Laurent Pinchart881023d2012-12-15 23:51:22 +010035config PINCTRL_PFC_R8A7779
36 def_bool y
37 depends on ARCH_R8A7779
38 select PINCTRL_SH_PFC
39
Laurent Pinchartccda5522012-12-15 23:51:29 +010040config 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 Pincharta8d42fc2012-12-15 23:51:30 +010046config 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 Pinchartf5e811f2012-12-15 23:51:31 +010052config 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 Pinchart6e5469a2012-12-15 23:51:23 +010058config PINCTRL_PFC_SH7372
59 def_bool y
60 depends on ARCH_SH7372
61 select PINCTRL_SH_PFC
62
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010063config PINCTRL_PFC_SH73A0
64 def_bool y
65 depends on ARCH_SH73A0
66 select PINCTRL_SH_PFC
67
Laurent Pinchart74cad602012-12-15 23:51:32 +010068config 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 Pinchartf5e25ae2012-12-15 23:51:33 +010074config 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 Pinchartd05afa02012-12-15 23:51:34 +010080config 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 Pinchart0ff25ba2012-12-15 23:51:35 +010086config 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 Pinchartac1ebc22012-12-15 23:51:36 +010092config 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 Pinchart0bb92672012-12-15 23:51:37 +010098config 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 Pincharta56398e2012-12-15 23:51:38 +0100104config 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 Pinchartd2a31bd2012-12-15 23:51:39 +0100110config 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 Pinchartd5d9a812012-12-15 23:51:40 +0100116config 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 Pinchart6e54d8d2012-12-15 23:51:19 +0100122endif