From: Enric Balletbo i Serra Date: Mon, 12 Jun 2017 21:24:09 +0000 (+0200) Subject: ARM: dts: tps65217: Add charger interrupts to the common tps65217.dtsi file X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a80131e9dd22a4c2b2247107058ca357ffb7a9d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: tps65217: Add charger interrupts to the common tps65217.dtsi 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 1d154444dfef..738f3a8f1dc7 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -319,8 +319,6 @@ ti,pmic-shutdown-controller; charger { - interrupts = <0>, <1>; - interrupt-names = "USB", "AC"; status = "okay"; }; diff --git a/arch/arm/boot/dts/am335x-chiliboard.dts b/arch/arm/boot/dts/am335x-chiliboard.dts index d8769799772e..5c25f3a6028a 100644 --- a/arch/arm/boot/dts/am335x-chiliboard.dts +++ b/arch/arm/boot/dts/am335x-chiliboard.dts @@ -191,8 +191,6 @@ interrupts = <7>; /* NNMI */ charger { - interrupts = <0>, <1>; - interrupt-names = "USB", "AC"; status = "okay"; }; diff --git a/arch/arm/boot/dts/tps65217.dtsi b/arch/arm/boot/dts/tps65217.dtsi index 02de56b55823..197315970335 100644 --- a/arch/arm/boot/dts/tps65217.dtsi +++ b/arch/arm/boot/dts/tps65217.dtsi @@ -18,6 +18,8 @@ charger { compatible = "ti,tps65217-charger"; + interrupts = <0>, <1>; + interrupt-names = "USB", "AC"; status = "disabled"; };