mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hwmon: (pmbus/max34440): Add support for ADPM12300
@ 2026-09-14  7:45 Alexis Czezar Torreno
  2026-09-14 15:29 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Alexis Czezar Torreno @ 2026-09-14  7:45 UTC (permalink / raw)
  To: Guenter Roeck, Jonathan Corbet, Shuah Khan, Randy Dunlap
  Cc: linux-hwmon, linux-doc, linux-kernel, Alexis Czezar Torreno

ADPM12300 is a quarter brick DC/DC Power Module. It is a high power
non-isolated converter capable of delivering regulated 12V with
continuous power level of 3000W. Uses PMBus.

Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
---
ADPM12300 is a quarter brick DC/DC Power Module. It is a high power
non-isolated converter capable of delivering regulated 12V with
continuous power level of 3000W. Identical to ADPM12250, it simply
has a higher power rating. Uses PMBus.
---
 Documentation/hwmon/max34440.rst | 28 ++++++++++++++++++----------
 drivers/hwmon/pmbus/Kconfig      |  4 ++--
 drivers/hwmon/pmbus/max34440.c   |  2 ++
 3 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/Documentation/hwmon/max34440.rst b/Documentation/hwmon/max34440.rst
index 866f22b88e9b360ff54aa52807484bb3e859e56e..8ce10aa425d5db30d13f3868c3466ef32efefdee 100644
--- a/Documentation/hwmon/max34440.rst
+++ b/Documentation/hwmon/max34440.rst
@@ -27,6 +27,14 @@ Supported chips:
 
     Datasheet: -
 
+  * ADI ADPM12300
+
+    Prefixes: 'adpm12300'
+
+    Addresses scanned: -
+
+    Datasheet: -
+
   * Maxim MAX34440
 
     Prefixes: 'max34440'
@@ -105,11 +113,11 @@ This driver supports multiple devices: hardware monitoring for Maxim MAX34440
 PMBus 6-Channel Power-Supply Manager, MAX34441 PMBus 5-Channel Power-Supply
 Manager and Intelligent Fan Controller, and MAX34446 PMBus Power-Supply Data
 Logger; PMBus Voltage Monitor and Sequencers for MAX34451, MAX34452, MAX34460,
-and MAX34461; PMBus DC/DC Power Module ADPM12160, ADPM12200, and ADPM12250. The
-MAX34451 and MAX34452 support monitoring voltage or current of 16 channels based
-on GIN pins. The MAX34460 supports 12 voltage channels, and the MAX34461 supports
-16 voltage channels. The ADPM12160, ADPM12200, and ADPM12250 also monitor both
-input and output of voltage and current.
+and MAX34461; PMBus DC/DC Power Module ADPM12160, ADPM12200, ADPM12250 and
+ADPM12300. The MAX34451 and MAX34452 support monitoring voltage or current of 16
+channels based on GIN pins. The MAX34460 supports 12 voltage channels, and the
+MAX34461 supports 16 voltage channels. The ADPM12160, ADPM12200, ADPM12250 and
+ADPM12300 also monitor both input and output of voltage and current.
 
 The driver is a client driver to the core PMBus driver. Please see
 Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
@@ -167,8 +175,8 @@ in[1-6]_reset_history	Write any value to reset history.
 .. note::
 
     - MAX34446 only supports in[1-4].
-    - ADPM12160, ADPM12200, and ADPM12250 only supports in[1-2]. Label is "vin1"
-      and "vout1" respectively.
+    - ADPM12160, ADPM12200, ADPM12250, and ADPM12300 only supports in[1-2].
+      Label is "vin1" and "vout1" respectively.
 
 Curr
 ~~~~
@@ -190,9 +198,9 @@ curr[1-6]_reset_history	Write any value to reset history.
 
     - in6 and curr6 attributes only exist for MAX34440.
     - MAX34446 only supports curr[1-4].
