blob: 07eca54bdc1c89eee72d5f8e5ec8f967c2680e22 [file] [log] [blame]
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +01001#
2# Renesas SH and SH Mobile PINCTRL drivers
3#
4
Simon Hormanfe351cc2016-02-25 09:51:54 +09005if ARCH_RENESAS || SUPERH
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +01006
7config PINCTRL_SH_PFC
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +01008 select PINMUX
9 select PINCONF
Laurent Pinchartc58d9c12013-03-10 16:44:02 +010010 select GENERIC_PINCONF
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +010011 def_bool y
12 help
13 This enables pin control drivers for SH and SH Mobile platforms
14
Magnus Dammabc60d42016-02-17 17:15:49 +090015config PINCTRL_SH_PFC_GPIO
16 select GPIOLIB
17 select PINCTRL_SH_PFC
18 bool
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +010019 help
Magnus Dammabc60d42016-02-17 17:15:49 +090020 This enables pin control and GPIO drivers for SH/SH Mobile platforms
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +010021
Niklas Söderlund1e7d5d82015-01-25 14:49:52 +010022config PINCTRL_PFC_EMEV2
23 def_bool y
24 depends on ARCH_EMEV2
25 select PINCTRL_SH_PFC
26
Magnus Dammc98f6c22013-03-26 22:49:49 +090027config PINCTRL_PFC_R8A73A4
28 def_bool y
29 depends on ARCH_R8A73A4
Magnus Dammabc60d42016-02-17 17:15:49 +090030 select PINCTRL_SH_PFC_GPIO
Magnus Dammc98f6c22013-03-26 22:49:49 +090031
Laurent Pinchartd5b15212012-12-15 23:51:21 +010032config PINCTRL_PFC_R8A7740
33 def_bool y
34 depends on ARCH_R8A7740
Magnus Dammabc60d42016-02-17 17:15:49 +090035 select PINCTRL_SH_PFC_GPIO
Laurent Pinchartd5b15212012-12-15 23:51:21 +010036
Kuninori Morimoto87f8c982013-04-12 05:37:20 +000037config PINCTRL_PFC_R8A7778
38 def_bool y
39 depends on ARCH_R8A7778
40 select PINCTRL_SH_PFC
41
Laurent Pinchart881023d2012-12-15 23:51:22 +010042config PINCTRL_PFC_R8A7779
43 def_bool y
44 depends on ARCH_R8A7779
45 select PINCTRL_SH_PFC
46
Koji Matsuoka58c229e2013-04-08 11:08:53 +090047config PINCTRL_PFC_R8A7790
48 def_bool y
49 depends on ARCH_R8A7790
50 select PINCTRL_SH_PFC
51
Hisashi Nakamura50884512013-10-17 06:46:05 +090052config PINCTRL_PFC_R8A7791
53 def_bool y
54 depends on ARCH_R8A7791
55 select PINCTRL_SH_PFC
56
Sergei Shtylyov2cf59e02016-06-30 00:21:08 +030057config PINCTRL_PFC_R8A7792
58 def_bool y
59 depends on ARCH_R8A7792
60 select PINCTRL_SH_PFC
61
Ulrich Hechtcb0ba732015-05-12 11:13:20 +020062config PINCTRL_PFC_R8A7793
63 def_bool y
64 depends on ARCH_R8A7793
65 select PINCTRL_SH_PFC
66
Hisashi Nakamura43c44362015-06-06 01:34:48 +030067config PINCTRL_PFC_R8A7794
68 def_bool y
69 depends on ARCH_R8A7794
70 select PINCTRL_SH_PFC
71
Takeshi Kihara0b0ffc92015-09-03 02:51:49 +000072config PINCTRL_PFC_R8A7795
73 def_bool y
74 depends on ARCH_R8A7795
75 select PINCTRL_SH_PFC
76
Takeshi Kiharaf9aece72016-08-18 15:12:32 +020077config PINCTRL_PFC_R8A7796
78 def_bool y
79 depends on ARCH_R8A7796
80 select PINCTRL_SH_PFC
81
Laurent Pinchartccda5522012-12-15 23:51:29 +010082config PINCTRL_PFC_SH7203
83 def_bool y
84 depends on CPU_SUBTYPE_SH7203
Magnus Dammabc60d42016-02-17 17:15:49 +090085 select PINCTRL_SH_PFC_GPIO
Laurent Pinchartccda5522012-12-15 23:51:29 +010086
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010087config PINCTRL_PFC_SH7264
88 def_bool y
89 depends on CPU_SUBTYPE_SH7264
Magnus Dammabc60d42016-02-17 17:15:49 +090090 select PINCTRL_SH_PFC_GPIO
Laurent Pincharta8d42fc2012-12-15 23:51:30 +010091
Laurent Pinchartf5e811f2012-12-15 23:51:31 +010092config PINCTRL_PFC_SH7269
93 def_bool y
94 depends on CPU_SUBTYPE_SH7269
Magnus Dammabc60d42016-02-17 17:15:49 +090095 select PINCTRL_SH_PFC_GPIO
Laurent Pinchartf5e811f2012-12-15 23:51:31 +010096
Laurent Pinchart5d5166d2012-12-15 23:51:24 +010097config PINCTRL_PFC_SH73A0
98 def_bool y
99 depends on ARCH_SH73A0
Magnus Dammabc60d42016-02-17 17:15:49 +0900100 select PINCTRL_SH_PFC_GPIO
Laurent Pinchartea770ad2013-04-21 23:26:26 +0200101 select REGULATOR
Laurent Pinchart5d5166d2012-12-15 23:51:24 +0100102
Laurent Pinchart74cad602012-12-15 23:51:32 +0100103config PINCTRL_PFC_SH7720
104 def_bool y
105 depends on CPU_SUBTYPE_SH7720
Magnus Dammabc60d42016-02-17 17:15:49 +0900106 select PINCTRL_SH_PFC_GPIO
Laurent Pinchart74cad602012-12-15 23:51:32 +0100107
Laurent Pinchartf5e25ae2012-12-15 23:51:33 +0100108config PINCTRL_PFC_SH7722
109 def_bool y
110 depends on CPU_SUBTYPE_SH7722
Magnus Dammabc60d42016-02-17 17:15:49 +0900111 select PINCTRL_SH_PFC_GPIO
Laurent Pinchartf5e25ae2012-12-15 23:51:33 +0100112
Laurent Pinchartd05afa02012-12-15 23:51:34 +0100113config PINCTRL_PFC_SH7723
114 def_bool y
115 depends on CPU_SUBTYPE_SH7723
Magnus Dammabc60d42016-02-17 17:15:49 +0900116 select PINCTRL_SH_PFC_GPIO
Laurent Pinchartd05afa02012-12-15 23:51:34 +0100117
Laurent Pinchart0ff25ba2012-12-15 23:51:35 +0100118config PINCTRL_PFC_SH7724
119 def_bool y
120 depends on CPU_SUBTYPE_SH7724
Magnus Dammabc60d42016-02-17 17:15:49 +0900121 select PINCTRL_SH_PFC_GPIO
Laurent Pinchart0ff25ba2012-12-15 23:51:35 +0100122
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100123config PINCTRL_PFC_SH7734
124 def_bool y
125 depends on CPU_SUBTYPE_SH7734
Magnus Dammabc60d42016-02-17 17:15:49 +0900126 select PINCTRL_SH_PFC_GPIO
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100127
Laurent Pinchart0bb92672012-12-15 23:51:37 +0100128config PINCTRL_PFC_SH7757
129 def_bool y
130 depends on CPU_SUBTYPE_SH7757
Magnus Dammabc60d42016-02-17 17:15:49 +0900131 select PINCTRL_SH_PFC_GPIO
Laurent Pinchart0bb92672012-12-15 23:51:37 +0100132
Laurent Pincharta56398e2012-12-15 23:51:38 +0100133config PINCTRL_PFC_SH7785
134 def_bool y
135 depends on CPU_SUBTYPE_SH7785
Magnus Dammabc60d42016-02-17 17:15:49 +0900136 select PINCTRL_SH_PFC_GPIO
Laurent Pincharta56398e2012-12-15 23:51:38 +0100137
Laurent Pinchartd2a31bd2012-12-15 23:51:39 +0100138config PINCTRL_PFC_SH7786
139 def_bool y
140 depends on CPU_SUBTYPE_SH7786
Magnus Dammabc60d42016-02-17 17:15:49 +0900141 select PINCTRL_SH_PFC_GPIO
Laurent Pinchartd2a31bd2012-12-15 23:51:39 +0100142
Laurent Pinchartd5d9a812012-12-15 23:51:40 +0100143config PINCTRL_PFC_SHX3
144 def_bool y
145 depends on CPU_SUBTYPE_SHX3
Magnus Dammabc60d42016-02-17 17:15:49 +0900146 select PINCTRL_SH_PFC_GPIO
Laurent Pinchart6e54d8d2012-12-15 23:51:19 +0100147endif