Skip to content

Commit

Permalink
ARM: dts: tps65217: Add charger interrupts to the common tps65217.dts…
Browse files Browse the repository at this point in the history
…i file

The interrupt specifiers for USB and AC charger input are static data that
comes from the datasheet, there is no reason to need to define these values
on every board so seem reasonable put this information into the common
tps65217 file.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Enric Balletbo i Serra authored and Tony Lindgren committed Aug 10, 2017
1 parent 4a568f7 commit 6a80131
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/am335x-bone-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,6 @@
ti,pmic-shutdown-controller;

charger {
interrupts = <0>, <1>;
interrupt-names = "USB", "AC";
status = "okay";
};

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/am335x-chiliboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,6 @@
interrupts = <7>; /* NNMI */

charger {
interrupts = <0>, <1>;
interrupt-names = "USB", "AC";
status = "okay";
};

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/tps65217.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

charger {
compatible = "ti,tps65217-charger";
interrupts = <0>, <1>;
interrupt-names = "USB", "AC";
status = "disabled";
};

Expand Down

0 comments on commit 6a80131

Please sign in to comment.