# SPDX-License-Identifier: GPL-2.0
# Intel pin control drivers

if (X86 || COMPILE_TEST)

config PINCTRL_ZHAOXIN
	tristate
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
	select GPIOLIB
	select GPIOLIB_IRQCHIP

config PINCTRL_KX7000
	tristate "Zhaoxin KX7000 pinctrl and GPIO driver"
	depends on ACPI && X86
	default m
	select PINCTRL_ZHAOXIN
	help
	  This pinctrl driver provides an interface that allows configuring
	  of Zhaoxin KX7000 chipset pins and using them as GPIOs.

	  To compile this driver as a module, choose M here: the
	  module will be called pinctrl-kx7000.

	  If unsure, say Y.

endif
