tegrakernel/kernel/nvidia/include/dt-bindings/thermal/tegra194-soctherm.h

66 lines
1.7 KiB
C
Raw Permalink Normal View History

2022-02-16 09:13:02 -06:00
/*
* Copyright (c) 2020, NVIDIA CORPORATION. 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 BPMP_ABI_MACH_T194_SOCTHERM_H
#define BPMP_ABI_MACH_T194_SOCTHERM_H
/**
* @file
* @defgroup bpmp_soctherm_ids Soctherm ID's
* @{
* @defgroup bpmp_soctherm_throt_ids Throttle Identifiers
* @defgroup bpmp_soctherm_edp_oc_ids EDP/OC Identifiers
* @defgroup bpmp_soctherm_throt_modes Throttle Modes
* @}
*/
/**
* @addtogroup bpmp_soctherm_throt_ids
* @{
*/
#define SOCTHERM_THROT_VEC_LITE 0U
#define SOCTHERM_THROT_VEC_HEAVY 1U
#define SOCTHERM_THROT_VEC_OC1 2U
#define SOCTHERM_THROT_VEC_OC2 3U
#define SOCTHERM_THROT_VEC_OC3 4U
#define SOCTHERM_THROT_VEC_OC4 5U
#define SOCTHERM_THROT_VEC_OC5 6U
#define SOCTHERM_THROT_VEC_OC6 7U
#define SOCTHERM_THROT_VEC_INVALID 8U
/** @} */
/**
* @addtogroup bpmp_soctherm_edp_oc_ids
* @{
*/
#define SOCTHERM_EDP_OC1 0U
#define SOCTHERM_EDP_OC2 1U
#define SOCTHERM_EDP_OC3 2U
#define SOCTHERM_EDP_OC4 3U
#define SOCTHERM_EDP_OC5 4U
#define SOCTHERM_EDP_OC6 5U
#define SOCTHERM_EDP_OC_INVALID 6U
/** @} */
/**
* @addtogroup bpmp_soctherm_throt_modes
*/
#define SOCTHERM_EDP_OC_MODE_BRIEF 2U
#endif