From patchwork Tue Jul 5 13:35:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?UTF-8?q?J=C3=BCrgen=20Lambrecht?= X-Patchwork-Id: 103283 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BC8FBB6F6C for ; Tue, 5 Jul 2011 23:36:16 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qe5nL-0004WS-8Q; Tue, 05 Jul 2011 13:36:07 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qe5nJ-00029T-Ti; Tue, 05 Jul 2011 13:36:05 +0000 Received: from mail-ww0-f49.google.com ([74.125.82.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qe5nG-00029A-Ae for linux-arm-kernel@lists.infradead.org; Tue, 05 Jul 2011 13:36:03 +0000 Received: by wwf22 with SMTP id 22so4338493wwf.18 for ; Tue, 05 Jul 2011 06:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=sXr5zY//Jgs+3JLClcHramuzjR9MggNke/sij6XXDXI=; b=nGej7cl2VS5Qn2r9EzDnw23q6OlPzbLN4Mp+PBslxtBzsVLUce3qPHfKvcTlehCsFF s8xarnqWOUxk/wFdcm6MBOPju98VceKhfv62z/OtU5PJJYxrGL54KMt1ok1u5K8WGS4V NcvoQBe9TJwymsi0f7UPAO1qYj7R0JX0/Ssys= Received: by 10.216.237.131 with SMTP id y3mr4708581weq.87.1309872955639; Tue, 05 Jul 2011 06:35:55 -0700 (PDT) Received: from localhost.localdomain ([188.189.87.107]) by mx.google.com with ESMTPS id z83sm725078weq.20.2011.07.05.06.35.52 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jul 2011 06:35:54 -0700 (PDT) From: "=?UTF-8?q?J=C3=BCrgen=20Lambrecht?=" To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] Enable RTC driver. Date: Tue, 5 Jul 2011 15:35:31 +0200 Message-Id: <1309872931-13999-1-git-send-email-J.Lambrecht@televic.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110705_093602_660466_66BFC3E2 X-CRM114-Status: GOOD ( 13.36 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (juergen.lambrecht[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_TO_NO_BRKTS_FREEMAIL To: misformatted and free email service X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org The MC13783 MFD also contains an RTC. Enable it. To avoid "No RTC device found, ALARM timers will not wake from suspend", this patch is needed: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c008ba58af24dc5d0d8e9fe6e59d876910254761 Signed-off-by: Jürgen Lambrecht --- arch/arm/mach-imx/mach-mx27_3ds.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c index 84114aa..00bbb6b 100644 --- a/arch/arm/mach-imx/mach-mx27_3ds.c +++ b/arch/arm/mach-imx/mach-mx27_3ds.c @@ -294,7 +294,8 @@ static struct mc13xxx_platform_data mc13783_pdata = { .num_regulators = ARRAY_SIZE(mx27_3ds_regulators), }, - .flags = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN, + .flags = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN | + MC13783_USE_RTC, }; /* SPI */