# Kernel driver max8688

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

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

Supported chips:

> - Maxim MAX8688
>
>   Prefix: 'max8688'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.analog.com/media/en/technical-documentation/data-sheets/max8688.pdf](<https://www.analog.com/media/en/technical-documentation/data-sheets/max8688.pdf>)

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 MAX8688 Digital Power-Supply Controller/Monitor with 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>


in1_label

</td>
<td>


"vout1"

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


in1_input

</td>
<td>


Measured voltage. From READ_VOUT register.

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


in1_min

</td>
<td>


Minimum Voltage. From VOUT_UV_WARN_LIMIT register.

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


in1_max

</td>
<td>


Maximum voltage. From VOUT_OV_WARN_LIMIT register.

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


in1_lcrit

</td>
<td>


Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.

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


in1_crit

</td>
<td>


Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.

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


in1_min_alarm

</td>
<td>


Voltage low alarm. From VOLTAGE_UV_WARNING status.

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


in1_max_alarm

</td>
<td>


Voltage high alarm. From VOLTAGE_OV_WARNING status.

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


in1_lcrit_alarm

</td>
<td>


Voltage critical low alarm. From VOLTAGE_UV_FAULT status.

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


in1_crit_alarm

</td>
<td>


Voltage critical high alarm. From VOLTAGE_OV_FAULT status.

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


in1_highest

</td>
<td>


Historical maximum voltage.

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


in1_reset_history

</td>
<td>


Write any value to reset history.

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


curr1_label

</td>
<td>


"iout1"

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


curr1_input

</td>
<td>


Measured current. From READ_IOUT register.

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


curr1_max

</td>
<td>


Maximum current. From IOUT_OC_WARN_LIMIT register.

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


curr1_crit

</td>
<td>


Critical maximum current. From IOUT_OC_FAULT_LIMIT register.

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


curr1_max_alarm

</td>
<td>


Current high alarm. From IOUT_OC_WARN_LIMIT register.

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


curr1_crit_alarm

</td>
<td>


Current critical high alarm. From IOUT_OC_FAULT status.

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


curr1_highest

</td>
<td>


Historical maximum current.

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


curr1_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>
