tegra: hwpm: th500: Add support for MCF CORE

This patch adds support for MCF CORE performance
monitoring in the driver.

Bug 4287384

Signed-off-by: Vishal Aslot <vaslot@nvidia.com>
Change-Id: I75466b28f3539c4b77be274d512e97f4d3a8847c
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2985961
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Vedashree Vidwans <vvidwans@nvidia.com>
This commit is contained in:
Vishal Aslot
2023-09-26 15:28:32 +00:00
committed by mobile promotions
parent 2e41e3a5bd
commit d8fa381df1
7 changed files with 743 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ enum tegra_soc_hwpm_ip {
TEGRA_SOC_HWPM_IP_MCF_IOBHX,
TEGRA_SOC_HWPM_IP_MCF_C2C,
TEGRA_SOC_HWPM_IP_MCF_CLINK,
TEGRA_SOC_HWPM_IP_MCF_CORE,
TERGA_SOC_HWPM_NUM_IPS
};
@@ -132,6 +133,7 @@ enum tegra_soc_hwpm_resource {
TEGRA_SOC_HWPM_RESOURCE_MCF_IOBHX,
TEGRA_SOC_HWPM_RESOURCE_MCF_C2C,
TEGRA_SOC_HWPM_RESOURCE_MCF_CLINK,
TEGRA_SOC_HWPM_RESOURCE_MCF_CORE,
TERGA_SOC_HWPM_NUM_RESOURCES
};