On 31/10/2016 at 21:39:45 +0100, Paul Cercueil wrote : > The RTC unit present in the JZ4780 works mostly the same as the one in > the JZ4740. The major difference is that register writes need to be > explicitly enabled, by writing a magic code (0xA55A) to a "write > enable" register before each access. > > Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx> > Acked-by: Maarten ter Huurne <maarten@xxxxxxxxxxxxxx> > --- > drivers/rtc/Kconfig | 6 +++--- > drivers/rtc/rtc-jz4740.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 51 insertions(+), 5 deletions(-) > > v2: No change > v3: No change > All applied, thanks -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html