Skip to content

Commit 41de744

Browse files
actorrenogroeck
authored andcommitted
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. Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com> Link: https://lore.kernel.org/r/20251001-hwmon-next-v1-1-f8ca6a648203@analog.com Fixes: 629cf8f ("hwmon: (pmbus/max34440) Add support for ADPM12160") Cc: stable@vger.kernel.org # v6.16+ Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 211ddde commit 41de744

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

drivers/hwmon/pmbus/max34440.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,18 +336,18 @@ static struct pmbus_driver_info max34440_info[] = {
336336
.format[PSC_CURRENT_IN] = direct,
337337
.format[PSC_CURRENT_OUT] = direct,
338338
.format[PSC_TEMPERATURE] = direct,
339-
.m[PSC_VOLTAGE_IN] = 1,
339+
.m[PSC_VOLTAGE_IN] = 125,
340340
.b[PSC_VOLTAGE_IN] = 0,
341341
.R[PSC_VOLTAGE_IN] = 0,
342-
.m[PSC_VOLTAGE_OUT] = 1,
342+
.m[PSC_VOLTAGE_OUT] = 125,
343343
.b[PSC_VOLTAGE_OUT] = 0,
344344
.R[PSC_VOLTAGE_OUT] = 0,
345-
.m[PSC_CURRENT_IN] = 1,
345+
.m[PSC_CURRENT_IN] = 250,
346346
.b[PSC_CURRENT_IN] = 0,
347-
.R[PSC_CURRENT_IN] = 2,
348-
.m[PSC_CURRENT_OUT] = 1,
347+
.R[PSC_CURRENT_IN] = -1,
348+
.m[PSC_CURRENT_OUT] = 250,
349349
.b[PSC_CURRENT_OUT] = 0,
350-
.R[PSC_CURRENT_OUT] = 2,
350+
.R[PSC_CURRENT_OUT] = -1,
351351
.m[PSC_TEMPERATURE] = 1,
352352
.b[PSC_TEMPERATURE] = 0,
353353
.R[PSC_TEMPERATURE] = 2,

0 commit comments

Comments
 (0)