Skip to content

Add support for MAX20830 PMBUS

Alexis Czezar Torreno linux-devicetree linux-doc linux-hwmon lkml 4 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected] change-id 20260414-dev_max20830-9460b92cf6aa

Versions newest first

  1. v4 Latest2 patches 2 repliesApplied
  2. v32 patches 3 repliesSuperseded
  3. v22 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches10 repliesSuperseded

Changes in v4 from the cover letter

- driver:
- added i2c functionality check for i2c_smbus_read_block_data() then
in case of no device support, falls back to i2c_smbus_read_i2c_block_data()
- minor code edit to support the difference of the 2 functions
- Link to v3: https://lore.kernel.org/r/[email protected]

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: hwmon: pmbus: add max20830Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml MAINTAINERS+73 -01 reply
2/2hwmon: (pmbus/max20830) add driver for max20830Documentation/hwmon/index.rst Documentation/hwmon/max20830.rst MAINTAINERS +3 more+172 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] Add support for MAX20830 PMBUS

This series adds support for the Analog Devices MAX20830 step-down switching regulator with PMBus interface.

The MAX20830 provides 2.7V to 16V input, 0.4V to 5.8V output, and up to 30A output current. It supports monitoring of input/output voltage, output current, and temperature via PMBus.

Datasheet: https://www.analog.com/en/products/max20830.html

---
Changes in v4:
- driver:
- added i2c functionality check for i2c_smbus_read_block_data() then
in case of no device support, falls back to i2c_smbus_read_i2c_block_data()
- minor code edit to support the difference of the 2 functions
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- bindings:
- Added pwr-good-gpios property
- driver:
- Zero initialized IC_DEVICE_ID buffer
- added ret < len for validation of actual read bytes
- added comments clarifying block length format and null terminator placement
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- bindings:
- did not add interrupt, smbalert pin does not exist in device.
- added allof with ref to regulator.yaml
- changed additionalprop to unevaluatedprop
- device node name in example changed to regulator
- driver:
- max20830.rst: Added missing in2_alarm
- max20830.c:
- added missing quotes in MODULE_IMPORT_NS
- added comment on why i2c_smbus_read_i2c_block_data is used
- first byte of buffer used as length instead of the return value
- "unsupported device" log now does not print first byte of buffer
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Alexis Czezar Torreno (2):
dt-bindings: hwmon: pmbus: add max20830
hwmon: (pmbus/max20830) add driver for max20830

 .../bindings/hwmon/pmbus/adi,max20830.yaml         |  66 +++++++++++++
 Documentation/hwmon/index.rst                      |   1 +
 Documentation/hwmon/max20830.rst                   |  49 +++++++++
 MAINTAINERS                                        |   9 ++
 drivers/hwmon/pmbus/Kconfig                        |   9 ++
 drivers/hwmon/pmbus/Makefile                       |   1 +
 drivers/hwmon/pmbus/max20830.c                     | 110 +++++++++++++++++++++
 7 files changed, 245 insertions(+)

---
base-commit: fb447217c59a13b2fff22d94de2498c185cd9032
change-id: 20260414-dev_max20830-9460b92cf6aa

Best regards,

Signature · 1 line
Alexis Czezar Torreno <[email protected]>