Commit b1164693f770988e6a164dd813d3408cb7c1762e
Committed by
Greg Kroah-Hartman
1 parent
0686a9bc42
Exists in
smarct4x-processor-sdk-04.01.00.06
and in
1 other branch
dt-bindings: power/supply: Update TPS65217 properties
[ Upstream commit 81d7358d7038dd1001547950087e5b0641732f3f ] 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: Tony Lindgren <tony@atomide.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 1 changed file with 6 additions and 1 deletions Side-by-side Diff
Documentation/devicetree/bindings/power/supply/tps65217_charger.txt
... | ... | @@ -2,12 +2,17 @@ |
2 | 2 | |
3 | 3 | Required Properties: |
4 | 4 | -compatible: "ti,tps65217-charger" |
5 | +-interrupts: TPS65217 interrupt numbers for the AC and USB charger input change. | |
6 | + Should be <0> for the USB charger and <1> for the AC adapter. | |
7 | +-interrupt-names: Should be "USB" and "AC" | |
5 | 8 | |
6 | 9 | This node is a subnode of the tps65217 PMIC. |
7 | 10 | |
8 | 11 | Example: |
9 | 12 | |
10 | 13 | tps65217-charger { |
11 | - compatible = "ti,tps65090-charger"; | |
14 | + compatible = "ti,tps65217-charger"; | |
15 | + interrupts = <0>, <1>; | |
16 | + interrupt-names = "USB", "AC"; | |
12 | 17 | }; |