xref: /linux/drivers/gpu/drm/nouveau/include/nvhw/ref/gh100/dev_therm.h (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
1 /* SPDX-License-Identifier: MIT
2  *
3  * Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
4  */
5 #ifndef __gh100_dev_therm_h__
6 #define __gh100_dev_therm_h__
7 
8 #define NV_THERM_I2CS_SCRATCH                                                  0x000200bc /* RW-4R */
9 #define NV_THERM_I2CS_SCRATCH_DATA                                                   31:0 /* RWIVF */
10 #define NV_THERM_I2CS_SCRATCH_DATA_INIT                                        0x00000000 /* RWI-V */
11 
12 #define NV_THERM_I2CS_SCRATCH_FSP_BOOT_COMPLETE                                   NV_THERM_I2CS_SCRATCH
13 #define NV_THERM_I2CS_SCRATCH_FSP_BOOT_COMPLETE_STATUS                                             31:0
14 #define NV_THERM_I2CS_SCRATCH_FSP_BOOT_COMPLETE_STATUS_SUCCESS                               0x000000FF
15 #define NV_THERM_I2CS_SCRATCH_FSP_BOOT_COMPLETE_STATUS_FAILED                                0x00000000
16 
17 #endif // __gh100_dev_therm_h__
18