hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/thermal/tegra/tegra132-soctherm.c
....@@ -1,5 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
2
- * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
3
+ * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
34 *
45 * This software is licensed under the terms of the GNU General Public
56 * License version 2, as published by the Free Software Foundation, and
....@@ -55,6 +56,7 @@
5556 .thermtrip_any_en_mask = TEGRA132_THERMTRIP_ANY_EN_MASK,
5657 .thermtrip_enable_mask = TEGRA132_THERMTRIP_CPU_EN_MASK,
5758 .thermtrip_threshold_mask = TEGRA132_THERMTRIP_CPU_THRESH_MASK,
59
+ .thermctl_isr_mask = THERM_IRQ_CPU_MASK,
5860 .thermctl_lvl0_offset = THERMCTL_LEVEL0_GROUP_CPU,
5961 .thermctl_lvl0_up_thresh_mask = TEGRA132_THERMCTL_LVL0_UP_THRESH_MASK,
6062 .thermctl_lvl0_dn_thresh_mask = TEGRA132_THERMCTL_LVL0_DN_THRESH_MASK,
....@@ -73,6 +75,7 @@
7375 .thermtrip_any_en_mask = TEGRA132_THERMTRIP_ANY_EN_MASK,
7476 .thermtrip_enable_mask = TEGRA132_THERMTRIP_GPU_EN_MASK,
7577 .thermtrip_threshold_mask = TEGRA132_THERMTRIP_GPUMEM_THRESH_MASK,
78
+ .thermctl_isr_mask = THERM_IRQ_GPU_MASK,
7679 .thermctl_lvl0_offset = THERMCTL_LEVEL0_GROUP_GPU,
7780 .thermctl_lvl0_up_thresh_mask = TEGRA132_THERMCTL_LVL0_UP_THRESH_MASK,
7881 .thermctl_lvl0_dn_thresh_mask = TEGRA132_THERMCTL_LVL0_DN_THRESH_MASK,
....@@ -89,6 +92,7 @@
8992 .thermtrip_any_en_mask = TEGRA132_THERMTRIP_ANY_EN_MASK,
9093 .thermtrip_enable_mask = TEGRA132_THERMTRIP_TSENSE_EN_MASK,
9194 .thermtrip_threshold_mask = TEGRA132_THERMTRIP_TSENSE_THRESH_MASK,
95
+ .thermctl_isr_mask = THERM_IRQ_TSENSE_MASK,
9296 .thermctl_lvl0_offset = THERMCTL_LEVEL0_GROUP_TSENSE,
9397 .thermctl_lvl0_up_thresh_mask = TEGRA132_THERMCTL_LVL0_UP_THRESH_MASK,
9498 .thermctl_lvl0_dn_thresh_mask = TEGRA132_THERMCTL_LVL0_DN_THRESH_MASK,
....@@ -107,6 +111,7 @@
107111 .thermtrip_any_en_mask = TEGRA132_THERMTRIP_ANY_EN_MASK,
108112 .thermtrip_enable_mask = TEGRA132_THERMTRIP_MEM_EN_MASK,
109113 .thermtrip_threshold_mask = TEGRA132_THERMTRIP_GPUMEM_THRESH_MASK,
114
+ .thermctl_isr_mask = THERM_IRQ_MEM_MASK,
110115 .thermctl_lvl0_offset = THERMCTL_LEVEL0_GROUP_MEM,
111116 .thermctl_lvl0_up_thresh_mask = TEGRA132_THERMCTL_LVL0_UP_THRESH_MASK,
112117 .thermctl_lvl0_dn_thresh_mask = TEGRA132_THERMCTL_LVL0_DN_THRESH_MASK,