ARM: dts: tps65217: Add power button interrupt to the common tps65217.dtsi file
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 12 Jun 2017 21:24:10 +0000 (23:24 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Aug 2017 16:24:07 +0000 (09:24 -0700)
The interrupt for power button is static data that comes from the
datasheet, there is no reason to need to define this value on every
board so seams 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 738f3a8f1dc7d84142869190bad585114b30dcd9..48a15fc641f22e40301c505625fc331efc4610e9 100644 (file)
        };
 
        pwrbutton {
-               interrupts = <2>;
                status = "okay";
        };
 
index 5c25f3a6028a0b94774bc8465f4a04bb0dde57ae..59431b23594489dd3f211c0be1a93c031d3c0c46 100644 (file)
        };
 
        pwrbutton {
-               interrupts = <2>;
                status = "okay";
        };
 };
index 19731597033545f807ed5e5432a853b471ffaab2..399baaa0a2abe1d3e17bac5d8543f29d06fc6b42 100644 (file)
@@ -25,6 +25,7 @@
 
        pwrbutton {
                compatible = "ti,tps65217-pwrbutton";
+               interrupts = <2>;
                status = "disabled";
        };