From patchwork Fri Nov 23 23:12:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Adami X-Patchwork-Id: 1797331 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 2D3DC3FC23 for ; Fri, 23 Nov 2012 23:15:42 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tc2Py-0005Ae-Q8; Fri, 23 Nov 2012 23:12:18 +0000 Received: from mail-ea0-f177.google.com ([209.85.215.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tc2Pu-0005AK-6e for linux-arm-kernel@lists.infradead.org; Fri, 23 Nov 2012 23:12:14 +0000 Received: by mail-ea0-f177.google.com with SMTP id c10so1933098eaa.36 for ; Fri, 23 Nov 2012 15:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=8HZt3zuQ16k14Yy62yuKnpxatel0O6pQhxhxzNJX378=; b=yCaN91uPtij1fIEyWX2r3m8AvepHvlqsaOHVzL0sIva6jPCvz7epF2scC6xuerX1cD NSqZ7+6ImLxs5NrSVYNKxjxhgemeM1fyc0+SJzPMxpqLtsr79wPctdVZIol0aoLJqvLY ksIznZu9yyNKEZApLuAiVliYX/epWNUmkqRKxxb1k8nqo06qMWZGzwDVw1OqEVaqMOj3 O0cTEZRf/Cw+74AVu4MM5zRTSQDea8KHwIhQEItBhqFWs9Hbkmx1IqIxGBOTARLWTOjE rRnqypkuwxLFXpfkxj4y48ORfWt4dbhr5PaOg8ug8Xt/3ljXWCY0MmVcSUD+zRfnlbzU L1tA== Received: by 10.14.223.200 with SMTP id v48mr18469917eep.24.1353712331474; Fri, 23 Nov 2012 15:12:11 -0800 (PST) Received: from mizar.localdomain (host254-248-dynamic.31-79-r.retail.telecomitalia.it. [79.31.248.254]) by mx.google.com with ESMTPS id e7sm16670737eep.1.2012.11.23.15.12.09 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 15:12:10 -0800 (PST) From: Andrea Adami To: Eric Miao Subject: [PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock Date: Sat, 24 Nov 2012 00:12:08 +0100 Message-Id: <1353712328-15830-1-git-send-email-andrea.adami@gmail.com> X-Mailer: git-send-email 1.7.8.6 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121123_181214_473538_2EE0DA1E X-CRM114-Status: GOOD ( 12.31 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andrea.adami[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -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 Cc: Russell King , linux-arm-kernel@lists.infradead.org, Haojian Zhuang , linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org * Using pxa27x you could now build both RTC_DRV_PXA and RTC_DRV_SA1100. * Make sure you don't use both together: link /dev/rtc0 or /dev/rtc1 * to /dev/rtc according to your requirement. Signed-off-by: Andrea Adami Acked-by: Robert Jarzmik --- arch/arm/mach-pxa/pxa27x.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index 8047ee0..5970ebc 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c @@ -230,6 +230,7 @@ static struct clk_lookup pxa27x_clkregs[] = { INIT_CLKREG(&clk_pxa27x_memc, NULL, "MEMCLK"), INIT_CLKREG(&clk_pxa27x_mem, "pxa2xx-pcmcia", NULL), INIT_CLKREG(&clk_dummy, "pxa-gpio", NULL), + INIT_CLKREG(&clk_dummy, "sa1100-rtc", NULL), }; #ifdef CONFIG_PM