commit | cd563200c090de628eb71c7478f272eaedc6fa4d | [log] [tgz] |
---|---|---|
author | Paul Cercueil <paul@crapouillou.net> | Mon Oct 31 21:39:45 2016 +0100 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Fri Nov 04 23:48:39 2016 +0100 |
tree | 6301171bdc3d2fc295972f70acb596080e9f05ee | |
parent | 8b6102534cef64624caca7eb0a15e83f5ab9864c [diff] |
rtc: jz4740: Add support for the RTC in the jz4780 SoC 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@crapouillou.net> Acked-by: Maarten ter Huurne <maarten@treewalker.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>