From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752170AbcAFRJd (ORCPT ); Wed, 6 Jan 2016 12:09:33 -0500 Received: from muru.com ([72.249.23.125]:53674 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751582AbcAFRJa (ORCPT ); Wed, 6 Jan 2016 12:09:30 -0500 Date: Wed, 6 Jan 2016 09:09:25 -0800 From: Tony Lindgren To: "H. Nikolaus Schaller" Cc: Laxman Dewangan , Nishanth Menon , =?utf-8?Q?Beno=C3=AEt?= Cousson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap , devicetree@vger.kernel.org, LKML , Marek Belisko Subject: Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery Message-ID: <20160106170925.GK12777@atomide.com> References: <568C5451.8070709@ti.com> <20160106010011.GG12777@atomide.com> <8FE6954B-6411-4593-9CE5-717A469A6AA8@goldelico.com> <20160106164136.GI12777@atomide.com> <2AC46952-3758-458A-B0A5-1794C207BD4C@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2AC46952-3758-458A-B0A5-1794C207BD4C@goldelico.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 * H. Nikolaus Schaller [160106 08:48]: > Hi Tony, > > Am 06.01.2016 um 17:41 schrieb Tony Lindgren : > > > Hi, > > > > * H. Nikolaus Schaller [160106 00:12]: > >> Am 06.01.2016 um 02:00 schrieb Tony Lindgren : > >>> > >>> 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? > >> > >> Well, yes and no. It appears it *was* working when tested last time > >> (we sometimes have months of delay for submitting patches upstream). > >> > >> I have found an SD image with 4.3-rc6 with this patch in the dtb and > >> there it works. With 4.4-rc8 it does not work. hwclock command hangs for > >> 10 seconds (I guess some timeout). > >> > >> I have checked the dtb and in both cases it is interrupts = <8 0>; > >> > >> xxd /sys/firmware/devicetree/base/ocp/i2c@48070000/palmas@48/rtc/interrupts > >> 0000000: 0000 0008 0000 0000 > >> > >> So I think something has changed in the rtc driver or somewhere else. > > > > I just gave it a try on v4.3-rc6 with omap5-uevm.dts patched for > > RTC, and I still don't have hwclock working with RTC. > > > > It seems you have some additional patches there that make it work? > > Hm. Not that I am aware of. We just did add the rtc nodes but did not > touch palmas drivers (except adding the gpadc of this patch series). OK > > I guess it could also be a bootloader change if it's a different > > SD image that works for you. > > Yes, it is using a 2 years old U-Boot instead 2015.10 compiled from > source. I will try to find out if it makes a difference. OK. It could be also some .config change with something built-in? 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: Wed, 6 Jan 2016 09:09:25 -0800 Message-ID: <20160106170925.GK12777@atomide.com> References: <568C5451.8070709@ti.com> <20160106010011.GG12777@atomide.com> <8FE6954B-6411-4593-9CE5-717A469A6AA8@goldelico.com> <20160106164136.GI12777@atomide.com> <2AC46952-3758-458A-B0A5-1794C207BD4C@goldelico.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <2AC46952-3758-458A-B0A5-1794C207BD4C-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "H. Nikolaus Schaller" Cc: Laxman Dewangan , Nishanth Menon , =?utf-8?Q?Beno=C3=AEt?= Cousson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, LKML , Marek Belisko List-Id: devicetree@vger.kernel.org * H. Nikolaus Schaller [160106 08:48]: > Hi Tony, > > Am 06.01.2016 um 17:41 schrieb Tony Lindgren : > > > Hi, > > > > * H. Nikolaus Schaller [160106 00:12]: > >> Am 06.01.2016 um 02:00 schrieb Tony Lindgren : > >>> > >>> 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? > >> > >> Well, yes and no. It appears it *was* working when tested last time > >> (we sometimes have months of delay for submitting patches upstream). > >> > >> I have found an SD image with 4.3-rc6 with this patch in the dtb and > >> there it works. With 4.4-rc8 it does not work. hwclock command hangs for > >> 10 seconds (I guess some timeout). > >> > >> I have checked the dtb and in both cases it is interrupts = <8 0>; > >> > >> xxd /sys/firmware/devicetree/base/ocp/i2c@48070000/palmas@48/rtc/interrupts > >> 0000000: 0000 0008 0000 0000 > >> > >> So I think something has changed in the rtc driver or somewhere else. > > > > I just gave it a try on v4.3-rc6 with omap5-uevm.dts patched for > > RTC, and I still don't have hwclock working with RTC. > > > > It seems you have some additional patches there that make it work? > > Hm. Not that I am aware of. We just did add the rtc nodes but did not > touch palmas drivers (except adding the gpadc of this patch series). OK > > I guess it could also be a bootloader change if it's a different > > SD image that works for you. > > Yes, it is using a 2 years old U-Boot instead 2015.10 compiled from > source. I will try to find out if it makes a difference. OK. It could be also some .config change with something built-in? 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