Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 629cf8f6c23a ("hwmon: (pmbus/max34440) Add support for ADPM12160")
Cc: stable@vger.kernel.org # v6.16+
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Alexis Czezar Torreno and committed by
Guenter Roeck
41de7440 211ddde0

+6 -6
+6 -6
drivers/hwmon/pmbus/max34440.c
··· 336 336 .format[PSC_CURRENT_IN] = direct, 337 337 .format[PSC_CURRENT_OUT] = direct, 338 338 .format[PSC_TEMPERATURE] = direct, 339 - .m[PSC_VOLTAGE_IN] = 1, 339 + .m[PSC_VOLTAGE_IN] = 125, 340 340 .b[PSC_VOLTAGE_IN] = 0, 341 341 .R[PSC_VOLTAGE_IN] = 0, 342 - .m[PSC_VOLTAGE_OUT] = 1, 342 + .m[PSC_VOLTAGE_OUT] = 125, 343 343 .b[PSC_VOLTAGE_OUT] = 0, 344 344 .R[PSC_VOLTAGE_OUT] = 0, 345 - .m[PSC_CURRENT_IN] = 1, 345 + .m[PSC_CURRENT_IN] = 250, 346 346 .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, 349 349 .b[PSC_CURRENT_OUT] = 0, 350 - .R[PSC_CURRENT_OUT] = 2, 350 + .R[PSC_CURRENT_OUT] = -1, 351 351 .m[PSC_TEMPERATURE] = 1, 352 352 .b[PSC_TEMPERATURE] = 0, 353 353 .R[PSC_TEMPERATURE] = 2,