Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add driver for LTP8800-1A, LTP8800-4A and LTP8800-2 #2611

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cencarna
Copy link

@cencarna cencarna commented Oct 8, 2024

PR Description

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)

Copy link
Collaborator

@nunojsa nunojsa left a comment

Choose a reason for hiding this comment

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

Here it goes my 2 cents. Go ahead and send this upstream :)

drivers/hwmon/pmbus/ltp8800.c Outdated Show resolved Hide resolved
drivers/hwmon/pmbus/ltp8800.c Show resolved Hide resolved
drivers/hwmon/pmbus/ltp8800.c Outdated Show resolved Hide resolved
@cencarna cencarna force-pushed the dev/ltp8800 branch 2 times, most recently from ef97830 to 925d8f8 Compare October 14, 2024 04:00
MAINTAINERS Outdated Show resolved Hide resolved
Add Analog Devices LTP8800-1A, LTP8800-2, and LTP8800-4A DC/DC μModule
regulator.

Signed-off-by: Cedric Encarnacion <[email protected]>
LTP8800-1A 150A DC/DC µModule Regulator with PMBus Interface
LTP8800-4A 200A DC/DC µModule Regulator with PMBus Interface
LTP8800-2 54V, 135A DC/DC μModule Regulator with PMBus Interface

Signed-off-by: Cedric Encarnacion <[email protected]>
Add entries for the LTP8800 driver.

Signed-off-by: Cedric Encarnacion <[email protected]>
@cencarna
Copy link
Author

v2:

  • Moved dts bindings to trivial-devices.yaml
  • Removed IS_ENABLED(REGULATOR) preprocessor. Regulator initialization moved to probe.
  • Removed __maybe_unused attribute.
  • housekeeping and build fixes

DT binding check always fails for some reason. Check complains this is due to title pattern which is already outside my changes.

Copy link
Collaborator

@nunojsa nunojsa left a comment

Choose a reason for hiding this comment

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

LGTM,

Please send this upstream and let's merge it once it's accepted there.

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