From patchwork Mon Nov 24 23:05:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 5370721 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CDA679F2F5 for ; Mon, 24 Nov 2014 23:05:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0240020149 for ; Mon, 24 Nov 2014 23:05:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2F62220154 for ; Mon, 24 Nov 2014 23:05:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751966AbaKXXFv (ORCPT ); Mon, 24 Nov 2014 18:05:51 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:38579 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954AbaKXXFv (ORCPT ); Mon, 24 Nov 2014 18:05:51 -0500 Received: by mail-wi0-f176.google.com with SMTP id ex7so7352397wid.9 for ; Mon, 24 Nov 2014 15:05:50 -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=kS8MxJwuxzbVzfqn3jfHaX7lRcG7riOyRyQBxZ3wIZw=; b=YZkyGHwoVy8QeGXgPKAJXIH/0tr8wtKico/2eq0nNhVPoeSR1zWgFzoqqc87mYGrEk EFKp3TQ9x5ThmUVWee/7PjBgowai0dOHCZM1vTS1+z4KmVtslXTw0qNHclMsnOm9MJ7J dIqWKGt+IAtf3jzrkEX6HwOxxIcXYB2Lay8ffJ4nAL67BqpYK9Ipye0CDksnITtSA8gD 6nY42LqUyezVr7lkC+ku1Rv4eSCTDPLqkvhTcVQ+JjIbwIHD8TyMphZGYgLx9lWXRUdA FW6C3aAg2wMgKb1Iwy2Lh19HeWJZvKHHXI21xSVretrwNLrQq737imzGI2rZoC63K2Wj D+MA== X-Received: by 10.194.185.167 with SMTP id fd7mr39112992wjc.108.1416870350284; Mon, 24 Nov 2014 15:05:50 -0800 (PST) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id u5sm326051wiz.9.2014.11.24.15.05.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Nov 2014 15:05:49 -0800 (PST) From: Dmitry Eremin-Solenikov To: Russell King , linux-arm-kernel@lists.infradead.org Cc: linux-pcmcia@lists.infradead.org, linux-fbdev@vger.kernel.org Subject: [PATCH V2 2/6] ARM: sa1100: add a clock alias for sa1111 pcmcia device Date: Tue, 25 Nov 2014 02:05:32 +0300 Message-Id: <1416870336-30114-3-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1416870336-30114-1-git-send-email-dbaryshkov@gmail.com> References: <1416870336-30114-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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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)