From patchwork Fri Oct 24 10:37:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 5145611 Return-Path: X-Original-To: patchwork-linux-fbdev@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 6367FC11AC for ; Fri, 24 Oct 2014 10:40:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9CF322021B for ; Fri, 24 Oct 2014 10:40:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7346200D9 for ; Fri, 24 Oct 2014 10:40:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756219AbaJXKiL (ORCPT ); Fri, 24 Oct 2014 06:38:11 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:58665 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756230AbaJXKiI (ORCPT ); Fri, 24 Oct 2014 06:38:08 -0400 Received: by mail-pa0-f47.google.com with SMTP id kx10so912883pab.34 for ; Fri, 24 Oct 2014 03:38:07 -0700 (PDT) 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=KR4ya16m1piCWxzFfQiEPPEWHXmexge1hA9U5kwY5QI=; b=vT48HB0Iwo0HLz+FXmUuaWoMnVi2OjzY4TrxT/zI9meXsLXDbJ3GE3RC/AuwgYzh0i p2dLNDF+kMu1hH46H+L7zXmi5CUiE0K2kOJyBCU5ajX0+n3gfS+1oI/dMmTqNfVY6nf8 /0nqlLUNfwOYuc43ydoF4EkZBf1Kahk/GEYFQOiT5xppTUe+2eu0x+CtIYtXLJa/zo9+ uvkExcAP5QguxYCHFvTuzNtk/7JpODiaWs6jLM2IjvRtIUSgqJHnsazT1PxmmoNfTbxb 2A6mF5qXZVATM3YRtqnfbGM92XAkJfrX0RPN6o3ufECS/aDAXmslT68qvK4OL5zidKYQ loaw== X-Received: by 10.70.91.42 with SMTP id cb10mr3949442pdb.16.1414147087848; Fri, 24 Oct 2014 03:38:07 -0700 (PDT) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id jc3sm3590019pbb.49.2014.10.24.03.38.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Oct 2014 03:38:07 -0700 (PDT) From: Dmitry Eremin-Solenikov To: linux-arm-kernel@lists.infradead.org, linux-pcmcia@lists.infradead.org, linux-fbdev@vger.kernel.org Cc: Russell King , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Linus Walleij , Andrea Adami Subject: [PATCH 2/5] arm: sa1100: add a clock alias for sa1111 pcmcia device Date: Fri, 24 Oct 2014 14:37:24 +0400 Message-Id: <1414147047-12892-3-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1414147047-12892-1-git-send-email-dbaryshkov@gmail.com> References: <1414147047-12892-1-git-send-email-dbaryshkov@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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 53f750d..03c75a8 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)