From patchwork Wed Aug 7 16:49:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Gilbert X-Patchwork-Id: 2840405 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DA9599F479 for ; Wed, 7 Aug 2013 16:51:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B51DE2039D for ; Wed, 7 Aug 2013 16:51:15 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7FBAA2030D for ; Wed, 7 Aug 2013 16:51:14 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V76x6-0008AO-IX; Wed, 07 Aug 2013 16:51:12 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V76x4-0006vO-Br; Wed, 07 Aug 2013 16:51:10 +0000 Received: from smtp.infotech.no ([82.134.31.41]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V76x0-0006uo-5f for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 16:51:09 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.infotech.no (Postfix) with ESMTP id E5A332041D0; Wed, 7 Aug 2013 18:50:41 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.6 (20110518) (Debian) at infotech.no Received: from smtp.infotech.no ([127.0.0.1]) by localhost (smtp.infotech.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZvxkFjBWtRQA; Wed, 7 Aug 2013 18:50:38 +0200 (CEST) Received: from [192.168.48.66] (host-192.252-172-122.dyn.295.ca [192.252.172.122]) by smtp.infotech.no (Postfix) with ESMTPA id BD4C9204174; Wed, 7 Aug 2013 18:50:36 +0200 (CEST) Message-ID: <52027AB3.1040806@interlog.com> Date: Wed, 07 Aug 2013 12:49:55 -0400 From: Douglas Gilbert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: linux-arm-kernel Subject: [PATCH 3.10-stable] at91sam9x5 rtc causes damage X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130807_125106_397643_E3122516 X-CRM114-Status: UNSURE ( 6.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Greg KH , boris brezillon , "Ferre, Nicolas" , Robert Nelson X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: dgilbert@interlog.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This one probably needs more sign-offs but some folks seem to be away. It is pretty simple and fixed in the current lk 3.11.0-rc series. So it just impacts the lk 3.10 series including lk 3.10.5 . ChangeLog: - 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 ... Signed-off-by: Douglas Gilbert diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index d1b5199..4227464 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi @@ -643,7 +643,7 @@ }; rtc@fffffeb0 { - compatible = "atmel,at91rm9200-rtc"; + compatible = "atmel,at91sam9x5-rtc"; reg = <0xfffffeb0 0x40>; interrupts = <1 4 7>; status = "disabled";