1.. SPDX-License-Identifier: GPL-2.0
2
3Kernel driver pim4328
4=====================
5
6Supported chips:
7
8  * Flex PIM4328
9
10    Prefix: 'pim4328', 'bmr455'
11
12    Addresses scanned: -
13
14    Datasheet:
15
16https://flexpowermodules.com/resources/fpm-techspec-pim4328
17
18  * Flex PIM4820
19
20    Prefixes: 'pim4820'
21
22    Addresses scanned: -
23
24    Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim4820
25
26  * Flex PIM4006, PIM4106, PIM4206, PIM4306, PIM4406
27
28    Prefixes: 'pim4006', 'pim4106', 'pim4206', 'pim4306', 'pim4406'
29
30    Addresses scanned: -
31
32    Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim4006
33
34Author: Erik Rosen <erik.rosen@metormote.com>
35
36
37Description
38-----------
39
40This driver supports hardware monitoring for Flex PIM4328 and
41compatible digital power interface modules.
42
43The driver is a client driver to the core PMBus driver. Please see
44Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details
45on PMBus client drivers.
46
47
48Usage Notes
49-----------
50
51This driver does not auto-detect devices. You will have to instantiate the
52devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
53details.
54
55
56Platform data support
57---------------------
58
59The driver supports standard PMBus driver platform data.
60
61
62Sysfs entries
63-------------
64
65The following attributes are supported. All attributes are read-only.
66
67======================= ========================================================
68in1_label		"vin"
69in1_input		Measured input voltage.
70in1_alarm		Input voltage alarm.
71
72in2_label		"vin.0"
73in2_input		Measured input voltage on input A.
74
75			PIM4328 and PIM4X06
76
77in3_label		"vin.1"
78in3_input		Measured input voltage on input B.
79
80			PIM4328 and PIM4X06
81
82in4_label		"vcap"
83in4_input		Measured voltage on holdup capacitor.
84
85			PIM4328
86
87curr1_label		"iin.0"
88curr1_input		Measured input current on input A.
89
90			PIM4X06
91
92curr2_label		"iin.1"
93curr2_input		Measured input current on input B.
94
95			PIM4X06
96
97currX_label		"iout1"
98currX_input		Measured output current.
99currX_alarm		Output current alarm.
100
101			X is 1 for PIM4820, 3 otherwise.
102
103temp1_input		Measured temperature.
104temp1_alarm		High temperature alarm.
105======================= ========================================================
106