From patchwork Wed Feb 26 16:08:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Edworthy X-Patchwork-Id: 324503 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 9C57A2C0086 for ; Thu, 27 Feb 2014 03:14:19 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752610AbaBZQOS (ORCPT ); Wed, 26 Feb 2014 11:14:18 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:7446 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752746AbaBZQOP (ORCPT ); Wed, 26 Feb 2014 11:14:15 -0500 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 27 Feb 2014 01:09:10 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id ACD7E479E0; Thu, 27 Feb 2014 01:09:10 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id AA011480A6; Thu, 27 Feb 2014 01:09:10 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id A98F0480A5; Thu, 27 Feb 2014 01:09:10 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id BAD13075; Thu, 27 Feb 2014 01:09:10 +0900 X-IronPort-AV: E=Sophos;i="4.97,548,1389711600"; d="scan'208";a="155212538" Received: from unknown (HELO relay51.aps.necel.com) ([10.29.19.60]) by relmlii2.idc.renesas.com with ESMTP; 27 Feb 2014 01:09:10 +0900 Received: from julia (du2com5.eu.necel.com [172.29.24.35] (may be forged)) by relay51.aps.necel.com (8.14.4+Sun/8.14.4) with ESMTP id s1QG97iW011776; Thu, 27 Feb 2014 01:09:07 +0900 (JST) Received: by julia (Postfix, from userid 2) id 890104B242; Wed, 26 Feb 2014 17:09:03 +0100 (CET) Received: from DU0NOTES13.ad.ree.renesas.com (unknown [172.29.24.131]) by julia (Postfix) with ESMTP id 781754B21E; Wed, 26 Feb 2014 17:09:03 +0100 (CET) Received: from duacsls.ad.ree.renesas.com ([172.29.43.47]) by DU0NOTES13.ad.ree.renesas.com (Lotus Domino Release 8.5.3 HF466) with ESMTP id 2014022617081696-235412 ; Wed, 26 Feb 2014 17:08:16 +0100 From: Phil Edworthy To: linux-pci@vger.kernel.org Cc: linux-sh@vger.kernel.org, Bjorn Helgaas , Valentine Barshak , Simon Horman , Magnus Damm , Phil Edworthy X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1393430893-2466-1-git-send-email-phil.edworthy@renesas.com> References: <1393430893-2466-1-git-send-email-phil.edworthy@renesas.com> X-TNEFEvaluated: 1 Message-ID: <1393430893-2466-3-git-send-email-phil.edworthy@renesas.com> Date: Wed, 26 Feb 2014 16:08:10 +0000 Subject: [PATCH 2/5] ARM: shmobile: r8a7791: Add PCIe clock X-MIMETrack: Itemize by SMTP Server on DU0NOTES13/SERVER/REE(Release 8.5.3 HF466|March 09, 2012) at 26.02.2014 17:08:17, Serialize by Router on DU0NOTES13/SERVER/REE(Release 8.5.3 HF466|March 09, 2012) at 26.02.2014 17:08:17, Serialize complete at 26.02.2014 17:08:17 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Signed-off-by: Phil Edworthy --- arch/arm/mach-shmobile/clock-r8a7791.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-shmobile/clock-r8a7791.c b/arch/arm/mach-shmobile/clock-r8a7791.c index c574292..cba9b3c 100644 --- a/arch/arm/mach-shmobile/clock-r8a7791.c +++ b/arch/arm/mach-shmobile/clock-r8a7791.c @@ -123,6 +123,7 @@ enum { MSTP813, MSTP721, MSTP720, MSTP719, MSTP718, MSTP715, MSTP714, + MSTP319, MSTP216, MSTP207, MSTP206, MSTP204, MSTP203, MSTP202, MSTP1105, MSTP1106, MSTP1107, MSTP124, @@ -137,6 +138,7 @@ static struct clk mstp_clks[MSTP_NR] = { [MSTP718] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 18, 0), /* SCIF3 */ [MSTP715] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 15, 0), /* SCIF4 */ [MSTP714] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 14, 0), /* SCIF5 */ + [MSTP319] = SH_CLK_MSTP32(&mp_clk, SMSTPCR3, 19, 0), /* PCIEC */ [MSTP216] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 16, 0), /* SCIFB2 */ [MSTP207] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 7, 0), /* SCIFB1 */ [MSTP206] = SH_CLK_MSTP32(&mp_clk, SMSTPCR2, 6, 0), /* SCIFB0 */ @@ -166,6 +168,7 @@ static struct clk_lookup lookups[] = { CLKDEV_CON_ID("peripheral_clk", &hp_clk), /* MSTP */ + CLKDEV_DEV_ID("r8a7791-pcie", &mstp_clks[MSTP319]), CLKDEV_DEV_ID("sh-sci.0", &mstp_clks[MSTP204]), /* SCIFA0 */ CLKDEV_DEV_ID("sh-sci.1", &mstp_clks[MSTP203]), /* SCIFA1 */ CLKDEV_DEV_ID("sh-sci.2", &mstp_clks[MSTP206]), /* SCIFB0 */