All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] hwmon: (pmbus) Add support for Flex BMR316, BMR321, BMR350 and BMR351
@ 2026-06-03  8:57 Daniel Nilsson
  2026-06-03  8:57 ` [PATCH 1/1] " Daniel Nilsson
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Nilsson @ 2026-06-03  8:57 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: linux-hwmon, Daniel Nilsson

Add support for BMR316, BMR321, BMR350 and BMR351 DC/DC converter
modules from Flex to the generic pmbus driver.

BMR492, BMR316, BMR321, BMR350 and BMR351 all use the same chip, which
has the deficiency that it presents a second phantom PAGE even though
the devices only have a single real PAGE/rail.  By explicitly
specifying the number of pages via driver_data, as is already in place
for BMR492, we avoid exposing the phantom PAGEs.

Update the documentation with a new datasheet URL.  The datasheets for
Flex BMRs are now only found via the product selector on flex.com.

The patch has been tested against BMR316, BMR321, BMR350 and BMR351.

Daniel Nilsson (1):
  hwmon: (pmbus) Add support for Flex BMR316, BMR321, BMR350 and BMR351

 Documentation/hwmon/pmbus.rst | 9 +++++----
 drivers/hwmon/pmbus/pmbus.c   | 4 ++++
 2 files changed, 9 insertions(+), 4 deletions(-)


base-commit: e7ae89a0c97ce2b68b0983cd01eda67cf373517d
-- 
2.51.2


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

* [PATCH 1/1] hwmon: (pmbus) Add support for Flex BMR316, BMR321, BMR350 and BMR351
  2026-06-03  8:57 [PATCH 0/1] hwmon: (pmbus) Add support for Flex BMR316, BMR321, BMR350 and BMR351 Daniel Nilsson
@ 2026-06-03  8:57 ` Daniel Nilsson
  2026-06-03  9:11   ` sashiko-bot
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Nilsson @ 2026-06-03  8:57 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: linux-hwmon, Daniel Nilsson

Add support for BMR316, BMR321, BMR350 and BMR351 DC/DC converter
modules from Flex to the pmbus driver.

Signed-off-by: Daniel Nilsson <linux@erq.se>
---
 Documentation/hwmon/pmbus.rst | 9 +++++----
 drivers/hwmon/pmbus/pmbus.c   | 4 ++++
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/Documentation/hwmon/pmbus.rst b/Documentation/hwmon/pmbus.rst
index a8e01a5b96da..23c42c312274 100644
--- a/Documentation/hwmon/pmbus.rst
+++ b/Documentation/hwmon/pmbus.rst
@@ -3,17 +3,18 @@ Kernel driver pmbus
 
 Supported chips:
 
-  * Flex BMR310, BMR453, BMR454, BMR456, BMR457, BMR458, BMR480,
-    BMR490, BMR491, BMR492
+  * Flex BMR310, BMR316, BMR321, BMR350, BMR351, BMR453, BMR454,
+    BMR456, BMR457, BMR458, BMR480, BMR490, BMR491, BMR492
 
-    Prefixes: 'bmr310', 'bmr453', 'bmr454', 'bmr456', 'bmr457', 'bmr458', 'bmr480',
+    Prefixes: 'bmr310', 'bmr316', 'bmr321', 'bmr350', 'bmr351',
+    'bmr453', 'bmr454', 'bmr456', 'bmr457', 'bmr458', 'bmr480',
     'bmr490', 'bmr491', 'bmr492'
 
     Addresses scanned: -
 
     Datasheets:
 
-	https://flexpowermodules.com/products
+	https://flex.com/products/power-modules/product-selector
 
 
   * ON Semiconductor ADP4000, NCP4200, NCP4208
diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
index d1844c7a51ee..8121e5fac240 100644
--- a/drivers/hwmon/pmbus/pmbus.c
+++ b/drivers/hwmon/pmbus/pmbus.c
@@ -215,6 +215,10 @@ static const struct pmbus_device_info pmbus_info_one_status = {
 static const struct i2c_device_id pmbus_id[] = {
 	{"adp4000", (kernel_ulong_t)&pmbus_info_one},
 	{"bmr310", (kernel_ulong_t)&pmbus_info_one_status},
+	{"bmr316", (kernel_ulong_t)&pmbus_info_one},
+	{"bmr321", (kernel_ulong_t)&pmbus_info_one},
+	{"bmr350", (kernel_ulong_t)&pmbus_info_one},
+	{"bmr351", (kernel_ulong_t)&pmbus_info_one},
 	{"bmr453", (kernel_ulong_t)&pmbus_info_one},
 	{"bmr454", (kernel_ulong_t)&pmbus_info_one},
 	{"bmr456", (kernel_ulong_t)&pmbus_info_one},
-- 
2.51.2


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

* Re: [PATCH 1/1] hwmon: (pmbus) Add support for Flex BMR316, BMR321, BMR350 and BMR351
  2026-06-03  8:57 ` [PATCH 1/1] " Daniel Nilsson
@ 2026-06-03  9:11   ` sashiko-bot
  0 siblings, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-06-03  9:11 UTC (permalink / raw)
  To: Daniel Nilsson; +Cc: linux-hwmon

> Add support for BMR316, BMR321, BMR350 and BMR351 DC/DC converter
> modules from Flex to the pmbus driver.
> 
> Signed-off-by: Daniel Nilsson <linux@erq.se>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260603085712.659432-1-linux@erq.se?part=1


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

end of thread, other threads:[~2026-06-03  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03  8:57 [PATCH 0/1] hwmon: (pmbus) Add support for Flex BMR316, BMR321, BMR350 and BMR351 Daniel Nilsson
2026-06-03  8:57 ` [PATCH 1/1] " Daniel Nilsson
2026-06-03  9:11   ` 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.