-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
max17055: Set battery parameters from device tree
Currently the MAX17055 driver assumes that a battery matching the default characteristics is used. This change allows battery characteristics to be specified in device tree and writes them to the MAX17055 on initialization. Existing default values are maintained for backwards compatibility. Initialization routine taken from MAX17055 Software Implementation Guide, document UG6365. Signed-off-by: Hayden Ball <[email protected]>
- Loading branch information
1 parent
5ee6793
commit 64995e2
Showing
4 changed files
with
235 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters