[PATCH] ARM: at91: at91sam9x5 RTC is not compatible with at91rm9200 one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 23fb05c688a8dcb0cf6a4d8d819cffeca82e5c54 upstream. Applies on 3.10.x.

Due to a bug with RTC IMR, we cannot consider at91sam9x5 RTC compatible
with the previous one. Modify DT compatibility string, even if the driver
is not yet modified to take it into account.

Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
---
Hi,

Some comments concerning this patch:
- removed the use of macro for interrupts property
- as Douglas Gilbert described:
  "without this patch members of the at91sam9x5 family (e.g.  at91sam9g25) that
   use the RTC will receive an unhandled interrupt whenever they try to write
   to the RTC. In the case of 9x5 SoCs that is the SYS interrupt shared with
   several other things such as the debug port. Thereafter the debug port
   becomes useless (for input), the RTC doesn't work ..."

 arch/arm/boot/dts/at91sam9x5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index af91599..a127527 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -646,7 +646,7 @@
 			};
 
 			rtc@fffffeb0 {
-				compatible = "atmel,at91rm9200-rtc";
+				compatible = "atmel,at91sam9x5-rtc";
 				reg = <0xfffffeb0 0x40>;
 				interrupts = <1 4 7>;
 				status = "disabled";
-- 
1.8.2.2

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]