Bug#782364: linux-image-3.16.0-4-armmp: please configure drivers for both Cubox i4pro real time clocks

Ian Campbell ijc at hellion.org.uk
Sat May 2 09:01:04 PDT 2015


On Wed, 2015-04-29 at 09:57 +0100, Russell King - ARM Linux wrote:
> On Sat, Apr 11, 2015 at 01:08:50AM +0100, Ben Hutchings wrote:
> > If this RTC is not battery backed, it seems like it ought to be disabled
> > in this board's device tree.
> 
> It's not that simple.
> 
> On the lower-end models, the on-SoC RTC is the only RTC there is.  If
> it were disabled, there would be no RTC available at all, so there
> would be no preservation of time-of-day across reboots.
> 
> On the Pro models, the battery backed RTC is fitted.  However, the
> battery backed RTC has no wakeup facility.
> 
> Only the on-SoC RTC has that ability, so in order to perform time-based
> wakeup, the on-SoC RTC needs to be synchronised with the current ToD
> and its alarm set.
> 
> Not having the on-SoC RTC enabled means that there is no ToD based
> wakeup possible.

So is your advice for a multi platform kernel supporting all Cubox
devices to just enable both and to sort out any syncing/naming etc in
userspace?

Thanks,
Ian.




More information about the linux-arm-kernel mailing list