1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun /* $Id: max1617.h,v 1.1 2001/04/02 09:59:08 davem Exp $ */ 3*4882a593Smuzhiyun #ifndef _MAX1617_H 4*4882a593Smuzhiyun #define _MAX1617_H 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun #define MAX1617_AMB_TEMP 0x00 /* Ambient temp in C */ 7*4882a593Smuzhiyun #define MAX1617_CPU_TEMP 0x01 /* Processor die temp in C */ 8*4882a593Smuzhiyun #define MAX1617_STATUS 0x02 /* Chip status bits */ 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun /* Read-only versions of changeable registers. */ 11*4882a593Smuzhiyun #define MAX1617_RD_CFG_BYTE 0x03 /* Config register */ 12*4882a593Smuzhiyun #define MAX1617_RD_CVRATE_BYTE 0x04 /* Temp conversion rate */ 13*4882a593Smuzhiyun #define MAX1617_RD_AMB_HIGHLIM 0x05 /* Ambient high limit */ 14*4882a593Smuzhiyun #define MAX1617_RD_AMB_LOWLIM 0x06 /* Ambient low limit */ 15*4882a593Smuzhiyun #define MAX1617_RD_CPU_HIGHLIM 0x07 /* Processor high limit */ 16*4882a593Smuzhiyun #define MAX1617_RD_CPU_LOWLIM 0x08 /* Processor low limit */ 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun /* Write-only versions of the same. */ 19*4882a593Smuzhiyun #define MAX1617_WR_CFG_BYTE 0x09 20*4882a593Smuzhiyun #define MAX1617_WR_CVRATE_BYTE 0x0a 21*4882a593Smuzhiyun #define MAX1617_WR_AMB_HIGHLIM 0x0b 22*4882a593Smuzhiyun #define MAX1617_WR_AMB_LOWLIM 0x0c 23*4882a593Smuzhiyun #define MAX1617_WR_CPU_HIGHLIM 0x0d 24*4882a593Smuzhiyun #define MAX1617_WR_CPU_LOWLIM 0x0e 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun #define MAX1617_ONESHOT 0x0f 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun #endif /* _MAX1617_H */ 29