Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 Kernel driver mp5023
0004 ====================
0005 
0006 Supported chips:
0007 
0008   * MPS MP5023
0009 
0010     Prefix: 'mp5023'
0011 
0012   * Datasheet
0013 
0014     Publicly available at the MPS website : https://www.monolithicpower.com/en/mp5023.html
0015 
0016 Author:
0017 
0018         Howard Chiu <howard.chiu@quantatw.com>
0019 
0020 Description
0021 -----------
0022 
0023 This driver implements support for Monolithic Power Systems, Inc. (MPS)
0024 MP5023 Hot-Swap Controller.
0025 
0026 Device complaint with:
0027 
0028 - PMBus rev 1.3 interface.
0029 
0030 Device supports direct format for reading input voltage, output voltage,
0031 output current, input power and temperature.
0032 
0033 The driver exports the following attributes via the 'sysfs' files
0034 for input voltage:
0035 
0036 **in1_input**
0037 
0038 **in1_label**
0039 
0040 **in1_max**
0041 
0042 **in1_max_alarm**
0043 
0044 **in1_min**
0045 
0046 **in1_min_alarm**
0047 
0048 The driver provides the following attributes for output voltage:
0049 
0050 **in2_input**
0051 
0052 **in2_label**
0053 
0054 **in2_alarm**
0055 
0056 The driver provides the following attributes for output current:
0057 
0058 **curr1_input**
0059 
0060 **curr1_label**
0061 
0062 **curr1_alarm**
0063 
0064 **curr1_max**
0065 
0066 The driver provides the following attributes for input power:
0067 
0068 **power1_input**
0069 
0070 **power1_label**
0071 
0072 **power1_alarm**
0073 
0074 The driver provides the following attributes for temperature:
0075 
0076 **temp1_input**
0077 
0078 **temp1_max**
0079 
0080 **temp1_max_alarm**
0081 
0082 **temp1_crit**
0083 
0084 **temp1_crit_alarm**