blob: ec5c8ec62aac34ea2bca97336a7d80c6e8e26251 [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
13 def_bool y
14 help
15 This enables pin control drivers for SH and SH Mobile platforms
16
17config GPIO_SH_PFC
18 bool "SuperH PFC GPIO support"
19 depends on PINCTRL_SH_PFC && GPIOLIB
20 help
21 This enables support for GPIOs within the SoC's pin function
22 controller.
23
Laurent Pinchartd5b15212012-12-15 23:51:21 +010024config PINCTRL_PFC_R8A7740
25 def_bool y
26 depends on ARCH_R8A7740
27 select PINCTRL_SH_PFC
28
Laurent Pinchart881023d2012-12-15 23:51:22 +010029config PINCTRL_PFC_R8A7779
30 def_bool y
31 depends on ARCH_R8A7779
32 select PINCTRL_SH_PFC
33
Laurent Pinchartccda5522012-12-15 23:51:29 +010034config PINCTRL_PFC_SH7203
35 def_bool y
36 depends on CPU_SUBTYPE_SH7203
37 depends on GENERIC_GPIO
38 select PINCTRL_SH_PFC
39
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010040config PINCTRL_PFC_SH7264
41 def_bool y
42 depends on CPU_SUBTYPE_SH7264
43 depends on GENERIC_GPIO
44 select PINCTRL_SH_PFC
45
Laurent Pinchart6e5469a2012-12-15 23:51:23 +010046config PINCTRL_PFC_SH7372
47 def_bool y
48 depends on ARCH_SH7372
49 select PINCTRL_SH_PFC
50
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010051config PINCTRL_PFC_SH73A0
52 def_bool y
53 depends on ARCH_SH73A0
54 select PINCTRL_SH_PFC
55
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +010056endif