summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMilo Kim <woogyom.kim@gmail.com>2016-12-09 09:28:32 +0300
committerSebastian Reichel <sre@kernel.org>2017-01-10 04:50:44 +0300
commit7cbad9fa5fe5fe119575acd2ed0a0e374339029b (patch)
tree362664868ac0ca0fd8c774f1e919ebcecb8a59bf /Documentation
parentaf5179a405c0df36413ea6bb838cf45abc1a6189 (diff)
downloadlinux-7cbad9fa5fe5fe119575acd2ed0a0e374339029b.tar.xz
dt-bindings: power: supply: Update TPS65217 properties
Add interrupt specifiers for USB and AC charger input. Interrupt numbers are from the datasheet. Fix wrong property for compatible string. Signed-off-by: Milo Kim <woogyom.kim@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power/supply/tps65217_charger.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/tps65217_charger.txt b/Documentation/devicetree/bindings/power/supply/tps65217_charger.txt
index 98d131acee95..a11072c5a866 100644
--- a/Documentation/devicetree/bindings/power/supply/tps65217_charger.txt
+++ b/Documentation/devicetree/bindings/power/supply/tps65217_charger.txt
@@ -2,11 +2,16 @@ TPS65217 Charger
Required Properties:
-compatible: "ti,tps65217-charger"
+-interrupts: TPS65217 interrupt numbers for the AC and USB charger input change.
+ Should be <0> for the USB charger and <1> for the AC adapter.
+-interrupt-names: Should be "USB" and "AC"
This node is a subnode of the tps65217 PMIC.
Example:
tps65217-charger {
- compatible = "ti,tps65090-charger";
+ compatible = "ti,tps65217-charger";
+ interrupts = <0>, <1>;
+ interrupt-names = "USB", "AC";
};