# SPDX-License-Identifier: GPL-2.0-only

if PM_DEVFREQ

config MTK_DVFSRC_DEVFREQ
	tristate "MediaTek DVFSRC DEVFREQ Driver"
	depends on (MTK_DVFSRC && HAVE_ARM_SMCCC) || \
		(COMPILE_TEST && MTK_DVFSRC && HAVE_ARM_SMCCC)
	select DEVFREQ_GOV_USERSPACE
	help
	  This adds the DEVFREQ driver for the MediaTek DVFSRC
	  (dynamic voltage and frequency scaling resource collector).
	  The driver support to request dram frequency by DVFSRC and
	  user can adjust dram frequency on userspace.

endif # PM_DEVFREQ
