Skip to content

Conversation

actorreno
Copy link
Contributor

@actorreno actorreno commented Sep 25, 2025

ADPM12160 is a quarter brick DC/DC Power Module. It is a high power non-isolated converter capable of delivering a fully regulated 12V, with continuous power level of 1600W with peak power at 2400W for a limited time. Uses PMBus Configuration.

PR Description

  • Commit 1 updates the adpm12160 scaling number as the latest FW14 needed and a small bug.
    Bug: In the voltage m,b,r pmbus info initially 1,0,0, must be 1,0,3 since it is in millivolts
    FW14 update: m != 1 updated to m=0.125. To be an integer m=125, r = -3.
    The two changes combined results in m,b,r = 125,0,0. Current also has some changes.
  • Commit 2 adds ADPM12100, ADPM12130 and ADPM12200 driver support on existing MAX34440 Driver.
  • Datasheets ADPM12100, ADPM12130, ADPM12200.

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have conducted a self-review of my own code changes
  • I have tested the changes on the relevant hardware
  • I have updated the documentation outside this repo accordingly (if there is the case)

.format[PSC_CURRENT_OUT] = direct,
.format[PSC_TEMPERATURE] = direct,
.m[PSC_VOLTAGE_IN] = 1,
.m[PSC_VOLTAGE_IN] = 125,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm this is questionable. What about devices running old firmware? Do we have any way (from HW registers) to get this info from the device and tweak this at runtime depending on the running FW?

Also, take care about the git subject. Not according to the subsystem style

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated git subject for commit 1

I am aware of the practice of supporting released products but I was told this hasn't actually released and will release with the latest FW I based this fix on.

short history:
they planned to release the driver+part at the same time. I was allowed to publicly push this even if that specific time it wasn't public yet. I even gave the upstream maintainers a copy of the datasheet to convince them to accept the patch of an unreleased part (with permission from adpm12160 owners)

I suppose this got delayed until eventually updating the fw from fw12 to fw14

I believe this kind of permanent fix is ok.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me, but you need to send these patches upstream and explain the change with what you just told me and I would also recommend to add a link (in your cover letter) to the patches where you first added the drivers so they can remember it was not yet a public part.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will apply suggestions to cover letter
btw is this good/ok for upstream?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"This driver has permission to be released ahead of the part."

Not sure if the above adds much. But sure, go ahead and send it upstream

adpm12160 is a dc-dc power module. The firmware was updated and the
coeeficients in the pmbus_driver_info needs to be updated. Since the
part has not yet released with older FW, this permanent change to
reflect the latest should be ok. This driver has permission to be
released ahead of the part.

Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
@actorreno actorreno force-pushed the staging_adpm12xx0_support branch 2 times, most recently from ed54de2 to e85dc71 Compare September 30, 2025 07:11
ADPM12200 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 2000W. Uses PMBus.

Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
@actorreno actorreno force-pushed the staging_adpm12xx0_support branch from e85dc71 to d4d8279 Compare September 30, 2025 08:06
@actorreno
Copy link
Contributor Author

v2:

trimmed the PR, apparently adpm12100 and adpm12130 are still finalizing some inductor and hence samples are not final and may change.

this PR now just contains the adpm12160 firmware update and adding support to adpm12200.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants