All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hwmon: (pmbus/max34440): Bug fixes and supporting new device
@ 2026-07-22  1:29 Alexis Czezar Torreno
  2026-07-22  1:29 ` [PATCH v2 1/3] hwmon: (pmbus/max34440): block unsupported VIN and IIN limit registers Alexis Czezar Torreno
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexis Czezar Torreno @ 2026-07-22  1:29 UTC (permalink / raw)
  To: Guenter Roeck, Kun Yi, Nuno Sá, Jonathan Corbet, Shuah Khan
  Cc: linux-hwmon, linux-kernel, linux-doc, Alexis Czezar Torreno,
	Carlos Jones Jr

This series fixes register access issues in MAX34451/ADPM devices and adds
support for newer MAX34451 variants and the MAX34452 device.

The first patch addresses an issue where the driver attempts to access
unsupported registers on MAX34451 and ADPM devices, causing CML errors and
triggering ALERT. 
NOTE: Patch already applied to hwmon branch as a fix. It was suggested I
could simply carry this for the meantime to easily submit new versions
of patch 2 and 3 which are dependent of patch 1.

The second patch adds support for the newer MAX34451ETNA8+ silicon revision
which uses different direct format coefficients for voltage and current
measurements.

The third patch introduces support for the MAX34452, a 16-channel voltage/
current monitor that shares a similar architecture with MAX34451.

Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
---
Changes in v2:
- Patch 1/3:
    - Accepted and applied in hwmon. As per suggestion, carried this
      over to simplify submission of patch 2 and 3 as dependency exist.
- Patch 2/3:
    - Replaced ETNA8+ revision check from == to >= for future proofing
- Patch 3/3: 
    - Added MAX34452 to unsupported register check
    - Added explicit MAX34451 id check in ETNA6+ feature detection to
      prevent applying to MAX34452.
- Link to v1: https://lore.kernel.org/r/20260716-max34451_fixes-v1-0-a941b27eaecb@analog.com

---
Alexis Czezar Torreno (2):
      hwmon: (pmbus/max34440): block unsupported VIN and IIN limit registers
      hwmon: (pmbus/max34440): add support for newer version of max34451

Carlos Jones Jr (1):
      hwmon: (pmbus/max34440): Add support for MAX34452

 Documentation/hwmon/max34440.rst |  26 ++++---
 drivers/hwmon/pmbus/Kconfig      |   5 +-
 drivers/hwmon/pmbus/max34440.c   | 152 ++++++++++++++++++++++++++++++++++++---
 3 files changed, 163 insertions(+), 20 deletions(-)
---
base-commit: ec5dac32f359168b90f5361a4de16dbf7f258031
change-id: 20260716-max34451_fixes-788edb623116

Best regards,
-- 
Alexis Czezar Torreno <alexisczezar.torreno@analog.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-07-22  1:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22  1:29 [PATCH v2 0/3] hwmon: (pmbus/max34440): Bug fixes and supporting new device Alexis Czezar Torreno
2026-07-22  1:29 ` [PATCH v2 1/3] hwmon: (pmbus/max34440): block unsupported VIN and IIN limit registers Alexis Czezar Torreno
2026-07-22  1:43   ` sashiko-bot
2026-07-22  1:29 ` [PATCH v2 2/3] hwmon: (pmbus/max34440): add support for newer version of max34451 Alexis Czezar Torreno
2026-07-22  1:37   ` sashiko-bot
2026-07-22  1:29 ` [PATCH v2 3/3] hwmon: (pmbus/max34440): Add support for MAX34452 Alexis Czezar Torreno
2026-07-22  1:39   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.