Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[platform/kernel/linux-starfive.git] / Documentation / hwmon / inspur-ipsps1.rst
1 Kernel driver inspur-ipsps1
2 ===========================
3
4 Supported chips:
5
6   * Inspur Power System power supply unit
7
8 Author: John Wang <wangzqbj@inspur.com>
9
10 Description
11 -----------
12
13 This driver supports Inspur Power System power supplies. This driver
14 is a client to the core PMBus driver.
15
16 Usage Notes
17 -----------
18
19 This driver does not auto-detect devices. You will have to instantiate the
20 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
21 details.
22
23 Sysfs entries
24 -------------
25
26 The following attributes are supported:
27
28 ======================= ======================================================
29 curr1_input             Measured input current
30 curr1_label             "iin"
31 curr1_max               Maximum current
32 curr1_max_alarm         Current high alarm
33 curr2_input             Measured output current in mA.
34 curr2_label             "iout1"
35 curr2_crit              Critical maximum current
36 curr2_crit_alarm        Current critical high alarm
37 curr2_max               Maximum current
38 curr2_max_alarm         Current high alarm
39
40 fan1_alarm              Fan 1 warning.
41 fan1_fault              Fan 1 fault.
42 fan1_input              Fan 1 speed in RPM.
43
44 in1_alarm               Input voltage under-voltage alarm.
45 in1_input               Measured input voltage in mV.
46 in1_label               "vin"
47 in2_input               Measured output voltage in mV.
48 in2_label               "vout1"
49 in2_lcrit               Critical minimum output voltage
50 in2_lcrit_alarm         Output voltage critical low alarm
51 in2_max                 Maximum output voltage
52 in2_max_alarm           Output voltage high alarm
53 in2_min                 Minimum output voltage
54 in2_min_alarm           Output voltage low alarm
55
56 power1_alarm            Input fault or alarm.
57 power1_input            Measured input power in uW.
58 power1_label            "pin"
59 power1_max              Input power limit
60 power2_max_alarm        Output power high alarm
61 power2_max              Output power limit
62 power2_input            Measured output power in uW.
63 power2_label            "pout"
64
65 temp[1-3]_input         Measured temperature
66 temp[1-2]_max           Maximum temperature
67 temp[1-3]_max_alarm     Temperature high alarm
68
69 vendor                  Manufacturer name
70 model                   Product model
71 part_number             Product part number
72 serial_number           Product serial number
73 fw_version              Firmware version
74 hw_version              Hardware version
75 mode                    Work mode. Can be set to active or
76                         standby, when set to standby, PSU will
77                         automatically switch between standby
78                         and redundancy mode.
79 ======================= ======================================================