1#
2# Renesas SH and SH Mobile PINCTRL drivers
3#
4
5if ARCH_SHMOBILE || SUPERH
6
7config PINCTRL_SH_PFC
8	select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
9	select PINMUX
10	select PINCONF
11	select GENERIC_PINCONF
12	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
23config PINCTRL_PFC_EMEV2
24	def_bool y
25	depends on ARCH_EMEV2
26	select PINCTRL_SH_PFC
27
28config PINCTRL_PFC_R8A73A4
29	def_bool y
30	depends on ARCH_R8A73A4
31	select PINCTRL_SH_PFC
32
33config PINCTRL_PFC_R8A7740
34	def_bool y
35	depends on ARCH_R8A7740
36	select PINCTRL_SH_PFC
37
38config PINCTRL_PFC_R8A7778
39	def_bool y
40	depends on ARCH_R8A7778
41	select PINCTRL_SH_PFC
42
43config PINCTRL_PFC_R8A7779
44	def_bool y
45	depends on ARCH_R8A7779
46	select PINCTRL_SH_PFC
47
48config PINCTRL_PFC_R8A7790
49	def_bool y
50	depends on ARCH_R8A7790
51	select PINCTRL_SH_PFC
52
53config PINCTRL_PFC_R8A7791
54	def_bool y
55	depends on ARCH_R8A7791
56	select PINCTRL_SH_PFC
57
58config PINCTRL_PFC_SH7203
59	def_bool y
60	depends on CPU_SUBTYPE_SH7203
61	depends on GPIOLIB
62	select PINCTRL_SH_PFC
63
64config PINCTRL_PFC_SH7264
65	def_bool y
66	depends on CPU_SUBTYPE_SH7264
67	depends on GPIOLIB
68	select PINCTRL_SH_PFC
69
70config PINCTRL_PFC_SH7269
71	def_bool y
72	depends on CPU_SUBTYPE_SH7269
73	depends on GPIOLIB
74	select PINCTRL_SH_PFC
75
76config PINCTRL_PFC_SH73A0
77	def_bool y
78	depends on ARCH_SH73A0
79	select PINCTRL_SH_PFC
80	select REGULATOR
81
82config PINCTRL_PFC_SH7720
83	def_bool y
84	depends on CPU_SUBTYPE_SH7720
85	depends on GPIOLIB
86	select PINCTRL_SH_PFC
87
88config PINCTRL_PFC_SH7722
89	def_bool y
90	depends on CPU_SUBTYPE_SH7722
91	depends on GPIOLIB
92	select PINCTRL_SH_PFC
93
94config PINCTRL_PFC_SH7723
95	def_bool y
96	depends on CPU_SUBTYPE_SH7723
97	depends on GPIOLIB
98	select PINCTRL_SH_PFC
99
100config PINCTRL_PFC_SH7724
101	def_bool y
102	depends on CPU_SUBTYPE_SH7724
103	depends on GPIOLIB
104	select PINCTRL_SH_PFC
105
106config PINCTRL_PFC_SH7734
107	def_bool y
108	depends on CPU_SUBTYPE_SH7734
109	depends on GPIOLIB
110	select PINCTRL_SH_PFC
111
112config PINCTRL_PFC_SH7757
113	def_bool y
114	depends on CPU_SUBTYPE_SH7757
115	depends on GPIOLIB
116	select PINCTRL_SH_PFC
117
118config PINCTRL_PFC_SH7785
119	def_bool y
120	depends on CPU_SUBTYPE_SH7785
121	depends on GPIOLIB
122	select PINCTRL_SH_PFC
123
124config PINCTRL_PFC_SH7786
125	def_bool y
126	depends on CPU_SUBTYPE_SH7786
127	depends on GPIOLIB
128	select PINCTRL_SH_PFC
129
130config PINCTRL_PFC_SHX3
131	def_bool y
132	depends on CPU_SUBTYPE_SHX3
133	depends on GPIOLIB
134	select PINCTRL_SH_PFC
135
136endif
137