tegra: hwpm: th500: Add support for CL2

This patch adds support for CL2 (LTS) performance
monitoring in the driver.

Bug 4287384

Signed-off-by: Vishal Aslot <vaslot@nvidia.com>
Change-Id: Ieed663f0149bc52576fcf6d71de0e627b11fdc84
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2988343
Reviewed-by: Vedashree Vidwans <vvidwans@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Vishal Aslot
2023-09-29 15:09:16 +00:00
committed by mobile promotions
parent 095e1bafd8
commit 6e75fd7b50
11 changed files with 1161 additions and 48 deletions

View File

@@ -46,6 +46,7 @@ enum tegra_soc_hwpm_ip {
TEGRA_SOC_HWPM_IP_APE,
TEGRA_SOC_HWPM_IP_C2C,
TEGRA_SOC_HWPM_IP_SMMU,
TEGRA_SOC_HWPM_IP_CL2,
TERGA_SOC_HWPM_NUM_IPS
};
@@ -114,6 +115,7 @@ enum tegra_soc_hwpm_resource {
TEGRA_SOC_HWPM_RESOURCE_APE,
TEGRA_SOC_HWPM_RESOURCE_C2C,
TEGRA_SOC_HWPM_RESOURCE_SMMU,
TEGRA_SOC_HWPM_RESOURCE_CL2,
TERGA_SOC_HWPM_NUM_RESOURCES
};