From patchwork Tue Sep 22 06:00:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 7235301 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3888B9FBFA for ; Tue, 22 Sep 2015 07:15:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5CC24207C1 for ; Tue, 22 Sep 2015 07:15:15 +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 EBD952081B for ; Tue, 22 Sep 2015 07:15:13 +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 1ZeHlc-00081e-IE; Tue, 22 Sep 2015 07:13:32 +0000 Received: from mail-bn1bon0130.outbound.protection.outlook.com ([157.56.111.130] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZeHlR-0007ru-4P for linux-arm-kernel@lists.infradead.org; Tue, 22 Sep 2015 07:13:22 +0000 Received: from BY1PR0301MB0853.namprd03.prod.outlook.com (10.160.193.147) by BY1PR0301MB1208.namprd03.prod.outlook.com (10.161.203.16) with Microsoft SMTP Server (TLS) id 15.1.274.16; Tue, 22 Sep 2015 07:12:58 +0000 Received: from CH1PR03CA003.namprd03.prod.outlook.com (10.255.156.148) by BY1PR0301MB0853.namprd03.prod.outlook.com (10.160.193.147) with Microsoft SMTP Server (TLS) id 15.1.274.16; Tue, 22 Sep 2015 07:12:55 +0000 Received: from BL2FFO11FD034.protection.gbl (10.255.156.132) by CH1PR03CA003.outlook.office365.com (10.255.156.148) with Microsoft SMTP Server (TLS) id 15.1.274.16 via Frontend Transport; Tue, 22 Sep 2015 07:12:54 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD034.mail.protection.outlook.com (10.173.161.130) with Microsoft SMTP Server (TLS) id 15.1.274.4 via Frontend Transport; Tue, 22 Sep 2015 07:12:54 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t8M7CpUU007735; Tue, 22 Sep 2015 00:12:52 -0700 From: Peter Chen To: Subject: [PATCH v2 1/2] ARM: imx6: set ahb-burst-config as 0 for USB Date: Tue, 22 Sep 2015 14:00:00 +0800 Message-ID: <1442901601-13738-1-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD034; 1:R7m+qgPtj5/uFL11Bbc/LiN/hhM6Z2sfZ2pqO8sUw1TOPOXTydk+UBfOhmJIrt4sDHLGtd5YJg0o2lMoi4BvcVHoCPJ/XH7BQHW7FVeCNxYGYvSz8v/OGk9n+byvIJA7adYBnNU84okAfw6/PospK1J/NrtO4HhrGIQa9GErM3XWqr1QNid/iBpiKnyC0EEi/deXUM6T6RfC/NnAhFUL+gP/4jYINVU8333MjbdvOQkYb1ZkhmlO4sot910Y0X2pn21WhtjgFshfYvgriFETb99p0UmsH3lTEq0Ti1PvjUAwaFkwbLTDj9gFTS4v8G1y42atho+dT3ApGbaVtZWzI+c3uqJkZa52xsHzMCSHE3kkxiqn5jxkoHVY+E0dqiGP0CCtWNBz89J7Gp2KGat8MA== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(77156002)(64706001)(62966003)(110136002)(48376002)(68736005)(85426001)(5003940100001)(47776003)(5001860100001)(87936001)(107886002)(189998001)(5001960100002)(50466002)(97736004)(81156007)(5001830100001)(105606002)(86362001)(230783001)(77096005)(33646002)(50226001)(19580395003)(6806004)(4001540100001)(50986999)(2351001)(229853001)(106466001)(92566002)(19580405001)(36756003)(5007970100001)(104016003)(11100500001)(46102003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0853; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0853; 2:3A8fubg5PieQAU75l1Q7t29PZYFBdWPNwwSyGwaGZAZBBogMfeNtOljNoLxIqx16SdQtxqKMcvRz3dqPfrmI4rbuZnD7urcM1syqVrWXSMK46jJTN36Zrz8vcNMCH8ng0UKGQGoNSrGvnK6tkmfuGhRcpJExAf1nPn51jlNqg/4=; 3:Zbn2uBdzW9IOBGMu1dgAC5bNljgBmQ4rCsIaCZzBZWDTJmRiRJU/mbuK6CNmGjI8etreTNzy4RblJ9fFnUKlClUoICI3bhMAdZKgxeKQWegjJJkaLjITJF94Y9x7efVXz4uL3CnXTD2opG8u/jxFI5xeRat5UaZ6M18/4+8LvXC24QPPWsmopEjRJxW3YxM8GwMVG2pPEHw2Y35OMDYCO0iBzqIz0iyLXFt+DsCU0Cg=; 25:p9uSdVI9IxRDDstRgEMUPro/xoc26axxKrRwjZbUvKFzdxis6QXdCCAMRHO5JPyhJvD8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Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401041)(8121501046)(5005006)(520078)(3002001); SRVR:BY1PR0301MB0853; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0853; X-Forefront-PRVS: 0707248B64 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB0853; 23:MkjedmX3T01Qq35loDKPireSdF1/Q55zgUuPNP1?= =?us-ascii?Q?wdKjys+K5DUibGq5WYHDFZikSE+S+BHZJtYBDKWmD2DRXHemccnhRwLyLMOz?= =?us-ascii?Q?e35r3PxvycCDecgwq8wPeaVktd0mk98Xu6nloFkKWiJUukn+QHSGujM/vqpt?= =?us-ascii?Q?Q2sFjBfCeOIQpVi1oU0jJM16IFTthyclxXBcOeKEeQjj+Sp6QBP1UDUeDlZ3?= =?us-ascii?Q?MM8vRW6zniFvllf3RbKurxIjJqdGFwv4ODzNe1ofWiTtsuxXZ17kP+mg5vI9?= =?us-ascii?Q?cu5Z7KPHTLSGZIfrMS2l88N/Jz8rQbXJK9s59yE6QaK9dV/ETYBPrMgPhTjv?= =?us-ascii?Q?TU/GV3JFTnvIExyCxtfh8f47UZDR7YUURviFuV0cfPy0iMjFEJ2O147laA00?= =?us-ascii?Q?JARZihYsJaUtqfl9mEso/i0quvNj4gnWJ0iRIq1BLE0tfPqo/2YMqUaRQlBV?= =?us-ascii?Q?4DUKhjuP63yPaFxbMcRKqORlSSRP3THPX/dVZKjPUfM8TgwNfQFcocNm4Q3v?= =?us-ascii?Q?CXf0IR6k51DyoDcQek7QppggpoqVev+z8UMzHgxwy82ZmViB+0lEBrAUann7?= =?us-ascii?Q?+T6DwpePGcMCKl0FODFwVLE0YxVB+mkOSdjbk1tEGm9BY2+zdtlvaiC7WPv7?= =?us-ascii?Q?4B1XUHFbkjiKzO1c62JD5OgJrVrU4p3vdkVFErG7mHcWgU4tfHDUI1abb6XH?= =?us-ascii?Q?EHthxZXhq7D8851URpMICegweFE7ONSDcyPOOdPjRASJdk2MXJoHcn5MPrrq?= =?us-ascii?Q?AHnmz66IO1Se/AMVilAiUwkKBi3W55OUmxuR9px1RxwDc7BCXq9azC5PIJ/J?= =?us-ascii?Q?akVCtSFckwZLS4Rp6tOabAalN2IHn+EmsnkSHDFTn7hU+ERSTATkbwLE5Kfb?= =?us-ascii?Q?h4p38ekbEFH2POVUhrERUQv66u0N4Ua/FM4pI+8w2YeOE1PlCUSWndyrdz4/?= =?us-ascii?Q?Ay7ImY881BPwhTQGhFA4z6VZwOrLVOrtYMlWGEBBE4cbT1SnAcbqAwAuB070?= =?us-ascii?Q?VfYh3/WDwjLz2HY45VC6TIgpLSSXe7tEZn1hG2B72MYAGiTHXa9r4jlO9zCF?= =?us-ascii?Q?AajWNqDPpJSf0EtEbyM1yrESNha2rasoPMSXpNEWNhqwCCuZzY5NFx3JmqzB?= =?us-ascii?Q?VAtyksm76JtW1RQYHsRUWVxgWFsv8hlHIgVrlSqMuL9IsRghr+0iXbCmTkLy?= =?us-ascii?Q?neCzxUDmlEhOEyUU6nTFVDKXtsWNpO2k/7sz9MvZ/xcZWcYKxAC9U170/7A?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0853; 5:DnjNmshKJWEIDaATqBzhN7gx0N8i0c2xPKW/Gk9CZaXrS+BMuLUrjPi5DdA6VlspNcnNShPyfFxnUtCq5Zl8HCCJkTg0VyDqBMa4IzoJZuC7p88BmzKjMiQMQbVS6gBdUOhyZlEgaj0uTr6fKWvOLg==; 24:BlpFNDrxugCIA1BpatgWjwsH/hFWnfcPyj7yxh505qOgiJvZ1aoDvm1K023ejLHm2XCRF5ytJF4py0/1EsOEIeyIoE2CTWEGoLi30Rkv14g=; 20:AJlo2A4AIYwt9kOyMrzYTjtrueB8swBKWhGYMAQC4SXwi+4Bjv0/y6QGZHBa9tCO6+hYVRAswNNWc8U1qzq25w== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2015 07:12:54.5377 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0853 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1208; 2:ep5Q+bcbI0iEv9OypGOi/vWmHkLvXM+TyJUpQ7daF8zeadSNc93ToDme1A9te2im7Wx8ATeTPVgMbmwznOrTZh0k74VsVL1FsorgDQ2uCom3c09GiZzghnV41LMIc8SppvHl1BA2X7E5kqfjX8AJlOjETE78cP+qAJLJn0NQkko=; 23:B3WWCiSlNUA5eh1eLl4STxsjiif/wiwaLAPEA20KRPBtNJHzBduW2c5Zl4YBuXRFJ67O1DzNnwXQCZ4OJA14PBv8n6IFa6SdlDGW2FOuxEZiG1epl7CFqQWhZtUhXcESAD0U5QVs4J2Q1/yxkH0htS5Sh7KLBLXzuJYncEUbEDrAblYA45gHx3/qEQyqcGLK X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150922_001321_465547_B4EC2B4B X-CRM114-Status: GOOD ( 16.15 ) 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: kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, Peter Chen 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.2 required=5.0 tests=BAD_ENC_HEADER,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 --- Changes for v2: - Applies changes for imx6ul arch/arm/boot/dts/imx6qdl.dtsi | 4 ++++ arch/arm/boot/dts/imx6sl.dtsi | 3 +++ arch/arm/boot/dts/imx6sx.dtsi | 3 +++ arch/arm/boot/dts/imx6ul.dtsi | 2 ++ 4 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e716e6f..3d04a17 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -906,6 +906,7 @@ clocks = <&clks IMX6QDL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -917,6 +918,7 @@ fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; dr_mode = "host"; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -927,6 +929,7 @@ clocks = <&clks IMX6QDL_CLK_USBOH3>; fsl,usbmisc = <&usbmisc 2>; dr_mode = "host"; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -937,6 +940,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 320a27f..057b1d4 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -689,6 +689,7 @@ clocks = <&clks IMX6SL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -699,6 +700,7 @@ clocks = <&clks IMX6SL_CLK_USBOH3>; fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -709,6 +711,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 c94f2ea..70a7c4f 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -783,6 +783,7 @@ fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; fsl,anatop = <&anatop>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -793,6 +794,7 @@ clocks = <&clks IMX6SX_CLK_USBOH3>; fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -805,6 +807,7 @@ phy_type = "hsic"; fsl,anatop = <&anatop>; dr_mode = "host"; + ahb-burst-config = <0x0>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 09edbed..654009f 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -535,6 +535,7 @@ fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; fsl,anatop = <&anatop>; + ahb-burst-config = <0x0>; status = "disabled"; }; @@ -545,6 +546,7 @@ clocks = <&clks IMX6UL_CLK_USBOH3>; fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; + ahb-burst-config = <0x0>; status = "disabled"; };