Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946103AbbEVJLJ (ORCPT ); Fri, 22 May 2015 05:11:09 -0400 Received: from mail-bl2on0123.outbound.protection.outlook.com ([65.55.169.123]:64224 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932190AbbEVJIH convert rfc822-to-8bit (ORCPT ); Fri, 22 May 2015 05:08:07 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; rowland.harvard.edu; dkim=none (message not signed) header.d=none; Date: Fri, 22 May 2015 17:07:18 +0800 From: Peter Chen To: Rob Herring CC: Greg Kroah-Hartman , Kishon Vijay Abraham I , Linux USB List , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Arnd Bergmann , Alan Stern Subject: Re: [PATCH v2 6/6] usb: chipidea: add work-around for Marvell HSIC PHY startup Message-ID: <20150522090717.GA12734@shlinux2> References: <1432087805-16671-1-git-send-email-robh@kernel.org> <1432087805-16671-7-git-send-email-robh@kernel.org> <20150521031334.GA2897@shlinux2> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC014;1:UfdNJxivnGfKOVdY8TyeN/uvHEfHjF4vJIpY30JtzMIJzYpKk2LWqvF46UNwv6D1i102291SBD58uofd3gg5UifSP4nAJQAd40uX4T6gmYnOEzMS9tztSBzuvaIFVvG+hoY1EvEDNACFJO8aDqCJPiJItbEBhl8BvegzKega0ogZIaEqVz/e78xq23WAetxozEuI6tRkDds6H339ClXtORgDW5dc8vFAlwN5oitmYoCD8UjBZArZPyE8SMlCkZQEKGpbJhcb7FenwL3mNO1kCZtYZP2jE8OIzLjpplWMWOJTNUX2xpBQgULR0nDZxQQD X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(377454003)(189002)(24454002)(199003)(51704005)(92566002)(50466002)(76176999)(54356999)(81156007)(4001540100001)(4001350100001)(97736004)(68736005)(189998001)(77096005)(2950100001)(106466001)(104016003)(62966003)(77156002)(23676002)(47776003)(86362001)(83506001)(50986999)(19580395003)(87936001)(33716001)(19580405001)(6806004)(33656002)(69596002)(46102003)(93886004)(105606002)(85426001)(5001860100001)(110136002)(5001920100001)(5001830100001)(5001960100002)(64706001)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR03MB425;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2PR03MB425;2:z6aQP+bfi+gy15v8QZNw14ztas4EfsPux49FKwY1TNpCuT/22t7/9xSQQoAW5JT9;2:TXSJ8v6QlSrBn5TJfGW9A0kAdAaCNoTfx5LvyFM1b/FjzIMrIWM7CFUfFqceCSKD4jlyr30Eu3f6WlVnkZ9PeVvZKWTg6hRdnBXBxiHmK+odb9lgE6Basf7ZfRXUg1Q/aabZgM5eGKO8WIFkdO6WQjA50uE7zi8KY0XQAWJhtcgMoJosFThWrzIRE28HGcEWkM2Wdf8pLE53ay4izuxlwTRpivDhttILwvru9UmCnJE=;6:Q/1z1d4vF7RJpOZiKjSEcqR9XXR7rYP2H1/w/cnws0A9QOMaT4jXcIc9eF6kzk1WldgJHMRm2jxTWkEIZQF+Lsnxn7rbWAyZlrWQIq0YLPRfOete1Wv40VOcQR6nfBtZ+ILGX4iREpZXFEyZP5qq8Nn0+9EzmLq7uFwZwuWtzgbMDnvt4MoIaZYjgMluONgHUR0zIsuBNuW85v4UDMZ4uMtTarBA7/BI1QZjusjzChZeWv3+hELVTawEMuN+yrie2iPsYaeId8Jf3zMG5s52k5r5VLgv00/ukB6QvkWLQGERX3gXXnfeDmf6fkct/Jaw5MWBdLbRPAqMPf69fNtNAw==;3:9yhskjcipYIVAdTLkzPqH1Zw7krnKYp6AFpvreR2jIJN1ZoiezbnMXmeYPr40BFcg7RRnpSf3NHHTVgk6q4t0nmanDsBBfx/lSX+PDYvOFbILa0xktKkMUZ2Q8x0IURoqebwXWtUzNfbBkBPT0dz+W+yUcjJDEKYv+Jv6o17PEYd5HMFsb7gaL9VLSIpiGHdOAysqbsBmXaNryDbC+7g1bT47TN/8W/VxJ2rTksoMVfZWLPsWpkUz4pM7nFkECKCylICyU6KlSC3ul4ky/UShsFOJ31ozOVg6qwBTZqy7sh1fGpyAFrCdl9l5FDJaQTe X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB425; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520002)(5005006)(3002001);SRVR:BY2PR03MB425;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB425; X-Forefront-PRVS: 058441C12A X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjAzTUI0MjU7OTpKeVo5cjd6NER2dDZ5ODBJWVovaUJhd3Z3SjFL?= =?utf-8?B?SlJza1lXVXBoMDB2Y1JTVDBGWURKd2w2U0d3WjZUa3hyL1ZONUMwckNFWC9W?= =?utf-8?B?MmdRdCtIelRjMWtTNytKM0xzdUY2aGJiRTRDQ1dHMm9OZWV6a3pqK0VPNWNm?= =?utf-8?B?aUt0Y094MittczJEQnN5ejFVbjdtZzlhbTZjeHFENzRQRnRBQm1Da0dwamRP?= =?utf-8?B?WkdtMnpDd3NPUGZYYWZTQzdFV3ZkWVJjdElwU251R1cvMGpBWnYxNGV2Q3J0?= =?utf-8?B?VDRwbmJPcGZkUDJRRG9odU15YmY1UzJYTFpxK1Y4cUNNNkJ3ZWFsNGlUVVNL?= =?utf-8?B?UGdGTExtQ1FzbEZ0YTNzVH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RZaFFRYUJieS84bnhsYzRQR1lhTzJPTkF5ZUt5alRC?= =?utf-8?B?WHQ0T0J0aktxbE1ubit4Q215bExDbURJeU1YRFV1bFEvMVVxUFBOajk0N0Zo?= =?utf-8?B?MzBvZklUWmprNzQrSmhyRXVPTWU4U1V0RmdLZXRVcEhQdGdwU24vVlV4UHZL?= =?utf-8?B?OHgrSzZDSmRsVW1QZGFFaFFnZXdnQUEvV2Vqazg0RXoxYzg1dndVYnNkQWlH?= =?utf-8?B?amRzYzBLbHB2TUpPbE5rNWJHeE5YRmhKWXFDTWFkTnZqd3poTjlRUUIvSjJU?= =?utf-8?B?RjZHbmM0YkdhVWpwV2ZHbjhneWdsa3ZVNFVTU0FxNDlRSVVHcEdTYnpXZEY0?= =?utf-8?Q?SsZYbanMSCfQRhgdGp?= X-Microsoft-Exchange-Diagnostics: 1;BY2PR03MB425;3:7sbdb1WBIVgxymtfy0UXMWqJvNrfqLA3uAHbtJi3bOhtrqBz/rikAkwFyO1PmmBCHJDhDuDyEGwnwecHhIMvWdSTkT+nzJhsC/bl2YW9PZSczUgNk2CUjd96afq6k4V6qu0hsxSlX0Jelw+1Xndecg==;10:u7NY2T4ODlY420cVRh7/XoUUCRL8ZxMx4IoovQ9845pHzG0bCjrbgMAH45T9o399iiHUX1LM2aQ6zKlHfE2ieGhyfEn8mBZtfHKvfd35eXI=;6:JLeI2w4LZehkcaWlpcwEPyllnRJPxI41LIWu8BlpvA9RS7CdczT27dQ1W9wc9kWt X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2015 09:08:02.0391 (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: BY2PR03MB425 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1655 Lines: 41 On Thu, May 21, 2015 at 09:54:20AM +0000, Peter Chen wrote: > > > > > On Wed, May 20, 2015 at 10:13 PM, Peter Chen > > wrote: > > > On Tue, May 19, 2015 at 09:10:05PM -0500, Rob Herring wrote: > > >> The Marvell 28nm HSIC PHY requires the port to be forced to HS mode > > >> after the port power is applied. This is done using the test mode in > > >> the PORTSC register. > > >> > > >> As HSIC is always HS, this work-around should be safe to do with all > > >> HSIC PHYs. If not, a flag can also be added. > > > > > > I think a flag is needed, not sure all vendors can work well with that. > > > > Only i.MX6Sx uses HSIC in mainline. Is that something you can test? It would be > > better to not add flags unless they are really needed. > > Otherwise you end up with dozens of flags like SDHCI drivers have. > > > > I will have a test for this, and show you the result later. > Since imx6sx HSIC support is not supported at mainline, I tested this sequence at internal branch, it does not affect imx6's hsic function, I am ok with this patch. Tested-by: Peter Chen > Peter > ��칻�&�~�&���+-��ݶ��w��˛���m�b��n������ܨ}���Ơz�&j:+v�������zZ+��+zf���h���~����i���z��w���?����&�)ߢf -- Best Regards, Peter Chen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/