162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig PM_DEVFREQ_EVENT
362306a36Sopenharmony_ci	bool "DEVFREQ-Event device Support"
462306a36Sopenharmony_ci	help
562306a36Sopenharmony_ci	  The devfreq-event device provide the raw data and events which
662306a36Sopenharmony_ci	  indicate the current state of devfreq-event device. The provided
762306a36Sopenharmony_ci	  data from devfreq-event device is used to monitor the state of
862306a36Sopenharmony_ci	  device and determine the suitable size of resource to reduce the
962306a36Sopenharmony_ci	  wasted resource.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci	  The devfreq-event device can support the various type of events
1262306a36Sopenharmony_ci	  (e.g., raw data, utilization, latency, bandwidth). The events
1362306a36Sopenharmony_ci	  may be used by devfreq governor and other subsystem.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciif PM_DEVFREQ_EVENT
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig DEVFREQ_EVENT_EXYNOS_NOCP
1862306a36Sopenharmony_ci	tristate "Exynos NoC (Network On Chip) Probe DEVFREQ event Driver"
1962306a36Sopenharmony_ci	depends on ARCH_EXYNOS || COMPILE_TEST
2062306a36Sopenharmony_ci	select PM_OPP
2162306a36Sopenharmony_ci	select REGMAP_MMIO
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  This add the devfreq-event driver for Exynos SoC. It provides NoC
2462306a36Sopenharmony_ci	  (Network on Chip) Probe counters to measure the bandwidth of AXI bus.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig DEVFREQ_EVENT_EXYNOS_PPMU
2762306a36Sopenharmony_ci	tristate "Exynos PPMU (Platform Performance Monitoring Unit) DEVFREQ event Driver"
2862306a36Sopenharmony_ci	depends on ARCH_EXYNOS || COMPILE_TEST
2962306a36Sopenharmony_ci	select PM_OPP
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  This add the devfreq-event driver for Exynos SoC. It provides PPMU
3262306a36Sopenharmony_ci	  (Platform Performance Monitoring Unit) counters to estimate the
3362306a36Sopenharmony_ci	  utilization of each module.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciconfig DEVFREQ_EVENT_ROCKCHIP_DFI
3662306a36Sopenharmony_ci	tristate "ROCKCHIP DFI DEVFREQ event Driver"
3762306a36Sopenharmony_ci	depends on ARCH_ROCKCHIP || COMPILE_TEST
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  This add the devfreq-event driver for Rockchip SoC. It provides DFI
4062306a36Sopenharmony_ci	  (DDR Monitor Module) driver to count ddr load.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciendif # PM_DEVFREQ_EVENT
43