mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
To: Guenter Roeck <linux@roeck-us.net>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>
Cc: <linux-hwmon@vger.kernel.org>, <linux-doc@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
Subject: [PATCH] hwmon: (pmbus/max34440): Add support for ADPM12300
Date: Mon, 14 Sep 2026 15:45:17 +0800	[thread overview]
Message-ID: <20260914-dev_adpm12300-v1-1-15fc8143d457@analog.com> (raw)

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>


             reply	other threads:[~2026-09-14  7:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14  7:45 Alexis Czezar Torreno [this message]
2026-09-14 15:29 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260914-dev_adpm12300-v1-1-15fc8143d457@analog.com \
    --to=alexisczezar.torreno@analog.com \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®