]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: armada38x: Add support for Armada 7K/8K
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 20 Feb 2017 17:38:49 +0000 (18:38 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 21 Feb 2017 22:21:30 +0000 (23:21 +0100)
commit34f54f579a9988e96e85e22fc151c15955ae40f0
treebc95b0472cebefc575f96ddd93a4a3b87d8cb3ee
parent75faea9179a775fbc3380e918ac90dc9991dc450
rtc: armada38x: Add support for Armada 7K/8K

The Armada 7K/8K use the same RTC IP than the Armada 38x. However the SOC
integration differs in 2 points:
 - MBUS bridge timing initialization
 - IRQ configuration at SoC level

Moreover the Armada 7K/8K have an issue preventing to get the interrupt
from alarm 1. This commit allows to use alarm 2 for these A7K/8K but to
still use alarm 1 for the Armada 38x.

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