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

if (X86 || COMPILE_TEST)

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

config PINCTRL_KX7000
	tristate "Zhaoxin KX7000 pinctrl and GPIO driver"
	depends on ACPI
	select PINCTRL_ZHAOXIN
	default m
	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.
	  If unsure, say Y.

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

 	  To compile this driver as a module, choose M here.
	  If unsure, say Y.

endif
