Re: [PATCH 00/12] rtc: omap: fixes and power-off feature

2014-10-11 Thread Johan Hovold
On Fri, Oct 10, 2014 at 12:54:22PM -0500, Felipe Balbi wrote: HI, On Thu, Oct 09, 2014 at 09:06:22PM +0200, Johan Hovold wrote: This series fixes a few issues with the omap rtc-driver, cleans up a bit and finally adds support for the PMIC control feature found in some revisions of this

Re: [PATCH 03/12] rtc: omap: fix class-device registration

2014-10-11 Thread Johan Hovold
On Fri, Oct 10, 2014 at 12:59:30PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 09:06:25PM +0200, Johan Hovold wrote: Make sure not to register the class device until after it has been configured and interrupt handlers registered at probe. Currently, the device is not fully

Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-11 Thread Johan Hovold
On Fri, Oct 10, 2014 at 01:02:31PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 09:06:30PM +0200, Johan Hovold wrote: Make sure to restore local irq state when reading the timer/calendar (TC) registers, so that omap_rtc_read_time() can be called with interrupts disabled.

Re: [PATCH 07/12] rtc: omap: silence bogus power-up reset message at probe

2014-10-11 Thread Johan Hovold
On Fri, Oct 10, 2014 at 01:02:56PM -0500, Felipe Balbi wrote: On Fri, Oct 10, 2014 at 01:00:54PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 09:06:29PM +0200, Johan Hovold wrote: Some legacy RTC IP revisions has a power-up reset flag in the status register that later revisions

Re: [PATCH 09/12] rtc: omap: add support for pmic_power_en

2014-10-11 Thread Johan Hovold
On Fri, Oct 10, 2014 at 01:07:27PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 09:06:31PM +0200, Johan Hovold wrote: @@ -124,11 +138,18 @@ */ #define OMAP_RTC_HAS_POWER_UP_RESETBIT(3) +/* + * Some RTC IP revisions can control an external PMIC via the

Re: [PATCH 12/12] ARM: dts: am335x-bone-common: enable power off and rtc wake up

2014-10-11 Thread Johan Hovold
On Fri, Oct 10, 2014 at 01:09:49PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 09:06:34PM +0200, Johan Hovold wrote: Configure the RTC as system-power controller, which allows the system to be powered off as well as woken up again on subsequent RTC alarms. Note that the PMIC needs

Re: [RFC PATCH v2 1/4] regulator: Add helper function to get poweroff-source property

2014-10-11 Thread Grant Likely
On Fri, Oct 10, 2014 at 1:29 PM, PERIER Romain romain.per...@gmail.com wrote: What I'm more concerned about is the semantics of the property. What do the generic code paths gain by standardizing this property? Is it expected that We really need to come up with a standard property for this

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: We can blacklist these GCC versions quite easily. We already have GCC 3.3 blacklisted, and it's trivial to add others. I would want to include some proper details about

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Russell King - ARM Linux
On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Otavio Salvador
Hello Russell, On Sat, Oct 11, 2014 at 11:16 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote:

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Peter Hurley
On 10/11/2014 10:51 AM, Otavio Salvador wrote: Hello Russell, On Sat, Oct 11, 2014 at 11:16 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014

Re: [PATCH 00/12] rtc: omap: fixes and power-off feature

2014-10-11 Thread Tony Lindgren
* Johan Hovold jo...@kernel.org [141011 02:42]: On Fri, Oct 10, 2014 at 12:54:22PM -0500, Felipe Balbi wrote: is this power-off feature RTC-only mode ? Yes, I believe so, at least as long as RTC power is maintained. The pmic_power_en pin can otherwise still be used to power off. On

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Nathan Lynch
On 10/10/2014 08:44 PM, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it seems that all 4.8.x

Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-11 Thread Felipe Balbi
On Sat, Oct 11, 2014 at 12:12:01PM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 01:02:31PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 09:06:30PM +0200, Johan Hovold wrote: Make sure to restore local irq state when reading the timer/calendar (TC) registers, so that

Re: [PATCH 07/12] rtc: omap: silence bogus power-up reset message at probe

2014-10-11 Thread Felipe Balbi
Hi, On Sat, Oct 11, 2014 at 12:20:04PM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 01:02:56PM -0500, Felipe Balbi wrote: On Fri, Oct 10, 2014 at 01:00:54PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 09:06:29PM +0200, Johan Hovold wrote: Some legacy RTC IP revisions has a