1 .. SPDX-License-Identifier: GPL-2.0
10 Prefix: 'stpddc60', 'bmr481'
14 Datasheet: https://flexpowermodules.com/documents/fpm-techspec-bmr481
16 Author: Erik Rosen <erik.rosen@metormote.com>
22 This driver supports hardware monitoring for ST STPDDC60 controller chip and
25 The driver is a client driver to the core PMBus driver. Please see
26 Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details
27 on PMBus client drivers.
33 This driver does not auto-detect devices. You will have to instantiate the
34 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
37 The vout under- and over-voltage limits are set in relation to the commanded
38 output voltage as a positive or negative offset in the interval 50mV to 400mV
39 in 50mV steps. This means that the absolute values of the limits will change
40 when the commanded output voltage changes. Also, care should be taken when
41 writing to those limits since in the worst case the commanded output voltage
42 could change at the same time as the limit is written to, which will lead to
43 unpredictable results.
49 The driver supports standard PMBus driver platform data.
55 The following attributes are supported. Vin, iout, pout and temp limits
56 are read-write; all other attributes are read-only.
58 ======================= ========================================================
60 in1_input Measured input voltage.
61 in1_lcrit Critical minimum input voltage.
62 in1_crit Critical maximum input voltage.
63 in1_lcrit_alarm Input voltage critical low alarm.
64 in1_crit_alarm Input voltage critical high alarm.
67 in2_input Measured output voltage.
68 in2_lcrit Critical minimum output voltage.
69 in2_crit Critical maximum output voltage.
70 in2_lcrit_alarm Critical output voltage critical low alarm.
71 in2_crit_alarm Critical output voltage critical high alarm.
74 curr1_input Measured output current.
75 curr1_max Maximum output current.
76 curr1_max_alarm Output current high alarm.
77 curr1_crit Critical maximum output current.
78 curr1_crit_alarm Output current critical high alarm.
81 power1_input Measured output power.
82 power1_crit Critical maximum output power.
83 power1_crit_alarm Output power critical high alarm.
85 temp1_input Measured maximum temperature of all phases.
86 temp1_max Maximum temperature limit.
87 temp1_max_alarm High temperature alarm.
88 temp1_crit Critical maximum temperature limit.
89 temp1_crit_alarm Critical maximum temperature alarm.
90 ======================= ========================================================