# SPDX-License-Identifier: GPL-2.0
menuconfig PHYTIUM_PMU
        bool "Phytium PMU support"
        depends on ARCH_PHYTIUM
        help
          Say Y here if you want to support Phytium performance monitoring
          unit (PMU) drivers.

if PHYTIUM_PMU

config PHYT_DDR_PMU
	tristate "Phytium SoC DDR PMU driver"
	depends on ARCH_PHYTIUM && ACPI
	default m
	help
	  Provides support and unified interface for Phytium SoC DDR Controller performance
	  monitoring unit (PMU).

if PHYT_DDR_PMU

config PHYT_DMU_PMU_PD2408
	tristate "Provide support for phytium D3000M SoC DDR PMU driver"
	depends on (ARCH_PHYTIUM && ACPI && (ARM_PHYTIUM_DMU_DEVFREQ || !ARM_PHYTIUM_DMU_DEVFREQ))
	default m
	help
	  Provides support for Phytium D3000M SoC DDR Controller performance
	  monitoring unit (PMU).
	  When PHYT_DDR_PMU or ARM_PHYTIUM_DMU_DEVFREQ is built as a modules (=m),
	  this option can only be built as a module (=m) or disabled (=n).

endif

endif

