18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciif (ARCH_BERLIN || COMPILE_TEST)
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciconfig PINCTRL_BERLIN
58c2ecf20Sopenharmony_ci	bool
68c2ecf20Sopenharmony_ci	select PINMUX
78c2ecf20Sopenharmony_ci	select REGMAP_MMIO
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciconfig PINCTRL_AS370
108c2ecf20Sopenharmony_ci	bool "Synaptics as370 pin controller driver"
118c2ecf20Sopenharmony_ci	depends on OF
128c2ecf20Sopenharmony_ci	select PINCTRL_BERLIN
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig PINCTRL_BERLIN_BG2
158c2ecf20Sopenharmony_ci	def_bool MACH_BERLIN_BG2
168c2ecf20Sopenharmony_ci	depends on OF
178c2ecf20Sopenharmony_ci	select PINCTRL_BERLIN
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig PINCTRL_BERLIN_BG2CD
208c2ecf20Sopenharmony_ci	def_bool MACH_BERLIN_BG2CD
218c2ecf20Sopenharmony_ci	depends on OF
228c2ecf20Sopenharmony_ci	select PINCTRL_BERLIN
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig PINCTRL_BERLIN_BG2Q
258c2ecf20Sopenharmony_ci	def_bool MACH_BERLIN_BG2Q
268c2ecf20Sopenharmony_ci	depends on OF
278c2ecf20Sopenharmony_ci	select PINCTRL_BERLIN
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciconfig PINCTRL_BERLIN_BG4CT
308c2ecf20Sopenharmony_ci	bool "Marvell berlin4ct pin controller driver"
318c2ecf20Sopenharmony_ci	depends on OF
328c2ecf20Sopenharmony_ci	select PINCTRL_BERLIN
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciendif
35