]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: tps65217: Add charger interrupts to the common tps65217.dtsi file
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 12 Jun 2017 21:24:09 +0000 (23:24 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Aug 2017 16:24:00 +0000 (09:24 -0700)
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>
arch/arm/boot/dts/am335x-bone-common.dtsi
arch/arm/boot/dts/am335x-chiliboard.dts
arch/arm/boot/dts/tps65217.dtsi

index 1d154444dfef245bf60e6336da038d1ff766512e..738f3a8f1dc7d84142869190bad585114b30dcd9 100644 (file)
@@ -319,8 +319,6 @@ &tps {
        ti,pmic-shutdown-controller;
 
        charger {
-               interrupts = <0>, <1>;
-               interrupt-names = "USB", "AC";
                status = "okay";
        };
 
index d8769799772ea6cdacb0693427648cf61e0f0879..5c25f3a6028a0b94774bc8465f4a04bb0dde57ae 100644 (file)
@@ -191,8 +191,6 @@ &tps {
        interrupts = <7>; /* NNMI */
 
        charger {
-               interrupts = <0>, <1>;
-               interrupt-names = "USB", "AC";
                status = "okay";
        };
 
index 02de56b55823e78fd82fa6d4ad39d103a8e28fa1..19731597033545f807ed5e5432a853b471ffaab2 100644 (file)
@@ -18,6 +18,8 @@ &tps {
 
        charger {
                compatible = "ti,tps65217-charger";
+               interrupts = <0>, <1>;
+               interrupt-names = "USB", "AC";
                status = "disabled";
        };