-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
power_supply: Add TI BQ24257 charger driver
Based on the datasheet found here: http://www.ti.com/lit/ds/symlink/bq24257.pdf Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
- Loading branch information
Laurentiu Palcu
authored and
Sebastian Reichel
committed
May 23, 2015
1 parent
7f1a57f
commit 2219a93
Showing
4 changed files
with
892 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Binding for TI bq24257 Li-Ion Charger | ||
|
||
Required properties: | ||
- compatible: Should contain one of the following: | ||
* "ti,bq24257" | ||
- reg: integer, i2c address of the device. | ||
- ti,battery-regulation-voltage: integer, maximum charging voltage in uV. | ||
- ti,charge-current: integer, maximum charging current in uA. | ||
- ti,termination-current: integer, charge will be terminated when current in | ||
constant-voltage phase drops below this value (in uA). | ||
|
||
Example: | ||
|
||
bq24257 { | ||
compatible = "ti,bq24257"; | ||
reg = <0x6a>; | ||
|
||
ti,battery-regulation-voltage = <4200000>; | ||
ti,charge-current = <1000000>; | ||
ti,termination-current = <50000>; | ||
}; |
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
Oops, something went wrong.