second round of rtc

Ben Dooks ben.dooks at
Fri Jun 24 10:36:09 PDT 2016

This is the second RFC for the RTC support. I have
gone through and applied most of the suggested cleanups
and done a bit more tidying.

The driver has a couple of extra debug prints, and also
has a fixed rtc register write code (wrong order) so that
it can now set a time from hwclock.

This has been tested on the an ODroid-C1 with battery
connected to it.

More information about the linux-amlogic mailing list