From patchwork Mon Aug 3 04:47:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 6927321 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 E2F75C05AC for ; Mon, 3 Aug 2015 06:01:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 423BD20523 for ; Mon, 3 Aug 2015 06:01:31 +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 8911420522 for ; Mon, 3 Aug 2015 06:01:24 +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 1ZM8lx-0000Up-F7; Mon, 03 Aug 2015 05:58:53 +0000 Received: from mail-bl2on0106.outbound.protection.outlook.com ([65.55.169.106] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZM8lG-0008Pf-PD for linux-arm-kernel@lists.infradead.org; Mon, 03 Aug 2015 05:58:12 +0000 Received: from BY2PR03CA004.namprd03.prod.outlook.com (10.255.93.21) by DM2PR0301MB1232.namprd03.prod.outlook.com (10.160.219.21) with Microsoft SMTP Server (TLS) id 15.1.225.19; Mon, 3 Aug 2015 05:57:48 +0000 Received: from BY2FFO11FD014.protection.gbl (10.255.93.4) by BY2PR03CA004.outlook.office365.com (10.255.93.21) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Mon, 3 Aug 2015 05:57:48 +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 BY2FFO11FD014.mail.protection.outlook.com (10.1.14.76) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Mon, 3 Aug 2015 05:57:48 +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 t735vQhd030467; Sun, 2 Aug 2015 22:57:44 -0700 From: Peter Chen To: Subject: [PATCH v2 05/10] ARM: imx6: set ahb-burst-config as 0 for USB Date: Mon, 3 Aug 2015 12:47:13 +0800 Message-ID: <1438577238-10153-6-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438577238-10153-1-git-send-email-peter.chen@freescale.com> References: <1438577238-10153-1-git-send-email-peter.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD014; 1:jCh4iy576duS84WR5eSjSu4mSv3Y5rx7NAWpY8SxVdrUHhf6uD0YRy137u+8Hpox2S+MW920W+w6HMCBC+Oj4KDbZikN5rUhlBlMHR7ql+5GfUKbrzOvSSts7BSEqvQBKDkysdSgZA9KzdsBjCyOO95PCO+aNxw/OmZ83bFTbFgtOkjdG2t/AGf2puhCdv3gVDwGPmXngspIvV2Y4lDx8LKqNfnXoxpbirR9J+veuAB5PZwlJ7AjTpwWDtpxPdApQA1tIDoY3WXsIjUsB5H0XvtcMz9F3uImWPP7Mr4/KaxHHp1fncTPsWlQplXrioVEyzOWJSZwubSVAdWZGyUU9g== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(92566002)(110136002)(85426001)(107886002)(5001960100002)(76176999)(19580405001)(47776003)(229853001)(106466001)(2351001)(19580395003)(87936001)(50226001)(50986999)(6806004)(33646002)(104016003)(105606002)(77156002)(62966003)(86362001)(46102003)(36756003)(48376002)(2950100001)(189998001)(230783001)(77096005)(50466002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB1232; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1232; 2:2UFlFCoo1fM6su3IGyKmBknZ7SsU/Ywp6VIDzyouJPtag/3U+LmVvRTqemgS27W7lXjP+hG1ntBTuophwoJdN6TdoC8x80ED7SD8X++Xhasr7G6MX7pYU07DCp3iDG/HE6MESq+QRU3Z/Ms+IrWF0Mh10Ryo40LUgYNr7kIEY1c=; 3:Gqbu8UcDQYw5+vYE9cb44eOU1VRVNJvozTd02KKArlQ78648+m3mTUX9VnHOp/E7m++/F0m4cvaIhGjRSxSGfR7/Ce707Wk3hCiVpNUvfQo/+PGuce8vZe6tUWl0PHqO4qXoS3AJ7x6HLLVwaFJiStycurRnVrfSWR31k4BmDf03UzsZY6O5qZuMD352oL31A2gNmY6jd9n2QXMvudXugO0oLeYviAjbgP8vsJepEfo=; 25:YpGmXtIgdrYoT+W+UeUHbthUuyg/0KXJtnxcbSVcXtCIoEqeA2YBAXsFqwtt8k8dSqgy4wUPVXWFxoZUXKmLqxLKcfkAFRMx3pNCBOjkMtMvxP9gxO2ea0YH/IYmNrI+pzNPxnE8wPRyqrWf6Y2ifMKFil7N6wvobNGgdRAEbWfN5TL4I0zY5vxe0XWu+Uew/mFBRBMDII3oAkMjEptha2qIG27+QjyuXJ1Ad/gICcJ7OlAczfUjn5SybecmoeFIR6xbVXwxIgz9q0pAStKygQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB1232; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1232; 20:Sj4SK9WHzFlEK3xLHqRfVun5bQ364y033/lO1olKanOFiWBulolXi0dXa1KtS3JYGdg9RbZ2urhLxt7RJV94f6Tb4nHT0yp+5KYSMCbu+PEz6UISAlkCf928NX++KXj9wNg/5uOUR5VisbERaqacHLAZyrj3mlEXByVHDYRfotaP3oBn4Qs48gEVG4ivY2Br5TQOVyHcKDzV973dvM3zeSPrVfQmYG+++t93OsqNsssgJdEi6sYz8E8lemigAEOpPznYbGyJeRTIwWXuudXguAcf9SRn+SS4dTnNRMgU6dr9kMc1dpqXF0mhy8tIuu6ytYWkD6i1pccx2ia9WFz/tB7QTHEqFpGEVYITZjNi32A=; 4:k6d7l7FmU7pVBb1b+2LFK3gTeKxE3rzqwGL1NIqfZffV/HTVFj4qeHsuLMKKv+DAagcfD3ufp9sscGXfN5V5XZzx6jcof9FVaU1bAypi9FeessWBY+u6JQtkRq7n0lCIL9KKLtvgvN3nhXV1BQG2beMML+PHZpUgL/hH9cXaS90OGUZIz5TQ7A4Avh8d+jZlvDO21eNShLqwOo4ak5J4+2y5BW1T+4+BN7Opo+7bq88FI4phOj61KTEJhOrW4UK/4JPh2TZ8R5HuZIz5wAROkfK0ekt8OtdurC/xbimLvEc= 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:DM2PR0301MB1232; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB1232; X-Forefront-PRVS: 0657D528EC X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1232; 23:MTEmFghs4XXtHiP1+lRbAbvaD1o/ehpJohHCwB7Ps2qMGK26ZwJyK2Bf8CJ2CfupOIkNO44+dVjO8SJexRZM97SF2xzldkqQ6HaI5ni0cOxY5QcXX3FWksreHnZ1bym2qPI3BxV0K7rDr+6nw4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aTm0nxCl+AU5/bvgq4xjBw8rWmgr4=; 20:2qSook6kjmhobbbHnFBjvF3SUQV7Zc6Pld1KHWDe7Zh3Ivg9R97wEwpLpd/uFvbvq3p1DDa9G2r7VMUgwE8aug== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2015 05:57:48.0961 (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: DM2PR0301MB1232 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150802_225811_204359_2C7968F0 X-CRM114-Status: GOOD ( 12.94 ) 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, linux-usb@vger.kernel.org, pawel.moll@arm.com, gregkh@linuxfoundation.org, s.hauer@pengutronix.de, jun.li@freescale.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=-4.4 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"; };