Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver bel-pfe
0002 ======================
0003 
0004 Supported chips:
0005 
0006   * BEL PFE1100
0007 
0008     Prefixes: 'pfe1100'
0009 
0010     Addresses scanned: -
0011 
0012     Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf
0013 
0014   * BEL PFE3000
0015 
0016     Prefixes: 'pfe3000'
0017 
0018     Addresses scanned: -
0019 
0020     Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf
0021 
0022 Author: Tao Ren <rentao.bupt@gmail.com>
0023 
0024 
0025 Description
0026 -----------
0027 
0028 This driver supports hardware monitoring for below power supply devices
0029 which support PMBus Protocol:
0030 
0031   * BEL PFE1100
0032 
0033     1100 Watt AC to DC power-factor-corrected (PFC) power supply.
0034     PMBus Communication Manual is not publicly available.
0035 
0036   * BEL PFE3000
0037 
0038     3000 Watt AC/DC power-factor-corrected (PFC) and DC-DC power supply.
0039     PMBus Communication Manual is not publicly available.
0040 
0041 The driver is a client driver to the core PMBus driver. Please see
0042 Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
0043 
0044 
0045 Usage Notes
0046 -----------
0047 
0048 This driver does not auto-detect devices. You will have to instantiate the
0049 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
0050 details.
0051 
0052 Example: the following will load the driver for an PFE3000 at address 0x20
0053 on I2C bus #1::
0054 
0055         $ modprobe bel-pfe
0056         $ echo pfe3000 0x20 > /sys/bus/i2c/devices/i2c-1/new_device
0057 
0058 
0059 Platform data support
0060 ---------------------
0061 
0062 The driver supports standard PMBus driver platform data.
0063 
0064 
0065 Sysfs entries
0066 -------------
0067 
0068 ======================= =======================================================
0069 curr1_label             "iin"
0070 curr1_input             Measured input current
0071 curr1_max               Input current max value
0072 curr1_max_alarm         Input current max alarm
0073 
0074 curr[2-3]_label         "iout[1-2]"
0075 curr[2-3]_input         Measured output current
0076 curr[2-3]_max           Output current max value
0077 curr[2-3]_max_alarm     Output current max alarm
0078 
0079 fan[1-2]_input          Fan 1 and 2 speed in RPM
0080 fan1_target             Set fan speed reference for both fans
0081 
0082 in1_label               "vin"
0083 in1_input               Measured input voltage
0084 in1_crit                Input voltage critical max value
0085 in1_crit_alarm          Input voltage critical max alarm
0086 in1_lcrit               Input voltage critical min value
0087 in1_lcrit_alarm         Input voltage critical min alarm
0088 in1_max                 Input voltage max value
0089 in1_max_alarm           Input voltage max alarm
0090 
0091 in2_label               "vcap"
0092 in2_input               Hold up capacitor voltage
0093 
0094 in[3-8]_label           "vout[1-3,5-7]"
0095 in[3-8]_input           Measured output voltage
0096 in[3-4]_alarm           vout[1-2] output voltage alarm
0097 
0098 power[1-2]_label        "pin[1-2]"
0099 power[1-2]_input        Measured input power
0100 power[1-2]_alarm        Input power high alarm
0101 
0102 power[3-4]_label        "pout[1-2]"
0103 power[3-4]_input        Measured output power
0104 
0105 temp[1-3]_input         Measured temperature
0106 temp[1-3]_alarm         Temperature alarm
0107 ======================= =======================================================
0108 
0109 .. note::
0110 
0111     - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
0112       exist for PFE3000.