-    - For ADPM12160, ADPM12200, and ADPM12250, curr[1] is "iin1"
+    - For ADPM12160, ADPM12200, ADPM12250, and ADPM12300, curr[1] is "iin1"
     - For ADPM12160, and ADPM12200 curr[2-6] are "iout[1-5]".
-    - For ADPM12250, curr[2-4] are "iout[1-3]".
+    - For ADPM12250, and ADPM12300 curr[2-4] are "iout[1-3]".
 
 Power
 ~~~~~
@@ -228,7 +236,7 @@ temp[1-8]_reset_history	Write any value to reset history.
 .. note::
    - temp7 and temp8 attributes only exist for MAX34440.
    - MAX34446 only supports temp[1-3].
-   - ADPM12160, ADPM12200, and ADPM12250 only supports temp[1].
+   - ADPM12160, ADPM12200, ADPM12250, and ADPM12300 only supports temp[1].
 
 
 .. note::
diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig
index 3289ab50a0280d93204ea5fab22e2435c8f01328..90305d5d59e8249b83f33ccef1cb749615bd75e3 100644
--- a/drivers/hwmon/pmbus/Kconfig
+++ b/drivers/hwmon/pmbus/Kconfig
@@ -454,8 +454,8 @@ config SENSORS_MAX34440
 	help
 	  If you say yes here you get hardware monitoring support for Maxim
 	  MAX34440, MAX34441, MAX34446, MAX34451, MAX34452, MAX34460, and
-	  MAX34461. Other compatible devices are ADPM12160, ADPM12200, and
-	  ADPM12250.
+	  MAX34461. Other compatible devices are ADPM12160, ADPM12200,
+	  ADPM12250, and ADPM12300.
 
 	  This driver can also be built as a module. If so, the module will
 	  be called max34440.
diff --git a/drivers/hwmon/pmbus/max34440.c b/drivers/hwmon/pmbus/max34440.c
index 866d25ae8971c49d3e296efb69fc486e5dbac668..7f71dfe486438752fbbded6ed9c4172dd8ab8534 100644
--- a/drivers/hwmon/pmbus/max34440.c
+++ b/drivers/hwmon/pmbus/max34440.c
@@ -812,10 +812,12 @@ static int max34440_probe(struct i2c_client *client)
 	return pmbus_do_probe(client, &data->info);
 }
 
+/* ADPM12300 is just ADPM12250 with higher power capacity. Reuses driver data */
 static const struct i2c_device_id max34440_id[] = {
 	{ .name = "adpm12160", .driver_data = adpm12160 },
 	{ .name = "adpm12200", .driver_data = adpm12200 },
 	{ .name = "adpm12250", .driver_data = adpm12250 },
+	{ .name = "adpm12300", .driver_data = adpm12250 },
 	{ .name = "max34440", .driver_data = max34440 },
 	{ .name = "max34441", .driver_data = max34441 },
 	{ .name = "max34446", .driver_data = max34446 },

---
base-commit: 1f7154a56e446d4f68542fc04f7376a7d6404609
change-id: 20260914-dev_adpm12300-3145fabef660

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


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

* Re: [PATCH] hwmon: (pmbus/max34440): Add support for ADPM12300
  2026-09-14  7:45 [PATCH] hwmon: (pmbus/max34440): Add support for ADPM12300 Alexis Czezar Torreno
@ 2026-09-14 15:29 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2026-09-14 15:29 UTC (permalink / raw)
  To: Alexis Czezar Torreno
  Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, linux-hwmon,
	linux-doc, linux-kernel

On Mon, Sep 14, 2026 at 03:45:17PM +0800, Alexis Czezar Torreno wrote:
> ADPM12300 is a quarter brick DC/DC Power Module. It is a high power
> non-isolated converter capable of delivering regulated 12V with
> continuous power level of 3000W. Uses PMBus.
> 
> Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>

Applied.

Thanks,
Guenter

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

end of thread, other threads:[~2026-09-14 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-14  7:45 [PATCH] hwmon: (pmbus/max34440): Add support for ADPM12300 Alexis Czezar Torreno
2026-09-14 15:29 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®