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 1d15444..738f3a8 100644 (file)
        ti,pmic-shutdown-controller;
 
        charger {
-               interrupts = <0>, <1>;
-               interrupt-names = "USB", "AC";
                status = "okay";
        };
 
index d876979..5c25f3a 100644 (file)
        interrupts = <7>; /* NNMI */
 
        charger {
-               interrupts = <0>, <1>;
-               interrupt-names = "USB", "AC";
                status = "okay";
        };
 
index 02de56b..1973159 100644 (file)
@@ -18,6 +18,8 @@
 
        charger {
                compatible = "ti,tps65217-charger";
+               interrupts = <0>, <1>;
+               interrupt-names = "USB", "AC";
                status = "disabled";
        };