Kernel driver bel-pfe

Supported chips:

Author: Tao Ren <rentao.bupt@gmail.com>

Description

This driver supports hardware monitoring for below power supply deviceswhich 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 seeDocumentation/hwmon/pmbus.rst for details on PMBus client drivers.

Usage Notes

This driver does not auto-detect devices. You will have to instantiate thedevices explicitly. Please see Documentation/i2c/instantiating-devices.rst fordetails.

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

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

Platform data support

The driver supports standard PMBus driver platform data.

Sysfs entries

curr1_label“iin”
curr1_inputMeasured input current
curr1_maxInput current max value
curr1_max_alarmInput current max alarm
curr[2-3]_label“iout[1-2]”
curr[2-3]_inputMeasured output current
curr[2-3]_maxOutput current max value
curr[2-3]_max_alarmOutput current max alarm
fan[1-2]_inputFan 1 and 2 speed in RPM
fan1_targetSet fan speed reference for both fans
in1_label“vin”
in1_inputMeasured input voltage
in1_critInput voltage critical max value
in1_crit_alarmInput voltage critical max alarm
in1_lcritInput voltage critical min value
in1_lcrit_alarmInput voltage critical min alarm
in1_maxInput voltage max value
in1_max_alarmInput voltage max alarm
in2_label“vcap”
in2_inputHold up capacitor voltage
in[3-8]_label“vout[1-3,5-7]”
in[3-8]_inputMeasured output voltage
in[3-4]_alarmvout[1-2] output voltage alarm
power[1-2]_label“pin[1-2]”
power[1-2]_inputMeasured input power
power[1-2]_alarmInput power high alarm
power[3-4]_label“pout[1-2]”
power[3-4]_inputMeasured output power
temp[1-3]_inputMeasured temperature
temp[1-3]_alarmTemperature alarm

Note

  • curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes onlyexist for PFE3000.