tegra: hwpm: add nvtherm enum

Add enum for NVTHERM ip and resource to
kernel driver and userspace library.

JIRA MSST-868

Change-Id: Iacb6e9c9205e4293af04e28f265dd535b6fd1783
Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3322825
Reviewed-by: Vasuki Shankar <vasukis@nvidia.com>
Reviewed-by: Yifei Wan <ywan@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Besar Wicaksono
2025-03-20 00:21:34 +00:00
committed by mobile promotions
parent 7f1249c9e9
commit 8b415ed149
5 changed files with 22 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
/* SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/* SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* SPDX-License-Identifier: GPL-2.0-only
*
* This program is free software; you can redistribute it and/or modify it
@@ -62,6 +62,7 @@ enum tegra_soc_hwpm_ip {
TEGRA_SOC_HWPM_IP_UCF_HUB,
TEGRA_SOC_HWPM_IP_UCF_SCB,
TEGRA_SOC_HWPM_IP_CPU,
TEGRA_SOC_HWPM_IP_NVTHERM,
TERGA_SOC_HWPM_NUM_IPS
};
@@ -149,6 +150,7 @@ enum tegra_soc_hwpm_resource {
TEGRA_SOC_HWPM_RESOURCE_UCF_HUB,
TEGRA_SOC_HWPM_RESOURCE_UCF_SCB,
TEGRA_SOC_HWPM_RESOURCE_CPU,
TEGRA_SOC_HWPM_RESOURCE_NVTHERM,
TERGA_SOC_HWPM_NUM_RESOURCES
};