From patchwork Tue Apr 5 13:40:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Holler X-Patchwork-Id: 686621 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p35DfVDN013671 for ; Tue, 5 Apr 2011 13:41:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752354Ab1DENla (ORCPT ); Tue, 5 Apr 2011 09:41:30 -0400 Received: from h1446028.stratoserver.net ([85.214.92.142]:49395 "EHLO mail.ahsoftware.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751310Ab1DENla (ORCPT ); Tue, 5 Apr 2011 09:41:30 -0400 Received: by mail.ahsoftware.de (Postfix, from userid 65534) id 9DD9343479A; Tue, 5 Apr 2011 15:41:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on h1446028.stratoserver.net X-Spam-Level: X-Spam-Status: No, score=-101.0 required=5.0 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=disabled version=3.3.1 Received: from eiche.ahsoftware (p57B215A2.dip0.t-ipconnect.de [87.178.21.162]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTPSA id B0A92434467; Tue, 5 Apr 2011 15:41:26 +0200 (CEST) Received: from beagle.ahsoftware (conradbt.ahsoftware [192.168.213.4]) by eiche.ahsoftware (Postfix) with ESMTP id C9F313FC97; Tue, 5 Apr 2011 15:41:24 +0200 (CEST) From: Alexander Holler To: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org, Alexander Holler Subject: [PATCH] arm: omap3: beagle: Ensure msecure is mux'd to be able to set the RTC Date: Tue, 5 Apr 2011 15:40:08 +0200 Message-Id: <1302010808-3065-1-git-send-email-holler@ahsoftware.de> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <4D9AEB76.2060509@ahsoftware.de> References: <4D9AEB76.2060509@ahsoftware.de> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 05 Apr 2011 13:41:32 +0000 (UTC) Without msecure beeing high it isn't possible to set (or start) the RTC. Tested with a BeagleBoard C4. Signed-off-by: Alexander Holler --- arch/arm/mach-omap2/board-omap3beagle.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 46d814a..ebe3a7e 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -628,6 +628,9 @@ static void __init omap3_beagle_init(void) usb_ehci_init(&ehci_pdata); omap3beagle_flash_init(); + /* Ensure msecure is mux'd to be able to set the RTC. */ + omap_mux_init_signal("sys_drm_msecure", OMAP_PIN_OFF_OUTPUT_HIGH); + /* Ensure SDRC pins are mux'd for self-refresh */ omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT);