Skip to contentSkip to conversation

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

PATCH Applied Daniel Nilsson 3 participants 4 messages Jun 3 – Jun 8

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

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

In reply to Daniel Nilsson

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

---
 Documentation/hwmon/pmbus.rst | 9 +++++----
 drivers/hwmon/pmbus/pmbus.c   | 4 ++++
 2 files changed, 9 insertions(+), 4 deletions(-)
Documentation/hwmon/pmbus.rst +5 -4
index a8e01a5b96da..23c42c312274 100644
@@ -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
drivers/hwmon/pmbus/pmbus.c +4 -0
index d1844c7a51ee..8121e5fac240 100644
@@ -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},
Signature · 1 line
2.51.2
#0 lore raw

cover hwmon: (pmbus) Add support for Flex BMR316, BMR321, BMR350 and BMR351

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

Signature · 1 line
2.51.2