summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/bq24257.txt
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2015-04-16 12:31:16 +0300
committerSebastian Reichel <sre@kernel.org>2015-05-23 19:54:34 +0300
commit2219a935963e5eeb19e5abfb99475fcc06bbb804 (patch)
treed9a38544046f1e143d892fa12ba035743ec6d7af /Documentation/devicetree/bindings/power/bq24257.txt
parent7f1a57fdd6cb6e7be2ed31878a34655df38e1861 (diff)
downloadlinux-2219a935963e5eeb19e5abfb99475fcc06bbb804.tar.xz
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>
Diffstat (limited to 'Documentation/devicetree/bindings/power/bq24257.txt')
-rw-r--r--Documentation/devicetree/bindings/power/bq24257.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/bq24257.txt b/Documentation/devicetree/bindings/power/bq24257.txt
new file mode 100644
index 000000000000..5c9d3940d07c
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/bq24257.txt
@@ -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>;
+};