Files
linux-nv-oot/include/dt-bindings/interconnect/tegra_icc_id.h
Laxman Dewangan 527743a5c3 platform/tegra: Add Tegra Central Activity Monitor driver
Actmon is a hardware block that can be used to track the activity of
certain hardware units. It can boost EMC clock depending
on the memory traffic among various client. It is called central actmon
as it monitors central activity for example MC activity.

Add central activity monitor driver.

Bug 3625675

Change-Id: I1a5918e7d84bc247f694f53f965c28888b773c91
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705395
GVS: Gerrit_Virtual_Submit
2022-05-01 09:26:33 -07:00

74 lines
2.3 KiB
C

/*
* Copyright (c) 2020-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _DT_BINDINGS_TEGRA_ICC_ID_H
#define _DT_BINDINGS_TEGRA_ICC_ID_H
/* ICC master node */
#define TEGRA_ICC_PRIMARY 0
#define TEGRA_ICC_DEBUG 1
#define TEGRA_ICC_CPU_CLUSTER0 2
#define TEGRA_ICC_CPU_CLUSTER1 3
#define TEGRA_ICC_CPU_CLUSTER2 4
#define TEGRA_ICC_GPU 5
#define TEGRA_ICC_CACTMON 6
#define TEGRA_ICC_DISPLAY 7
#define TEGRA_ICC_VI 8
#define TEGRA_ICC_EQOS 9
#define TEGRA_ICC_PCIE_0 10
#define TEGRA_ICC_PCIE_1 11
#define TEGRA_ICC_PCIE_2 12
#define TEGRA_ICC_PCIE_3 13
#define TEGRA_ICC_PCIE_4 14
#define TEGRA_ICC_PCIE_5 15
#define TEGRA_ICC_PCIE_6 16
#define TEGRA_ICC_PCIE_7 17
#define TEGRA_ICC_PCIE_8 18
#define TEGRA_ICC_PCIE_9 19
#define TEGRA_ICC_PCIE_10 20
#define TEGRA_ICC_DLA_0 21
#define TEGRA_ICC_DLA_1 22
#define TEGRA_ICC_SDMMC_1 23
#define TEGRA_ICC_SDMMC_2 24
#define TEGRA_ICC_SDMMC_3 25
#define TEGRA_ICC_SDMMC_4 26
#define TEGRA_ICC_NVDEC 27
#define TEGRA_ICC_NVENC 28
#define TEGRA_ICC_NVJPG_0 29
#define TEGRA_ICC_NVJPG_1 30
#define TEGRA_ICC_OFAA 31
#define TEGRA_ICC_XUSB_HOST 32
#define TEGRA_ICC_XUSB_DEV 33
#define TEGRA_ICC_TSEC 34
#define TEGRA_ICC_VIC 35
#define TEGRA_ICC_APE 36
#define TEGRA_ICC_APEDMA 37
#define TEGRA_ICC_SE 38
#define TEGRA_ICC_ISP 39
#define TEGRA_ICC_HDA 40
#define TEGRA_ICC_VIFAL 41
#define TEGRA_ICC_VI2FAL 42
#define TEGRA_ICC_VI2 43
#define TEGRA_ICC_RCE 44
#define TEGRA_ICC_PVA 45
#define TEGRA_ICC_NVPMODEL 46
/* remove later */
#define NV_NVDISPLAYR2MC_SR_ID TEGRA_ICC_DISPLAY
#define TEGRA_ICC_MASTER TEGRA_ICC_PRIMARY
#endif /* _DT_BINDINGS_TEGRA_ICC_ID_H */