Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 Kernel driver pim4328
0004 =====================
0005 
0006 Supported chips:
0007 
0008   * Flex PIM4328
0009 
0010     Prefix: 'pim4328', 'bmr455'
0011 
0012     Addresses scanned: -
0013 
0014     Datasheet:
0015 
0016 https://flexpowermodules.com/resources/fpm-techspec-pim4328
0017 
0018   * Flex PIM4820
0019 
0020     Prefixes: 'pim4820'
0021 
0022     Addresses scanned: -
0023 
0024     Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim4820
0025 
0026   * Flex PIM4006, PIM4106, PIM4206, PIM4306, PIM4406
0027 
0028     Prefixes: 'pim4006', 'pim4106', 'pim4206', 'pim4306', 'pim4406'
0029 
0030     Addresses scanned: -
0031 
0032     Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim4006
0033 
0034 Author: Erik Rosen <erik.rosen@metormote.com>
0035 
0036 
0037 Description
0038 -----------
0039 
0040 This driver supports hardware monitoring for Flex PIM4328 and
0041 compatible digital power interface modules.
0042 
0043 The driver is a client driver to the core PMBus driver. Please see
0044 Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details
0045 on PMBus client drivers.
0046 
0047 
0048 Usage Notes
0049 -----------
0050 
0051 This driver does not auto-detect devices. You will have to instantiate the
0052 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
0053 details.
0054 
0055 
0056 Platform data support
0057 ---------------------
0058 
0059 The driver supports standard PMBus driver platform data.
0060 
0061 
0062 Sysfs entries
0063 -------------
0064 
0065 The following attributes are supported. All attributes are read-only.
0066 
0067 ======================= ========================================================
0068 in1_label               "vin"
0069 in1_input               Measured input voltage.
0070 in1_alarm               Input voltage alarm.
0071 
0072 in2_label               "vin.0"
0073 in2_input               Measured input voltage on input A.
0074 
0075                         PIM4328 and PIM4X06
0076 
0077 in3_label               "vin.1"
0078 in3_input               Measured input voltage on input B.
0079 
0080                         PIM4328 and PIM4X06
0081 
0082 in4_label               "vcap"
0083 in4_input               Measured voltage on holdup capacitor.
0084 
0085                         PIM4328
0086 
0087 curr1_label             "iin.0"
0088 curr1_input             Measured input current on input A.
0089 
0090                         PIM4X06
0091 
0092 curr2_label             "iin.1"
0093 curr2_input             Measured input current on input B.
0094 
0095                         PIM4X06
0096 
0097 currX_label             "iout1"
0098 currX_input             Measured output current.
0099 currX_alarm             Output current alarm.
0100 
0101                         X is 1 for PIM4820, 3 otherwise.
0102 
0103 temp1_input             Measured temperature.
0104 temp1_alarm             High temperature alarm.
0105 ======================= ========================================================