hwmon: (pmbus) Add support for Flex BMR316, BMR321, BMR350 and BMR351
Subsystems (2)
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
PATCH 1/1 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 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
@@ -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
@@ -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
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 4 lines
Add support for BMR316, BMR321, BMR350 and BMR351 DC/DC converter modules from Flex to the pmbus driver.
Signed-off-by Daniel Nilsson <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 4 lines · 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 <[email protected]>
Applied.
Thanks,
Guenter