# Kernel driver max1668

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

<a id="rst-kernel-driver-max1668"></a>

Supported chips:

> - Maxim MAX1668, MAX1805 and MAX1989
>
>   Prefix: 'max1668'
>
>   Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e
>
>   Datasheet: [https://www.analog.com/media/en/technical-documentation/data-sheets/MAX1668-MAX1989.pdf](<https://www.analog.com/media/en/technical-documentation/data-sheets/MAX1668-MAX1989.pdf>)

Author:

> David George &lt;[david.george@ska.ac.za](<mailto:david.george@ska.ac.za>)&gt;

<a id="rst-description"></a>

## Description

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

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

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

- MAX1805, MAX1668 and MAX1989:


<table>
<tbody>
<tr>
<td>


temp1_input

</td>
<td>


ro

</td>
<td>


local (ambient) temperature

</td>
</tr>
<tr>
<td>


temp1_max

</td>
<td>


rw

</td>
<td>


local temperature maximum threshold for alarm

</td>
</tr>
<tr>
<td>


temp1_max_alarm

</td>
<td>


ro

</td>
<td>


local temperature maximum threshold alarm

</td>
</tr>
<tr>
<td>


temp1_min

</td>
<td>


rw

</td>
<td>


local temperature minimum threshold for alarm

</td>
</tr>
<tr>
<td>


temp1_min_alarm

</td>
<td>


ro

</td>
<td>


local temperature minimum threshold alarm

</td>
</tr>
<tr>
<td>


temp2_input

</td>
<td>


ro

</td>
<td>


remote temperature 1

</td>
</tr>
<tr>
<td>


temp2_max

</td>
<td>


rw

</td>
<td>


remote temperature 1 maximum threshold for alarm

</td>
</tr>
<tr>
<td>


temp2_max_alarm

</td>
<td>


ro

</td>
<td>


remote temperature 1 maximum threshold alarm

</td>
</tr>
<tr>
<td>


temp2_min

</td>
<td>


rw

</td>
<td>


remote temperature 1 minimum threshold for alarm

</td>
</tr>
<tr>
<td>


temp2_min_alarm

</td>
<td>


ro

</td>
<td>


remote temperature 1 minimum threshold alarm

</td>
</tr>
<tr>
<td>


temp3_input

</td>
<td>


ro

</td>
<td>


remote temperature 2

</td>
</tr>
<tr>
<td>


temp3_max

</td>
<td>


rw

</td>
<td>


remote temperature 2 maximum threshold for alarm

</td>
</tr>
<tr>
<td>


temp3_max_alarm

</td>
<td>


ro

</td>
<td>


remote temperature 2 maximum threshold alarm

</td>
</tr>
<tr>
<td>


temp3_min

</td>
<td>


rw

</td>
<td>


remote temperature 2 minimum threshold for alarm

</td>
</tr>
<tr>
<td>


temp3_min_alarm

</td>
<td>


ro

</td>
<td>


remote temperature 2 minimum threshold alarm

</td>
</tr>
</tbody>
</table>

- MAX1668 and MAX1989 only:


<table>
<tbody>
<tr>
<td>


temp4_input

</td>
<td>


ro

</td>
<td>


remote temperature 3

</td>
</tr>
<tr>
<td>


temp4_max

</td>
<td>


rw

</td>
<td>


remote temperature 3 maximum threshold for alarm

</td>
</tr>
<tr>
<td>


temp4_max_alarm

</td>
<td>


ro

</td>
<td>


remote temperature 3 maximum threshold alarm

</td>
</tr>
<tr>
<td>


temp4_min

</td>
<td>


rw

</td>
<td>


remote temperature 3 minimum threshold for alarm

</td>
</tr>
<tr>
<td>


temp4_min_alarm

</td>
<td>


ro

</td>
<td>


remote temperature 3 minimum threshold alarm

</td>
</tr>
<tr>
<td>


temp5_input

</td>
<td>


ro

</td>
<td>


remote temperature 4

</td>
</tr>
<tr>
<td>


temp5_max

</td>
<td>


rw

</td>
<td>


remote temperature 4 maximum threshold for alarm

</td>
</tr>
<tr>
<td>


temp5_max_alarm

</td>
<td>


ro

</td>
<td>


remote temperature 4 maximum threshold alarm

</td>
</tr>
<tr>
<td>


temp5_min

</td>
<td>


rw

</td>
<td>


remote temperature 4 minimum threshold for alarm

</td>
</tr>
<tr>
<td>


temp5_min_alarm

</td>
<td>


ro

</td>
<td>


remote temperature 4 minimum threshold alarm

</td>
</tr>
</tbody>
</table>

<a id="rst-module-parameters"></a>

## Module Parameters

- read_only: int Set to non-zero if you wish to prevent write access to alarm thresholds.
