# Kernel driver pim4328

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

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

<!-- SPDX-License-Identifier: GPL-2.0 -->

Supported chips:

> - Flex PIM4328
>
>   Prefix: 'pim4328', 'bmr455'
>
>   Addresses scanned: -
>
>   Datasheet:

[https://flexpowermodules.com/resources/fpm-techspec-pim4328](<https://flexpowermodules.com/resources/fpm-techspec-pim4328>)

> - Flex PIM4820
>
>   Prefixes: 'pim4820'
>
>   Addresses scanned: -
>
>   Datasheet: [https://flexpowermodules.com/resources/fpm-techspec-pim4820](<https://flexpowermodules.com/resources/fpm-techspec-pim4820>)
>
> - Flex PIM4006, PIM4106, PIM4206, PIM4306, PIM4406
>
>   Prefixes: 'pim4006', 'pim4106', 'pim4206', 'pim4306', 'pim4406'
>
>   Addresses scanned: -
>
>   Datasheet: [https://flexpowermodules.com/resources/fpm-techspec-pim4006](<https://flexpowermodules.com/resources/fpm-techspec-pim4006>)

Author: Erik Rosen &lt;[erik.rosen@metormote.com](<mailto:erik.rosen@metormote.com>)&gt;

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

## Description

This driver supports hardware monitoring for Flex PIM4328 and compatible digital power interface modules.

The driver is a client driver to the core PMBus driver. Please see [Documentation/hwmon/pmbus.rst](/kernel/hardware/hwmon/pmbus.md) and Documentation.hwmon/pmbus-core 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. All attributes are read-only.


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


in1_label

</td>
<td>


"vin"

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


in1_input

</td>
<td>


Measured input voltage.

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


in1_alarm

</td>
<td>


Input voltage alarm.

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


in2_label

</td>
<td>


"vin.0"

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


in2_input

</td>
<td>


Measured input voltage on input A.

PIM4328 and PIM4X06

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


in3_label

</td>
<td>


"vin.1"

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


in3_input

</td>
<td>


Measured input voltage on input B.

PIM4328 and PIM4X06

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


in4_label

</td>
<td>


"vcap"

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


in4_input

</td>
<td>


Measured voltage on holdup capacitor.

PIM4328

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


curr1_label

</td>
<td>


"iin.0"

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


curr1_input

</td>
<td>


Measured input current on input A.

PIM4X06

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


curr2_label

</td>
<td>


"iin.1"

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


curr2_input

</td>
<td>


Measured input current on input B.

PIM4X06

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


currX_label

</td>
<td>


"iout1"

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


currX_input

</td>
<td>


Measured output current.

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


currX_alarm

</td>
<td>


Output current alarm.

X is 1 for PIM4820, 3 otherwise.

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


temp1_input

</td>
<td>


Measured temperature.

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


temp1_alarm

</td>
<td>


High temperature alarm.

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