Skip to content

Commit 9f1e674

Browse files
committed
hwmon: (pmbus/max34440): Update adpm12160 coeff due to latest FW
adpm12160 is a dc-dc power module. The firmware was updated and the coeeficients in the pmbus_driver_info needs to be updated. Since the part has not yet released with older FW, this permanent change to reflect the latest should be ok. This driver has permission to be released ahead of the part. Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
1 parent 0d419e6 commit 9f1e674

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/hwmon/pmbus/max34440.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,18 +326,18 @@ static struct pmbus_driver_info max34440_info[] = {
326326
.format[PSC_CURRENT_IN] = direct,
327327
.format[PSC_CURRENT_OUT] = direct,
328328
.format[PSC_TEMPERATURE] = direct,
329-
.m[PSC_VOLTAGE_IN] = 1,
329+
.m[PSC_VOLTAGE_IN] = 125,
330330
.b[PSC_VOLTAGE_IN] = 0,
331331
.R[PSC_VOLTAGE_IN] = 0,
332-
.m[PSC_VOLTAGE_OUT] = 1,
332+
.m[PSC_VOLTAGE_OUT] = 125,
333333
.b[PSC_VOLTAGE_OUT] = 0,
334334
.R[PSC_VOLTAGE_OUT] = 0,
335-
.m[PSC_CURRENT_IN] = 1,
335+
.m[PSC_CURRENT_IN] = 250,
336336
.b[PSC_CURRENT_IN] = 0,
337-
.R[PSC_CURRENT_IN] = 2,
338-
.m[PSC_CURRENT_OUT] = 1,
337+
.R[PSC_CURRENT_IN] = -1,
338+
.m[PSC_CURRENT_OUT] = 250,
339339
.b[PSC_CURRENT_OUT] = 0,
340-
.R[PSC_CURRENT_OUT] = 2,
340+
.R[PSC_CURRENT_OUT] = -1,
341341
.m[PSC_TEMPERATURE] = 1,
342342
.b[PSC_TEMPERATURE] = 0,
343343
.R[PSC_TEMPERATURE] = 2,

0 commit comments

Comments
 (0)