# Kernel driver bel-pfe

_Peios Kernel / Hardware and drivers / Hardware monitoring_

> Supported chips:

<a id="rst-kernel-driver-bel-pfe"></a>

Supported chips:

> - BEL PFE1100
>
>   Prefixes: 'pfe1100'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf](<https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf>)
>
> - BEL PFE3000
>
>   Prefixes: 'pfe3000'
>
>   Addresses scanned: -
>
>   Datasheet: [https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf](<https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf>)

Author: Tao Ren &lt;[rentao.bupt@gmail.com](<mailto:rentao.bupt@gmail.com>)&gt;

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

## Description

This driver supports hardware monitoring for below power supply devices which support PMBus Protocol:

> - BEL PFE1100
>
>   1100 Watt AC to DC power-factor-corrected (PFC) power supply. PMBus Communication Manual is not publicly available.
>
> - BEL PFE3000
>
>   3000 Watt AC/DC power-factor-corrected (PFC) and DC-DC power supply. PMBus Communication Manual is not publicly available.

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.

Example: the following will load the driver for an PFE3000 at address 0x20 on I2C bus \#1:



```text
$ modprobe bel-pfe
$ echo pfe3000 0x20 > /sys/bus/i2c/devices/i2c-1/new_device
```

<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


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


curr1_label

</td>
<td>


"iin"

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


curr1_input

</td>
<td>


Measured input current

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


curr1_max

</td>
<td>


Input current max value

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


curr1_max_alarm

</td>
<td>


Input current max alarm

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


curr\[2-3\]\_label

</td>
<td>


"iout\[1-2\]"

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


curr\[2-3\]\_input

</td>
<td>


Measured output current

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


curr\[2-3\]\_max

</td>
<td>


Output current max value

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


curr\[2-3\]\_max_alarm

</td>
<td>


Output current max alarm

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


fan\[1-2\]\_input

</td>
<td>


Fan 1 and 2 speed in RPM

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


fan1_target

</td>
<td>


Set fan speed reference for both fans

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


in1_label

</td>
<td>


"vin"

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


in1_input

</td>
<td>


Measured input voltage

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


in1_crit

</td>
<td>


Input voltage critical max value

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


in1_crit_alarm

</td>
<td>


Input voltage critical max alarm

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


in1_lcrit

</td>
<td>


Input voltage critical min value

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


in1_lcrit_alarm

</td>
<td>


Input voltage critical min alarm

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


in1_max

</td>
<td>


Input voltage max value

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


in1_max_alarm

</td>
<td>


Input voltage max alarm

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


in2_label

</td>
<td>


"vcap"

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


in2_input

</td>
<td>


Hold up capacitor voltage

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


in\[3-8\]\_label

</td>
<td>


"vout\[1-3,5-7\]"

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


in\[3-8\]\_input

</td>
<td>


Measured output voltage

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


in\[3-4\]\_alarm

</td>
<td>


vout\[1-2\] output voltage alarm

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


power\[1-2\]\_label

</td>
<td>


"pin\[1-2\]"

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


power\[1-2\]\_input

</td>
<td>


Measured input power

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


power\[1-2\]\_alarm

</td>
<td>


Input power high alarm

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


power\[3-4\]\_label

</td>
<td>


"pout\[1-2\]"

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


power\[3-4\]\_input

</td>
<td>


Measured output power

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


temp\[1-3\]\_input

</td>
<td>


Measured temperature

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


temp\[1-3\]\_alarm

</td>
<td>


Temperature alarm

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

> [!NOTE]
>
> - curr3, fan2, vout\[2-7\], vcap, pin2, pout2 and temp3 attributes only exist for PFE3000.
