From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752406AbcAFBAU (ORCPT ); Tue, 5 Jan 2016 20:00:20 -0500 Received: from muru.com ([72.249.23.125]:53504 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751636AbcAFBAR (ORCPT ); Tue, 5 Jan 2016 20:00:17 -0500 Date: Tue, 5 Jan 2016 17:00:12 -0800 From: Tony Lindgren To: Nishanth Menon Cc: "H. Nikolaus Schaller" , =?utf-8?Q?Beno=C3=AEt?= Cousson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, marek@goldelico.com Subject: Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery Message-ID: <20160106010011.GG12777@atomide.com> References: <568C5451.8070709@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <568C5451.8070709@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Nishanth Menon [160105 15:40]: > On 01/05/2016 06:01 AM, H. Nikolaus Schaller wrote: > > tested on OMP5432 EVM > > > > Signed-off-by: H. Nikolaus Schaller > > --- > > arch/arm/boot/dts/omap5-board-common.dtsi | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi > > index 5cf76a1..30c0d3b 100644 > > --- a/arch/arm/boot/dts/omap5-board-common.dtsi > > +++ b/arch/arm/boot/dts/omap5-board-common.dtsi > > @@ -358,6 +358,14 @@ > > #clock-cells = <0>; > > }; > > > > + rtc { > > + compatible = "ti,palmas-rtc"; > > + interrupt-parent = <&palmas>; > > + interrupts = <8 IRQ_TYPE_NONE>; > > IRQ_TYPE_NONE is not correct here -> it should have some polarity - if > it had none, there'd be no interrupt, right? Also I'm not seeing just zeroes coming from RTC after typing hwclock on omap5-uevm. It's working on x15 though. Nikolaus, is hwclock command working for you on omap5-uevm? Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery Date: Tue, 5 Jan 2016 17:00:12 -0800 Message-ID: <20160106010011.GG12777@atomide.com> References: <568C5451.8070709@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <568C5451.8070709-l0cyMroinI0@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Nishanth Menon Cc: "H. Nikolaus Schaller" , =?utf-8?Q?Beno=C3=AEt?= Cousson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, marek-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org List-Id: devicetree@vger.kernel.org * Nishanth Menon [160105 15:40]: > On 01/05/2016 06:01 AM, H. Nikolaus Schaller wrote: > > tested on OMP5432 EVM > > > > Signed-off-by: H. Nikolaus Schaller > > --- > > arch/arm/boot/dts/omap5-board-common.dtsi | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi > > index 5cf76a1..30c0d3b 100644 > > --- a/arch/arm/boot/dts/omap5-board-common.dtsi > > +++ b/arch/arm/boot/dts/omap5-board-common.dtsi > > @@ -358,6 +358,14 @@ > > #clock-cells = <0>; > > }; > > > > + rtc { > > + compatible = "ti,palmas-rtc"; > > + interrupt-parent = <&palmas>; > > + interrupts = <8 IRQ_TYPE_NONE>; > > IRQ_TYPE_NONE is not correct here -> it should have some polarity - if > it had none, there'd be no interrupt, right? Also I'm not seeing just zeroes coming from RTC after typing hwclock on omap5-uevm. It's working on x15 though. Nikolaus, is hwclock command working for you on omap5-uevm? Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html