max1617.h 1.0 KB

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