]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (pmbus/max34440) block unsupported VIN and IIN limit registers
authorAlexis Czezar Torreno <alexisczezar.torreno@analog.com>
Thu, 16 Jul 2026 08:25:11 +0000 (16:25 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 19 Jul 2026 14:15:00 +0000 (07:15 -0700)
commitaf01dab0c39a7aefc47a109201e4134ea6bd3005
tree6bf6aaa9909494f12c73143da8d5b09ce1aa3d15
parentf151d0143ac4e086f92f52328ebdbdc50933d8ef
hwmon: (pmbus/max34440) block unsupported VIN and IIN limit registers

MAX34451 and ADPM chips do not support standard PMBus VIN/IIN limit
registers, manufacturer specific min/max registers, or undercurrent
or undertemperature fault limits. STATUS_BYTE and STATUS_OTHER are also
not available. Accessing these non-existent registers during driver
initialization triggers a CML error and asserts ALERT. Handled by
blocking these functions during read/write.

Fixes: 7a001dbab4ad ("hwmon: (pmbus/max34440) Add support for MAX34451.")
Fixes: 629cf8f6c23a ("hwmon: (pmbus/max34440) Add support for ADPM12160")
Fixes: 2e0b52f1ae88 ("hwmon: (pmbus/max34440): add support adpm12200")
Fixes: 479bfeba2eb6 ("hwmon: (pmbus/max34440): add support adpm12250")
Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
Link: https://lore.kernel.org/r/20260716-max34451_fixes-v1-1-a941b27eaecb@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/max34440.c