From patchwork Wed Jul 29 02:42:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 6889001 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 03D9FC05AC for ; Wed, 29 Jul 2015 03:54:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2F93F207B0 for ; Wed, 29 Jul 2015 03:54:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4DCE1207AF for ; Wed, 29 Jul 2015 03:54:47 +0000 (UTC) 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 1ZKIQL-0006Gk-Rg; Wed, 29 Jul 2015 03:52:57 +0000 Received: from mail-bn1bon0147.outbound.protection.outlook.com ([157.56.111.147] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZKIQ1-00069s-3m for linux-arm-kernel@lists.infradead.org; Wed, 29 Jul 2015 03:52:38 +0000 Received: from BY2PR03CA002.namprd03.prod.outlook.com (10.255.93.19) by DM2PR0301MB0864.namprd03.prod.outlook.com (10.160.215.15) with Microsoft SMTP Server (TLS) id 15.1.219.17; Wed, 29 Jul 2015 03:52:25 +0000 Received: from BY2FFO11FD001.protection.gbl (10.255.93.4) by BY2PR03CA002.outlook.office365.com (10.255.93.19) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Wed, 29 Jul 2015 03:52:24 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD001.mail.protection.outlook.com (10.1.14.123) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Wed, 29 Jul 2015 03:52:24 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t6T3q5pR011896; Tue, 28 Jul 2015 20:52:21 -0700 From: Peter Chen To: , Subject: [PATCH 05/10] ARM: imx6: set ahb-burst-config as 0 for USB Date: Wed, 29 Jul 2015 10:42:09 +0800 Message-ID: <1438137734-27311-6-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438137734-27311-1-git-send-email-peter.chen@freescale.com> References: <1438137734-27311-1-git-send-email-peter.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD001; 1:+fPNjIYFxCGRkqPt1/X4WKGYq3PQbFiLbjG8GvVcPEC26yfeQh8VeI5dPPqYUNNpR3QX4hf/WgUlNUPYXnVgksWNOzQbe2O4L0Npkdhz+ZULuwLAKzxiAuKvq2YyzDXs/j5L85HKCnleNM2egfhzdsusFGOlGjSqICcOKZXPnxgND/YRQ4w8EDN12cihYF2T4A+gQRqvw/pB/u7mm7XSzYSP/WwlxbVOofrzWC9eyuZ9/nDJjAO5ZBm2Br4KnXMUcM00g0SCwTBPzNReN+lnqtevyZOvgeSiwcPFS7yPKYF23I8IZBnmKnFffED4ERSD0uEKIcX136xh2K7R/nwj6g== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(87936001)(50466002)(107886002)(105606002)(48376002)(92566002)(46102003)(86362001)(50986999)(106466001)(76176999)(189998001)(50226001)(104016003)(5001960100002)(229853001)(33646002)(77096005)(47776003)(62966003)(6806004)(19580405001)(77156002)(36756003)(85426001)(2950100001)(230783001)(19580395003)(5001920100001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0864; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0864; 2:ffSJcbTX2NBq+3xx11edGA7sR+Q6oeqlsEc/R3QNy5d4HC++ZCZZyuPi0n/ry25z; 3:OfobNqMJblqQ9eUtcT9y4kM4pntRE77KFMk1iD2E+J2kCOuxbPSyTZKuoQ8i4NG6BI7bY4hZyPNWx3dY1OYT6MZok+GjQIsaA9KRUQMOP2PK7Nmx51fpRPZ3fC1fHRhxyO/URQwZSPek6TeL0OVVvMHr2w68H6ckrI1f8MJAneZUOuoGRgq2wFWzUmbQD5X+zlX5VY8IR2u3kwWbnh0DPWjAyWvrt7Vaqjg2FNd7/Mk=; 25:qSc5cfyW9tNqG1w3X1Ww4iPQ69022lvWTm05eCXConO/tD36I9+qsUtM/Z8L1bRBn1PHnkVYsEcVekz1r0//uTS1xvyLn0gMZkEYMLZs8xs71r1MqZhOpjoyznwyZxSsUPgg8XZb+G1WMTiRLdW/LP2qFdY2R8TorGqvpnNlYIh5LKlWhM/RGn8QYjYzftYIFzV0MIgGkEI7cOhZtuQrnYrbPNneRr5+baFZZ7LFQBKjS8DabbyjUdbF4t+Inxx04OIfYaiarQCResImoj/Rhw==; 20:8dAfoMCHBO9Y8YbBEsGnuommUGRqFs6JEcypvOKRGj4s+ZDaBTX9cmIDDMS7Kw0f1VAa67dHxDl6r0SDk8JHp7UIg1sAmMinE50axXYBkG6PBlSMIYYL3/Nt6HK2t069+WdVCEg2qdiY9UXxlMNIm28unO0fjlVaXgUrZyWLl4bppK8zv0U7Pp1FDAziXWvn87X5dET3erZh4SzJTIBibaS+eX/v16ZEOqflYWPCahlGvnlorZUFfAERw7EkMbo62G+lVlQN64UZhnYVmd0ruB7Q9x2QkE4YBhTeyxUXH2alEMpE88SL2FF/zST1NGtjIG8zPjexJU5/WzKru9L22m5NKE3xTzFMODxrMweCYrY= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0864; DM2PR0301MB0864: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DM2PR0301MB0864; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0864; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0864; 4:GKTDkip/jPCb6hKJNKIH5UPztXAjrp1BPZGAPu37zMtsEJ4MdX/S0mHAKCxcBZplgSuXJyLfjjU4Br+uTSGJJ+MmvDzHJ7KKVopMzuVsJ62kick92DomvhvHIPBGY3vSZuipfxwC87Ngu33QVbmG8j82Pj3ypUYkuppNkOQ61xMnyBZBcfUME42n+A7UGTdH5QOkJStfbi5/96OINiVdtBN9nYCqEEin3dQS2qbhYf6lrO3mGxUP/ajdML6xI0gqqtUBuCetG73sZvZS+0jXgzGoUg5+QVYhk0Gw0HZU8i0= X-Forefront-PRVS: 0652EA5565 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0864; 23:yvQO6vVPfjvxjgtOkUxIXIlTjYNwtsuidD3XKu8pSSiApcm4TH0d3wW3wt1iEvILeNAyDE7siFEEfqex84RmoEG9zi3wyiDd1xMssEVGGGXrQNikwDWehF70H5KPbVru3kUucK0pEI0qzDBVBrh03NJ8Pnt6IrCnhz1pLFsqL2eyI8uSCPrDDiGj7YYZbxrlFusRa93D3cz4q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i8KLAoM/N4RZD3+obk61BUIsGC/AR4yL4sZPhpmzlzTYHpiAYKasWzNdiyve8bTyKdPTbMg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2015 03:52:24.5474 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0864 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150728_205237_406993_5AEC69EF X-CRM114-Status: GOOD ( 11.64 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, pawel.moll@arm.com, robh+dt@kernel.org, Peter Chen , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 After setting ahb burst configuration as 0, we can increase tx/rx burst size, it will improve the USB performance Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx6qdl.dtsi | 4 ++++ arch/arm/boot/dts/imx6sl.dtsi | 3 +++ arch/arm/boot/dts/imx6sx.dtsi | 3 +++ 3 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e6d1359..42d62b0 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -853,6 +853,7 @@ clocks = <&clks IMX6QDL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -864,6 +865,7 @@ fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; dr_mode = "host"; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -874,6 +876,7 @@ clocks = <&clks IMX6QDL_CLK_USBOH3>; fsl,usbmisc = <&usbmisc 2>; dr_mode = "host"; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -884,6 +887,7 @@ clocks = <&clks IMX6QDL_CLK_USBOH3>; fsl,usbmisc = <&usbmisc 3>; dr_mode = "host"; + ahb-burst-config = <0x0>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index a78e715..066fac9 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -688,6 +688,7 @@ clocks = <&clks IMX6SL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -698,6 +699,7 @@ clocks = <&clks IMX6SL_CLK_USBOH3>; fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -708,6 +710,7 @@ clocks = <&clks IMX6SL_CLK_USBOH3>; fsl,usbmisc = <&usbmisc 2>; dr_mode = "host"; + ahb-burst-config = <0x0>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 708175d..3656a1d 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -746,6 +746,7 @@ fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; fsl,anatop = <&anatop>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -756,6 +757,7 @@ clocks = <&clks IMX6SX_CLK_USBOH3>; fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -768,6 +770,7 @@ phy_type = "hsic"; fsl,anatop = <&anatop>; dr_mode = "host"; + ahb-burst-config = <0x0>; status = "disabled"; };