From: Milo Kim Date: Fri, 28 Oct 2016 12:37:00 +0000 (+0900) Subject: ARM: dts: am335x: Add the charger interrupt X-Git-Tag: v4.10-rc1~82^2~2^2~29 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1934e89a769b9da761f38e1c7b5e46ffa468f4c2;p=uclinux-h8%2Flinux.git ARM: dts: am335x: Add the charger interrupt This enables the charger driver gets corresponding IRQ number by using platform_get_irq_byname() helper. Signed-off-by: Milo Kim 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 25303d98b1b6..cec9d91dc296 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -6,6 +6,8 @@ * published by the Free Software Foundation. */ +#include + / { cpus { cpu@0 { @@ -316,6 +318,12 @@ ti,pmic-shutdown-controller; + charger { + interrupts = , ; + interrupts-names = "AC", "USB"; + status = "okay"; + }; + regulators { dcdc1_reg: regulator@0 { regulator-name = "vdds_dpr";