From patchwork Mon Jan 6 14:36:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3438571 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 84C42C02DC for ; Mon, 6 Jan 2014 14:39:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 07F3820172 for ; Mon, 6 Jan 2014 14:39:51 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ABAAB2016D for ; Mon, 6 Jan 2014 14:39:49 +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 1W0BJs-0005zm-AV; Mon, 06 Jan 2014 14:38:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W0BJW-0003i0-5U; Mon, 06 Jan 2014 14:37:58 +0000 Received: from mail-ea0-f179.google.com ([209.85.215.179]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W0BJT-0003fG-Kb for linux-arm-kernel@lists.infradead.org; Mon, 06 Jan 2014 14:37:56 +0000 Received: by mail-ea0-f179.google.com with SMTP id r15so7950402ead.38 for ; Mon, 06 Jan 2014 06:37:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:content-type; bh=CfGYgLFZaJavm4TJ4W3ia7fsKq8AtXfCzG7jtBSP0IY=; b=a7SJ7b+50i9gA1zzMEz4YlcEF00St5VnF6UR1U9C7m5pFhg3v2WwmVnovMKFAiUPld AVrqp0b1eOvG5F/CVEMuDIuRaVAsNYFPv4h9FUP+HDRhB7PFWMJhklf58cnuFps5bQL5 qnz5hDA0GvmYJO156csB6LsJmuBCoIjnG/40EZR+tv34wmIg1JhA83zisuw6dVb6MMrq ib5YoadJfYy+YPaDbWF7iKbtpBOibVqn+40wKw8fsOhNUFYCYuCaAxnJ45ZdAXfE/t2D 5wIG7/+bXgJImBvU3q0acNZC1QOgUB7J+3liADUCMuuZtHXIOJrHFLkPH6n1LgsR81tu pu4w== X-Gm-Message-State: ALoCoQlnMX8Iq5yJPYVvgDkdbfedUJJTXKl1vWfEBcGuUt54d/FvHh47L28ygXWGlKCxgKMGj91O X-Received: by 10.15.33.199 with SMTP id c47mr2923897eev.109.1389019052371; Mon, 06 Jan 2014 06:37:32 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id a51sm171461672eeh.8.2014.01.06.06.37.25 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 06 Jan 2014 06:37:27 -0800 (PST) From: Michal Simek To: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Soren Brinkmann , Steffen Trumtrar Subject: [PATCH 3/7] ARM: zynq: Hang iomapped slcr address on device_node Date: Mon, 6 Jan 2014 15:36:39 +0100 Message-Id: X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140106_093755_790811_F0DE754A X-CRM114-Status: GOOD ( 13.65 ) X-Spam-Score: -1.9 (-) Cc: Josh Cartwright , monstr@monstr.eu, Russell King , Peter Crosthwaite , linux-kernel@vger.kernel.org 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS, UNPARSEABLE_RELAY autolearn=unavailable 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 From: Steffen Trumtrar For later usage by zynq clk driver. Signed-off-by: Steffen Trumtrar Signed-off-by: Michal Simek --- arch/arm/mach-zynq/slcr.c | 2 ++ 1 file changed, 2 insertions(+) -- 1.8.2.3 diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c index 9746de7..2891dcf 100644 --- a/arch/arm/mach-zynq/slcr.c +++ b/arch/arm/mach-zynq/slcr.c @@ -121,6 +121,8 @@ int __init zynq_early_slcr_init(void) BUG(); } + np->data = (__force void *)zynq_slcr_base; + /* unlock the SLCR so that registers can be changed */ writel(SLCR_UNLOCK_MAGIC, zynq_slcr_base + SLCR_UNLOCK_OFFSET);