[PATCH v3 0/2] Add support for ADPM12160 a DC/DC Power Module
From: Alexis Czezar Torreno
Date: Sun Apr 06 2025 - 23:48:51 EST
Before adding the support for ADPM12160, this series includes a commit
to fix the issue with max34451. The family of max344** contains switched
PMBUS addresses 0x46 and 0x4A. For max34451, the version MAX34451ETNA6+
and later fixed this issue and this first commit supports this. The
MFR_REVISION is used to differentiate the different max34451 chips.
The second commit adds the actual driver for adpm12160. ASPM12160 is a
quarter brick DC/DC Power Module. It is a high power non-isolated
converter capable of delivering a fully regulated 12V, with continuous
power level of 1600W with peak power at 2400W for a limited time.
Uses PMBus Configuration.
Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@xxxxxxxxxx>
---
Changes in v3:
- Commit 1: MAX34451 Fix
- Removed bool pmbus_addr_fixed in max34440_data
- Reduced iout_oc_warn/fault_limit from u32 to u8
- Used >= during revision check instead of ==
- Moved the assignment of correct pmbus registers
- Commit 2: Add ADPM12160
- Adjusted code to base it on the new max34440.c
- Link to v2: https://lore.kernel.org/r/20250403-dev_adpm12160-v2-0-bbf40faae988@xxxxxxxxxx
Changes in v2:
- Commit 1: MAX34451 Fix
- Added a flag to denote if the device has correct pmbus address
- Stored the pmbus address of concern inside max34440_data
- Removed separate chip ID for max344451etna6+, detects this version
via MFR_REVISION
- Reverted max34440.rst to original. No edit deemed necessary
- Supported READ_VIN, READ_IIN, and STATUS_INPUT for max34451etna6+
- Commit 2: Add ADPM12160
- Adjusted code to base it on the new max34440.c
- Link to v1: https://lore.kernel.org/r/20250320-dev_adpm12160-v1-0-8f7b975eac75@xxxxxxxxxx
---
Alexis Czezar Torreno (2):
hwmon: (pmbus/max34440): Fix support for max34451
hwmon: (pmbus/max34440): add support adpm12160
Documentation/hwmon/max34440.rst | 30 +++++++++---
drivers/hwmon/pmbus/max34440.c | 103 ++++++++++++++++++++++++++++++++++++---
2 files changed, 118 insertions(+), 15 deletions(-)
---
base-commit: c812cc42f92d3d0b17c01b5db9a1dee5793a1491
change-id: 20250320-dev_adpm12160-5960e77a79be
Best regards,
--
Alexis Czezar Torreno <alexisczezar.torreno@xxxxxxxxxx>