From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934873AbcJUUsg (ORCPT ); Fri, 21 Oct 2016 16:48:36 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:32897 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932542AbcJUUs3 (ORCPT ); Fri, 21 Oct 2016 16:48:29 -0400 MIME-Version: 1.0 In-Reply-To: <20161021140106.21531-6-woogyom.kim@gmail.com> References: <20161021140106.21531-1-woogyom.kim@gmail.com> <20161021140106.21531-6-woogyom.kim@gmail.com> From: Robert Nelson Date: Fri, 21 Oct 2016 15:47:58 -0500 Message-ID: Subject: Re: [PATCH 5/7] ARM: dts: am335x: Add the charger interrupt To: Milo Kim Cc: =?UTF-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , "linux-omap@vger.kernel.org" , devicetree , "linux-arm-kernel@lists.infradead.org" , linux kernel , Lee Jones Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 21, 2016 at 9:01 AM, Milo Kim wrote: > This enables the charger driver gets corresponding IRQ number by using > platform_get_irq_byname() helper. > > Signed-off-by: Milo Kim > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > index 25303d9..cec9d91 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 ^ this hasn't been posted nor pushed to mainline yet.. ;) > + > / { > 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"; > -- > 2.9.3 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Robert Nelson https://rcn-ee.com/