Merge "devfreq: snapshot of MSM BIMC bwmon support for bw_hwmon governor"

This commit is contained in:
QCTECMDR Service 2024-09-24 22:40:22 -07:00 committed by Gerrit - the friendly Code Review server
commit e28058321d
3 changed files with 1171 additions and 0 deletions

View file

@ -161,6 +161,30 @@ config ARM_SUN8I_A33_MBUS_DEVFREQ
This adds the DEVFREQ driver for the MBUS controller in some
Allwinner sun8i (A33 through H3) and sun50i (A64 and H5) SoCs.
config QCOM_DEVFREQ_ICC
bool "Qualcomm Technologies Inc. DEVFREQ device for device master <-> slave IB/AB BW voting"
depends on ARCH_QCOM
select DEVFREQ_GOV_PERFORMANCE
select DEVFREQ_GOV_POWERSAVE
select DEVFREQ_GOV_USERSPACE
select DEVFREQ_GOV_CPUFREQ
select INTERCONNECT
default n
help
Different devfreq governors use this devfreq device to make CPU to
DDR IB/AB bandwidth votes. This driver provides a SoC topology
agnostic interface to so that some of the devfreq governors can be
shared across SoCs.
config QCOM_BIMC_BWMON
tristate "QCOM BIMC Bandwidth monitor hardware"
depends on ARCH_QCOM
help
The BIMC Bandwidth monitor hardware allows for monitoring the
traffic coming from each master port connected to the BIMC. It also
has the capability to raise an IRQ when the count exceeds a
programmable limit.
source "drivers/devfreq/event/Kconfig"
endif # PM_DEVFREQ

View file

@ -16,6 +16,8 @@ obj-$(CONFIG_ARM_MEDIATEK_CCI_DEVFREQ) += mtk-cci-devfreq.o
obj-$(CONFIG_ARM_RK3399_DMC_DEVFREQ) += rk3399_dmc.o
obj-$(CONFIG_ARM_SUN8I_A33_MBUS_DEVFREQ) += sun8i-a33-mbus.o
obj-$(CONFIG_ARM_TEGRA_DEVFREQ) += tegra30-devfreq.o
obj-$(CONFIG_QCOM_DEVFREQ_ICC) += devfreq_icc.o
obj-$(CONFIG_QCOM_BIMC_BWMON) += bimc-bwmon.o
# DEVFREQ Event Drivers
obj-$(CONFIG_PM_DEVFREQ_EVENT) += event/

1145
drivers/devfreq/bimc-bwmon.c Normal file

File diff suppressed because it is too large Load diff