rtc: armada38x: Prepare driver to manage different versions
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 20 Feb 2017 17:38:48 +0000 (18:38 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 21 Feb 2017 22:21:28 +0000 (23:21 +0100)
commit75faea9179a775fbc3380e918ac90dc9991dc450
treef1276fa064fc5585c392aaa3b33d0e152570cb82
parent082edf0ab1e83fe42d98ea7b6c1a64a896efce70
rtc: armada38x: Prepare driver to manage different versions

In order to prepare the introduction of the A7K/A8K version of the RTC,
this commit introduces a new data structure. This structure allows to
handle the differences between the integration of the RTC IP in the
SoCs. It will be:
 - MBUS bridge timing initialization
 - IRQ configuration at SoC level

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-armada38x.c