From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754789AbcALViY (ORCPT ); Tue, 12 Jan 2016 16:38:24 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:53919 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752828AbcALViW (ORCPT ); Tue, 12 Jan 2016 16:38:22 -0500 Subject: Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery To: "H. Nikolaus Schaller" , Tony Lindgren References: <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> <20160111202421.GA12777@atomide.com> <20160112000917.GC12777@atomide.com> <417BBA32-A7DC-40CD-8A6B-EA910B1C9C13@goldelico.com> CC: Laxman Dewangan , =?UTF-8?Q?Beno=c3=aet_Cousson?= , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap , , LKML , Marek Belisko , =?UTF-8?Q?Gra=c5=bevydas_Ignotas?= From: Nishanth Menon Message-ID: <5695722B.90202@ti.com> Date: Tue, 12 Jan 2016 15:37:47 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/12/2016 03:27 PM, H. Nikolaus Schaller wrote: > Hi Tony, > > Am 12.01.2016 um 14:30 schrieb H. Nikolaus Schaller : > >> Hi Tony, >> >> Am 12.01.2016 um 01:09 schrieb Tony Lindgren : >> >>> * Tony Lindgren [160111 12:27]: >>>> >>>> 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? >>> >>> And here's a fix the issue for omap5. Beagle-x15 needs to be >>> investigated more. >>> >>> Care to test it with your RTC enabling patch? >> >> yes, I will test asap. >> >> Reminds me on some issues we did have with msecure and twl4030 rtc some years ago. > > Ok, works for me on OMAP5432EVM. > > Thanks for spotting the issue. > http://pastebin.ubuntu.com/14480852/ Works for me as well ( https://patchwork.kernel.org/patch/7954341/ + http://pastebin.ubuntu.com/14480852/) -- Regards, Nishanth Menon From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Menon Subject: Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery Date: Tue, 12 Jan 2016 15:37:47 -0600 Message-ID: <5695722B.90202@ti.com> References: <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> <20160111202421.GA12777@atomide.com> <20160112000917.GC12777@atomide.com> <417BBA32-A7DC-40CD-8A6B-EA910B1C9C13@goldelico.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "H. Nikolaus Schaller" , Tony Lindgren Cc: Laxman Dewangan , =?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 , =?UTF-8?Q?Gra=c5=bevydas_Ignotas?= List-Id: devicetree@vger.kernel.org On 01/12/2016 03:27 PM, H. Nikolaus Schaller wrote: > Hi Tony, > > Am 12.01.2016 um 14:30 schrieb H. Nikolaus Schaller : > >> Hi Tony, >> >> Am 12.01.2016 um 01:09 schrieb Tony Lindgren : >> >>> * Tony Lindgren [160111 12:27]: >>>> >>>> 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? >>> >>> And here's a fix the issue for omap5. Beagle-x15 needs to be >>> investigated more. >>> >>> Care to test it with your RTC enabling patch? >> >> yes, I will test asap. >> >> Reminds me on some issues we did have with msecure and twl4030 rtc some years ago. > > Ok, works for me on OMAP5432EVM. > > Thanks for spotting the issue. > http://pastebin.ubuntu.com/14480852/ Works for me as well ( https://patchwork.kernel.org/patch/7954341/ + http://pastebin.ubuntu.com/14480852/) -- Regards, Nishanth Menon -- 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