From patchwork Thu Jul 10 07:26:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 33393 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f72.google.com (mail-qg0-f72.google.com [209.85.192.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A21B4203C0 for ; Thu, 10 Jul 2014 07:29:19 +0000 (UTC) Received: by mail-qg0-f72.google.com with SMTP id q107sf19755563qgd.11 for ; Thu, 10 Jul 2014 00:29:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:in-reply-to:references:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=cxQpKiplrSZygYYFMAUUBKOVOeZ0cRBsZYmMkF8AeQM=; b=SXqeSKjGvKUjxUz7cYC9x3yLN3s1md0DMoJoUVBe0G9EmbY+M2Ryj/wXn31P4yiMRt WkK+HYFK1ZB0pxb8EaQV+SFVjV10vE4/Hxj2t03FlWRVS9pQ2YoE8tRVTv3q6Y8RDH8P TN5VqkfPhrmtIg6/9UbxImZrXncHhmUSsb3GhY1WbyjxgeUsWE2guGnXwgb5RrlwhLIR HFu5hf/tlqfUTlu2xcCFqNQH0/wH1RDohgRcnZdN1aZRrWCb8nkIORdugeuy3Z295agx MCjXCAlCrP63scv/yMYhGjH+f9Vaax9R38EMtNRx4BWo4FJ1LnOQoO1RvU+mPoxrrV0D gW+g== X-Gm-Message-State: ALoCoQkhsPoN3Ex+z7eaZRjVT+yHdQuXzF1IZdpLRQ0jOgZQKbN0fwCtrYD4IVR4j4HvEK3CpwiR X-Received: by 10.236.124.131 with SMTP id x3mr19466202yhh.14.1404977359370; Thu, 10 Jul 2014 00:29:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.89.104 with SMTP id u95ls2710654qgd.5.gmail; Thu, 10 Jul 2014 00:29:19 -0700 (PDT) X-Received: by 10.52.253.140 with SMTP id aa12mr14764926vdd.11.1404977359288; Thu, 10 Jul 2014 00:29:19 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id hk8si22574146vdb.79.2014.07.10.00.29.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Jul 2014 00:29:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id ij19so9645571vcb.23 for ; Thu, 10 Jul 2014 00:29:19 -0700 (PDT) X-Received: by 10.52.189.161 with SMTP id gj1mr36725795vdc.2.1404977359184; Thu, 10 Jul 2014 00:29:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp111306vcb; Thu, 10 Jul 2014 00:29:18 -0700 (PDT) X-Received: by 10.68.68.236 with SMTP id z12mr92121pbt.147.1404977358382; Thu, 10 Jul 2014 00:29:18 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id qf8si47964476pac.12.2014.07.10.00.29.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jul 2014 00:29:18 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X58lj-0007th-Pg; Thu, 10 Jul 2014 07:27:51 +0000 Received: from mail-pd0-f171.google.com ([209.85.192.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X58lh-0007mt-J5 for linux-arm-kernel@lists.infradead.org; Thu, 10 Jul 2014 07:27:50 +0000 Received: by mail-pd0-f171.google.com with SMTP id fp1so10384759pdb.16 for ; Thu, 10 Jul 2014 00:27:28 -0700 (PDT) X-Received: by 10.66.149.102 with SMTP id tz6mr45448239pab.76.1404977248620; Thu, 10 Jul 2014 00:27:28 -0700 (PDT) Received: from localhost ([122.167.123.210]) by mx.google.com with ESMTPSA id b4sm24492290pdk.10.2014.07.10.00.27.24 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 10 Jul 2014 00:27:28 -0700 (PDT) From: Viresh Kumar To: arnd@linaro.org, olof@lixom.net Subject: [PATCH V9 3/7] ARM: SPEAr13xx: Fix pcie clock name Date: Thu, 10 Jul 2014 12:56:34 +0530 Message-Id: <08c2b017de1d545e42d97ce911ed913aeba46ca9.1404976058.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.0.0.rc2 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140710_002749_645787_D6365753 X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.171 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.171 listed in wl.mailspike.net] Cc: Pratyush Anand , Mike Turquette , b.zolnierkie@samsung.com, linux-pci@vger.kernel.org, spear-devel@list.st.com, mark@nicholnet.com, Viresh Kumar , bhelgaas@google.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Pratyush Anand Follow dt clock naming convention for PCIe clocks. Signed-off-by: Pratyush Anand Acked-by: Viresh Kumar Cc: Mike Turquette [viresh: fixed logs/cclist] Signed-off-by: Viresh Kumar --- drivers/clk/spear/spear1310_clock.c | 6 +++--- drivers/clk/spear/spear1340_clock.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/spear/spear1310_clock.c b/drivers/clk/spear/spear1310_clock.c index 65894f7..4daa597 100644 --- a/drivers/clk/spear/spear1310_clock.c +++ b/drivers/clk/spear/spear1310_clock.c @@ -742,19 +742,19 @@ void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) clk = clk_register_gate(NULL, "pcie_sata_0_clk", "ahb_clk", 0, SPEAR1310_PERIP1_CLK_ENB, SPEAR1310_PCIE_SATA_0_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "dw_pcie.0"); + clk_register_clkdev(clk, NULL, "b1000000.pcie"); clk_register_clkdev(clk, NULL, "b1000000.ahci"); clk = clk_register_gate(NULL, "pcie_sata_1_clk", "ahb_clk", 0, SPEAR1310_PERIP1_CLK_ENB, SPEAR1310_PCIE_SATA_1_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "dw_pcie.1"); + clk_register_clkdev(clk, NULL, "b1800000.pcie"); clk_register_clkdev(clk, NULL, "b1800000.ahci"); clk = clk_register_gate(NULL, "pcie_sata_2_clk", "ahb_clk", 0, SPEAR1310_PERIP1_CLK_ENB, SPEAR1310_PCIE_SATA_2_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "dw_pcie.2"); + clk_register_clkdev(clk, NULL, "b4000000.pcie"); clk_register_clkdev(clk, NULL, "b4000000.ahci"); clk = clk_register_gate(NULL, "sysram0_clk", "ahb_clk", 0, diff --git a/drivers/clk/spear/spear1340_clock.c b/drivers/clk/spear/spear1340_clock.c index fe835c1..5a5c664 100644 --- a/drivers/clk/spear/spear1340_clock.c +++ b/drivers/clk/spear/spear1340_clock.c @@ -839,7 +839,7 @@ void __init spear1340_clk_init(void __iomem *misc_base) clk = clk_register_gate(NULL, "pcie_sata_clk", "ahb_clk", 0, SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_PCIE_SATA_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "dw_pcie"); + clk_register_clkdev(clk, NULL, "b1000000.pcie"); clk_register_clkdev(clk, NULL, "b1000000.ahci"); clk = clk_register_gate(NULL, "sysram0_clk", "ahb_clk", 0,