-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
drivers: charger: add initial support for the charger module found in AXP2101 MFD device #88125
base: main
Are you sure you want to change the base?
drivers: charger: add initial support for the charger module found in AXP2101 MFD device #88125
Conversation
cb97568
to
fd77ae8
Compare
fd77ae8
to
6d2ff66
Compare
6d2ff66
to
afe5964
Compare
afe5964
to
e279bc2
Compare
Overall this is looking really good, once the MISRA-C 2012 related fixes are in place I feel ready to approve. 8d321c8#diff-db5eebc0f089960f1220673dde2c861af4e2b36adca08183704729335562c2b5 |
AXP2101 is MFD device. Zephyr already support the regulator part. This commit introduces intial support for the charger one. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Enable the battery charger module form the X-Powers AXP2101 IC. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
e279bc2
to
016a83c
Compare
Extend the *.dtsi file to include also an "x-powers,axp2101-charger" instance. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
d2cbca5
to
1b1fd62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
This PR adds initial support for the charger module which is part of the AXP2101 MFD device. The same IC also implements regulators, but those are already supported in Zephyr.
Finally the DTS of the lilygo/twatch_s3 board is also extended to enable this driver.
Depends on #88053 in order to have CI fully green