From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934717AbcAKUYe (ORCPT ); Mon, 11 Jan 2016 15:24:34 -0500 Received: from muru.com ([72.249.23.125]:54724 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932253AbcAKUY1 (ORCPT ); Mon, 11 Jan 2016 15:24:27 -0500 Date: Mon, 11 Jan 2016 12:24:22 -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 , =?utf-8?Q?Gra=C5=BEvydas?= Ignotas Subject: Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery Message-ID: <20160111202421.GA12777@atomide.com> References: <20160106010011.GG12777@atomide.com> <8FE6954B-6411-4593-9CE5-717A469A6AA8@goldelico.com> <20160106164136.GI12777@atomide.com> <2AC46952-3758-458A-B0A5-1794C207BD4C@goldelico.com> <20160106170925.GK12777@atomide.com> <66F37918-EA7F-4D83-8B5F-A6B5C0CD7623@goldelico.com> <20160108181551.GX12777@atomide.com> <832803EE-E4CB-46B1-BF39-2DC0BB695A5D@goldelico.com> <20160108190457.GY12777@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 [160108 11:32]: > > Am 08.01.2016 um 20:04 schrieb Tony Lindgren : > > > * H. Nikolaus Schaller [160108 10:33]: > >> Am 08.01.2016 um 19:15 schrieb Tony Lindgren : > >>> * H. Nikolaus Schaller [160108 09:50]: > >>> > >>>> So I think it is something which is unstable in 4.4-rc8 that is (probably) fixed in > >>>> linux-next and unrelated to this DT patch. > >>>> > >>>> But I have no hint or idea what it is. > >>> > >>> Or something hangs the RTC? And the back-up battery has to drain to > >>> reset the RTC somehow? > >> > >> Indeed it could be something like this. I already suspected that it depends > >> on boot order of some components. > >> > >> But you get the /dev/rtc and /sys/class/rtc nodes? This is what this patch > >> should enable (and not fix potential driver issues). > > > > Yes no problems with $subject patch. It's just the we also need > > to figure out why RTC does not work :) > > Yes indeed. I can not focus on that at the moment but as soon as we have > the new Pyra handheld devices (with OMAP5+Palmas) running, there will > be more developers to look at it. OK so the issue is that the twl msecure pin should be high to enable the RTC registers. We used to have that code with platform_data, but no longer have it with device tree based booting. I'll send a patch for that. Curiously setting jumper j5 on beagle-x15 that controls what used to be the msecure and now is powerhold, does the opposite.. The device boots automatically but RTC is stopped? Regards, Tony