فهرست منبع

ARM: dts: tps65217: Add power button interrupt to the common tps65217.dtsi file

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>
Enric Balletbo i Serra 8 سال پیش
والد
کامیت
7e697ac3c4
3فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 0 1
      arch/arm/boot/dts/am335x-bone-common.dtsi
  2. 0 1
      arch/arm/boot/dts/am335x-chiliboard.dts
  3. 1 0
      arch/arm/boot/dts/tps65217.dtsi

+ 0 - 1
arch/arm/boot/dts/am335x-bone-common.dtsi

@@ -323,7 +323,6 @@
 	};
 
 	pwrbutton {
-		interrupts = <2>;
 		status = "okay";
 	};
 

+ 0 - 1
arch/arm/boot/dts/am335x-chiliboard.dts

@@ -195,7 +195,6 @@
 	};
 
 	pwrbutton {
-		interrupts = <2>;
 		status = "okay";
 	};
 };

+ 1 - 0
arch/arm/boot/dts/tps65217.dtsi

@@ -25,6 +25,7 @@
 
 	pwrbutton {
 		compatible = "ti,tps65217-pwrbutton";
+		interrupts = <2>;
 		status = "disabled";
 	};