Skip to content

Conversation

@nordic-auko
Copy link
Contributor

Add drivers for nPM2100 PMIC.
This is a multi-function device with regulators, gpio, watchdog, adc, and other supporting functions.

@martinjaeger
Copy link
Member

@nordic-auko this needs a rebase.

Your commits state "Initial driver for...". What does the "initial" mean? Is it still a draft or incomplete implementation? If not, I'd suggest to remove it to avoid any confusion.

@nordic-auko
Copy link
Contributor Author

@nordic-auko this needs a rebase.

Your commits state "Initial driver for...". What does the "initial" mean? Is it still a draft or incomplete implementation? If not, I'd suggest to remove it to avoid any confusion.

Rebased it now.
The commit messages were based on the npm1300 pmic driver. I've changed the wording now to be more concise: it's not a draft or incomplete driver.

@nordic-auko nordic-auko force-pushed the npm2100_driver branch 2 times, most recently from 53727c3 to 6f52da4 Compare November 26, 2024 07:57
@nordic-auko nordic-auko force-pushed the npm2100_driver branch 3 times, most recently from 16ec5f5 to 07e8db3 Compare December 2, 2024 14:14
Copy link
Member

@martinjaeger martinjaeger left a comment

Choose a reason for hiding this comment

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

Only reviewed the watchdog part, where I got a minor change request.

Copy link
Member

@gmarull gmarull left a comment

Choose a reason for hiding this comment

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

good stuff, a few comments from my side.

@nordic-auko nordic-auko force-pushed the npm2100_driver branch 2 times, most recently from 3b7aad2 to f636556 Compare December 3, 2024 09:56
martinjaeger
martinjaeger previously approved these changes Dec 3, 2024
Copy link
Member

@martinjaeger martinjaeger left a comment

Choose a reason for hiding this comment

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

Watchdog part OK.

Add mfd driver for the npm2100 pmic device.
The driver contains basic initialization routines,
and functionality not covered by other device driver APIs.

Signed-off-by: Audun Korneliussen <[email protected]>
Add gpio driver for npm2100 pmic.

Signed-off-by: Audun Korneliussen <[email protected]>
Add regulator driver for npm2100 pmic.
This pmic has one boost and one ldo regulator.

Signed-off-by: Audun Korneliussen <[email protected]>
Add sensor driver for npm2100 pmic.

This pmic performs measurements of battery voltage, regulator voltage
and die temperature.

Configurable pmic attributes are also organized under this driver.

Signed-off-by: Audun Korneliussen <[email protected]>
Add watchdog driver for npm2100 pmic.

This pmic has one timer that can be used for multiple functions,
including a watchdog that can reset or power-cycle connected devices.

Signed-off-by: Audun Korneliussen <[email protected]>
@gmarull gmarull requested a review from martinjaeger December 4, 2024 08:53
@nashif nashif merged commit 66ccc2e into zephyrproject-rtos:main Dec 4, 2024
24 checks passed
@nordic-auko nordic-auko deleted the npm2100_driver branch December 5, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants