From patchwork Sat Nov 16 22:07:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 3193211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 17F05C045B for ; Sat, 16 Nov 2013 22:10:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 53C7F20820 for ; Sat, 16 Nov 2013 22:10:34 +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 632F020812 for ; Sat, 16 Nov 2013 22:10:33 +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 1Vho3I-0005YZ-Q7; Sat, 16 Nov 2013 22:09:17 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vho33-0000lE-IX; Sat, 16 Nov 2013 22:09:01 +0000 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vho2e-0000iB-0O for linux-arm-kernel@lists.infradead.org; Sat, 16 Nov 2013 22:08:37 +0000 Received: by mail-we0-f172.google.com with SMTP id q58so4911345wes.31 for ; Sat, 16 Nov 2013 14:08:12 -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:in-reply-to:references; bh=VEHbH5E85aQY72VmIA+rz/MeBd8EhJVAwT4znFr3Jcs=; b=XHJdxeZY97Yv0YWZJxygvXXxE81I+l6dQ0x8RSGeOAN2OLy4ptlVCa/PL+xxB20ZF6 CXTs815y8PX4bTxfgzvyJDguKpMNMQ6g3jqNUiuDMrB5aBJOBqf6sy7KgEN2pdiASv1k bgMvIUuriyO/V+eyD7EDdMl4zH7lL2b3hNm/fvNS5H633c20KQvSjNUSUA9S5YKA1Xhi TPeKBPvbqzXQfe3JGK3sSswuDyn+QMKwASPyZbMjgeFkVjl1dsjZ8zDYpeIVj8lVSTIJ yFbIplk5/kAvv9w3yoGk/CSvSNE3JvyKh8E1edjry0xHHzx/lVft0dMngdNpUt3Rely9 R9/Q== X-Received: by 10.180.78.165 with SMTP id c5mr11890273wix.3.1384639692696; Sat, 16 Nov 2013 14:08:12 -0800 (PST) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id je17sm8706021wic.4.2013.11.16.14.08.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Nov 2013 14:08:11 -0800 (PST) From: Dmitry Eremin-Solenikov To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/5] arm: sa1100: add a clock alias for sa1111 pcmcia device Date: Sun, 17 Nov 2013 02:07:29 +0400 Message-Id: <1384639650-3919-5-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1384639650-3919-1-git-send-email-dbaryshkov@gmail.com> References: <1384639650-3919-1-git-send-email-dbaryshkov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131116_170836_221599_B5F7B114 X-CRM114-Status: GOOD ( 11.13 ) X-Spam-Score: -2.0 (--) Cc: Russell King , Dmitry Artamonow X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 SA-1111 uses internal MMIO space offsets as a device name, so device name for sa1111 pcmcia is 1800 (PCMCIA is at offset 0x1800). Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/clock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-sa1100/clock.c b/arch/arm/mach-sa1100/clock.c index abf1dc1..5940be5 100644 --- a/arch/arm/mach-sa1100/clock.c +++ b/arch/arm/mach-sa1100/clock.c @@ -124,6 +124,8 @@ static struct clk_lookup sa11xx_clkregs[] = { CLKDEV_INIT("sa1100-rtc", NULL, NULL), CLKDEV_INIT("sa11x0-fb", NULL, &clk_cpu), CLKDEV_INIT("sa11x0-pcmcia", NULL, &clk_cpu), + /* sa1111 names devices using internal offsets, PCMCIA is at 0x1800 */ + CLKDEV_INIT("1800", NULL, &clk_cpu), }; static int __init sa11xx_clk_init(void)