hwmon: (pmbus/max34440): Add support for ADPM12300
Subsystems (2)
PATCH 1/1 hwmon: (pmbus/max34440): Add support for ADPM12300
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.
---
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(-)
Documentation/hwmon/max34440.rst +18 -10
@@ -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::
drivers/hwmon/pmbus/Kconfig +2 -2
@@ -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.
drivers/hwmon/pmbus/max34440.c +2 -0
@@ -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,
Signature · 1 line
Alexis Czezar Torreno <[email protected]>
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 5 lines
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 <[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 5 lines · 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 <[email protected]>
Applied.
Thanks,
Guenter