-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* common: Add macros for min, max, clamp Simple macros, with no type checking. Signed-off-by: Tim Crawford <[email protected]> * charger: Limit charger values to max valid value Use the maximum valid value instead of discarding bits. Fixes: 6295f60 ("Fix smart charger values") Signed-off-by: Tim Crawford <[email protected]> * charger/bq24780s: Fix charge current mask bq24780s uses bit 12 for 4096 a current weight. Fixes: 6295f60 ("Fix smart charger values") Signed-off-by: Tim Crawford <[email protected]> * oryp: Reduce charge current to 2A Signed-off-by: Tim Crawford <[email protected]> * charger/bq24780s: Set RSENSE ratio option Signed-off-by: Tim Crawford <[email protected]> Signed-off-by: Tim Crawford <[email protected]>
- Loading branch information
Showing
7 changed files
with
71 additions
and
26 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
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