Kernel driver max1668

Supported chips:

Author:

David George <david.george@ska.ac.za>

Description

This driver implements support for the Maxim MAX1668, MAX1805 and MAX1989chips.

The three devices are very similar, but the MAX1805 has a reduced featureset; only two remote temperature inputs vs the four available on the othertwo ICs.

The driver is able to distinguish between the devices and creates sysfsentries as follows:

  • MAX1805, MAX1668 and MAX1989:
temp1_inputrolocal (ambient) temperature
temp1_maxrwlocal temperature maximum threshold for alarm
temp1_max_alarmrolocal temperature maximum threshold alarm
temp1_minrwlocal temperature minimum threshold for alarm
temp1_min_alarmrolocal temperature minimum threshold alarm
temp2_inputroremote temperature 1
temp2_maxrwremote temperature 1 maximum threshold for alarm
temp2_max_alarmroremote temperature 1 maximum threshold alarm
temp2_minrwremote temperature 1 minimum threshold for alarm
temp2_min_alarmroremote temperature 1 minimum threshold alarm
temp3_inputroremote temperature 2
temp3_maxrwremote temperature 2 maximum threshold for alarm
temp3_max_alarmroremote temperature 2 maximum threshold alarm
temp3_minrwremote temperature 2 minimum threshold for alarm
temp3_min_alarmroremote temperature 2 minimum threshold alarm
  • MAX1668 and MAX1989 only:
temp4_inputroremote temperature 3
temp4_maxrwremote temperature 3 maximum threshold for alarm
temp4_max_alarmroremote temperature 3 maximum threshold alarm
temp4_minrwremote temperature 3 minimum threshold for alarm
temp4_min_alarmroremote temperature 3 minimum threshold alarm
temp5_inputroremote temperature 4
temp5_maxrwremote temperature 4 maximum threshold for alarm
temp5_max_alarmroremote temperature 4 maximum threshold alarm
temp5_minrwremote temperature 4 minimum threshold for alarm
temp5_min_alarmroremote temperature 4 minimum threshold alarm

Module Parameters

  • read_only: intSet to non-zero if you wish to prevent write access to alarm thresholds.