Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753891AbbEUJy0 (ORCPT ); Thu, 21 May 2015 05:54:26 -0400 Received: from mail-bn1bn0108.outbound.protection.outlook.com ([157.56.110.108]:12096 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751928AbbEUJyX (ORCPT ); Thu, 21 May 2015 05:54:23 -0400 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 Thread-Topic: [PATCH v2 6/6] usb: chipidea: add work-around for Marvell HSIC PHY startup Thread-Index: AQHQkqIjirPikk73K06USWoeb1nR752GSRYA//+DbQCAAGPLQA== Date: Thu, 21 May 2015 09:54:20 +0000 Message-ID: References: <1432087805-16671-1-git-send-email-robh@kernel.org> <1432087805-16671-7-git-send-email-robh@kernel.org> <20150521031334.GA2897@shlinux2> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Peter.Chen@freescale.com; x-originating-ip: [192.88.170.35] x-microsoft-exchange-diagnostics: 1;BN3PR0301MB0850;3:SsQMkvT2qFrDKvTIkeXKBCnA33fQuRvzZ0JLm9I+UKjdaB7J1riJo161YdwGSdOzxDgwfWoslqOClThH3vMtdGplFMsTOCcqrBSRTxi0YcYQbfjrEUhmZzOwJpkoR3fUwYDouGzpSvYwUUT0LGoeKw==;10:+AnGtARFfX3/FPSBJPJtH49jS2YiSJ0EoTwV6FnNSzkj1T6g+9DJXMWLmlnY3n5+OiH84oF5md+BunU4JNrrjoKPLv1aoUklCLfRASiyla0=;6:30bmGkc908JH6s43hGxcXJldmiL8LXchzlecjkH/saDtppx4lvGItKb8loWBRYBf x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0850; 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:BN3PR0301MB0850;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0850; x-forefront-prvs: 0583A86C08 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(24454002)(51704005)(199003)(377454003)(5001960100002)(110136002)(92566002)(68736005)(77096005)(101416001)(102836002)(19580395003)(19580405001)(81156007)(97736004)(4001540100001)(93886004)(74316001)(189998001)(62966003)(77156002)(5001860100001)(122556002)(5001830100001)(106356001)(2656002)(106116001)(40100003)(46102003)(86362001)(64706001)(2900100001)(2950100001)(87936001)(66066001)(33656002)(54356999)(105586002)(76576001)(76176999)(50986999)(99286002)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR0301MB0850;H:BN3PR0301MB0849.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2015 09:54:20.8391 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB0850 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id t4L9sXsC018178 Content-Length: 977 Lines: 23 > > 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. Peter ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?