# Kernel driver max16064

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

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

Supported chips:

> - Maxim MAX16064
>
>   Prefix: 'max16064'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.digikey.com/en/htmldatasheets/production/701833/0/0/1/max16064](<https://www.digikey.com/en/htmldatasheets/production/701833/0/0/1/max16064>)

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

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

## Description

This driver supports hardware monitoring for Maxim MAX16064 Quad Power-Supply Controller with Active-Voltage Output Control and PMBus Interface.

The driver is a client driver to the core PMBus driver. Please see [Documentation/hwmon/pmbus.rst](/kernel/hardware/hwmon/pmbus.md) for details on PMBus client drivers.

<a id="rst-usage-notes"></a>

## Usage Notes

This driver does not auto-detect devices. You will have to instantiate the devices explicitly. Please see [Documentation/i2c/instantiating-devices.rst](/kernel/hardware/i2c/instantiating-devices.md) for details.

<a id="rst-platform-data-support"></a>

## Platform data support

The driver supports standard PMBus driver platform data.

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

## Sysfs entries

The following attributes are supported. Limits are read-write; all other attributes are read-only.


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


in\[1-4\]\_label

</td>
<td>


"vout\[1-4\]"

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


in\[1-4\]\_input

</td>
<td>


Measured voltage. From READ_VOUT register.

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


in\[1-4\]\_min

</td>
<td>


Minimum Voltage. From VOUT_UV_WARN_LIMIT register.

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


in\[1-4\]\_max

</td>
<td>


Maximum voltage. From VOUT_OV_WARN_LIMIT register.

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


in\[1-4\]\_lcrit

</td>
<td>


Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.

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


in\[1-4\]\_crit

</td>
<td>


Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.

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


in\[1-4\]\_min_alarm

</td>
<td>


Voltage low alarm. From VOLTAGE_UV_WARNING status.

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


in\[1-4\]\_max_alarm

</td>
<td>


Voltage high alarm. From VOLTAGE_OV_WARNING status.

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


in\[1-4\]\_lcrit_alarm

</td>
<td>


Voltage critical low alarm. From VOLTAGE_UV_FAULT status.

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


in\[1-4\]\_crit_alarm

</td>
<td>


Voltage critical high alarm. From VOLTAGE_OV_FAULT status.

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


in\[1-4\]\_highest

</td>
<td>


Historical maximum voltage.

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


in\[1-4\]\_reset_history

</td>
<td>


Write any value to reset history.

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


temp1_input

</td>
<td>


Measured temperature. From READ_TEMPERATURE_1 register.

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


temp1_max

</td>
<td>


Maximum temperature. From OT_WARN_LIMIT register.

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


temp1_crit

</td>
<td>


Critical high temperature. From OT_FAULT_LIMIT register.

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


temp1_max_alarm

</td>
<td>


Chip temperature high alarm. Set by comparing READ_TEMPERATURE_1 with OT_WARN_LIMIT if TEMP_OT_WARNING status is set.

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


temp1_crit_alarm

</td>
<td>


Chip temperature critical high alarm. Set by comparing READ_TEMPERATURE_1 with OT_FAULT_LIMIT if TEMP_OT_FAULT status is set.

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


temp1_highest

</td>
<td>


Historical maximum temperature.

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


temp1_reset_history

</td>
<td>


Write any value to reset history.

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