# Kernel driver max31790

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

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

Supported chips:

> - Maxim MAX31730
>
>   Prefix: 'max31730'
>
>   Addresses scanned: 0x1c, 0x1d, 0x1e, 0x1f, 0x4c, 0x4d, 0x4e, 0x4f
>
>   Datasheet: [https://www.analog.com/media/en/technical-documentation/data-sheets/max31730.pdf](<https://www.analog.com/media/en/technical-documentation/data-sheets/max31730.pdf>)

Author: Guenter Roeck &lt;[linux@roeck-us.net](<mailto:linux@roeck-us.net>)&gt;

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

## Description

This driver implements support for Maxim MAX31730.

The MAX31730 temperature sensor monitors its own temperature and the temperatures of three external diode-connected transistors. The operating supply voltage is from 3.0V to 3.6V. Resistance cancellation compensates for high series resistance in circuit-board traces and the external thermal diode, while beta compensation corrects for temperature-measurement errors due to low-beta sensing transistors.

<a id="rst-sysfs-entries"></a>

## Sysfs entries


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


temp\[1-4\]\_enable

</td>
<td>


RW

</td>
<td>


Temperature enable/disable Set to 0 to enable channel, 0 to disable

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


temp\[1-4\]\_input

</td>
<td>


RO

</td>
<td>


Temperature input

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


temp\[2-4\]\_fault

</td>
<td>


RO

</td>
<td>


Fault indicator for remote channels

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


temp\[1-4\]\_max

</td>
<td>


RW

</td>
<td>


Maximum temperature

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


temp\[1-4\]\_max_alarm

</td>
<td>


RW

</td>
<td>


Maximum temperature alarm

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


temp\[1-4\]\_min

</td>
<td>


RW

</td>
<td>


Minimum temperature. Common for all channels. Only temp1_min is writeable.

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


temp\[1-4\]\_min_alarm

</td>
<td>


RO

</td>
<td>


Minimum temperature alarm

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


temp\[2-4\]\_offset

</td>
<td>


RW

</td>
<td>


Temperature offset for remote channels

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