Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1970923imm; Thu, 27 Sep 2018 05:33:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV62YDBTEWg9rdjoHe5sWASEpdP4O9lFS+BJqwdwv0m0/dvgb8bn8PW1R28rynGmpLlVOjPG8 X-Received: by 2002:a17:902:70c7:: with SMTP id l7-v6mr10944022plt.29.1538051631392; Thu, 27 Sep 2018 05:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538051631; cv=none; d=google.com; s=arc-20160816; b=xvL9f0dwAxwDbTVxne675kbatMJAqo3xC17P3A/MgWngBVEX5zldqucUAJ+mFK2zt8 AA/Kx29NZGtPHnL2TeF94q3ZFQMzqX1m44Uq/X4pwiGeB8QdJPe3fPyoBMTcpCSwXJUX rsCjrDRsVNXRGH2lEkNRU+ES7TDINL/bkwnjadyOIDQIp22Go96Li2Kw1Dxp7pf6ePuL FGdVL6vh9qeAehkWJ6jzoQ/Fr4fJG4DgGDHlkmY+x/sRUIZ7+bHH0OYKhlnBtVRsp1Mh mliKc55qhtEfx335tiYYRqqGdV9FVOaSW35XPNgTx3FlLH+4ly4KtMlOqNAcM2+9QC/d Fejw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=aBNqIHJOOgvhPuUb7WsDZUuY0/Hcx72u9hd4xVa+ZX8=; b=CxbtFr3yJW949WtRignS93IDp7ge25pdY4iiSvbd5l8HZf1jnSmKX+HkDJecaf+KAV EoJIeD9Ez1L9aIJJOHOURU/HWK6koWaHsyP+wrG9UVc2/Bt9N5+jhKY+FnLEnOIqU+2c xtaOOcPHNocQm25A5AhqAZe+0tPqHOCx01Wvai2La/v5xK1OybczdKqyuXaqG3HafoH4 sJbJl6xq6oK8liikYfkD5IC2+yg6GvTZDX8yUChcBfmIGKv2mCPEHMVdFeZv7ivVGrO7 Y9RTqPWkWRGLMQhJRvQjTJjBZiftq4TZYsDjhRshE/FmWR5dhscRnewpszS5rC3LtWda TzhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=cQZd29Mu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x17-v6si1942357pgl.414.2018.09.27.05.33.36; Thu, 27 Sep 2018 05:33:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=cQZd29Mu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727378AbeI0SvW (ORCPT + 99 others); Thu, 27 Sep 2018 14:51:22 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:42274 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727112AbeI0SvV (ORCPT ); Thu, 27 Sep 2018 14:51:21 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 87C8C10C0E7C; Thu, 27 Sep 2018 05:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1538051597; bh=K+WGFKCMtrdeWAaZpgDxlPbahKxaBHZdCHyZWS66D8I=; h=From:To:CC:Subject:Date:References:From; b=cQZd29MueqyK2SmVt0XnxQjrW8U5aW6ETCkfhFJDwTR0gC7qzh6gTeHY2PlY3M0hf deiPfTp//U8h9q9BAIRIbxjpJgNum5V7ACQC6Yvy7nIsrH85V2ghEH1mk3Q1UAF7Pi 8Qp88D+7bxgoVdPZGbIBxWcUdcdV0NcxqKRJJHJtMssYLFRz8XF1y7cUI2WH40aVki BuhhXGROh8tILwuICw9CKlhryt3Y6EmcrMIZEU0IcDDD8AKCTz0kbFjdBcTEHygMi6 eVZtmxUwPuTW8UP4BwZyKF3JotB8SX0guGv81irioJAWTkZEPp6dKXZdLSgXOn5u4W Zu4oCLePPPtIQ== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 4919C3223; Thu, 27 Sep 2018 05:33:17 -0700 (PDT) Received: from AM04WEHTCA.internal.synopsys.com (10.116.16.190) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 27 Sep 2018 05:33:17 -0700 Received: from AM04WEMBXB.internal.synopsys.com ([fe80::1006:bcdd:1b7:579b]) by am04wehtca.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Thu, 27 Sep 2018 16:33:13 +0400 From: Artur Petrosyan To: John Stultz , Artur Petrosyan CC: Minas Harutyunyan , lkml , John Youn , "Felipe Balbi" , "linux-usb@vger.kernel.org" , Manivannan Sadhasivam Subject: Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature Thread-Topic: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature Thread-Index: AQHT7ws4O+8B/axYs0CeMD+6l4m0jQ== Date: Thu, 27 Sep 2018 12:33:13 +0000 Message-ID: <3AD91E696667BF4BA728303C178E8A63532ACAE6@am04wembxb.internal.synopsys.com> References: <1526690943-8211-1-git-send-email-john.stultz@linaro.org> <410670D7E743164D87FA6160E7907A5601313531E1@am04wembxa.internal.synopsys.com> <410670D7E743164D87FA6160E7907A560131356C4E@am04wembxa.internal.synopsys.com> <3AD91E696667BF4BA728303C178E8A63532AAF6D@am04wembxb.internal.synopsys.com> <3AD91E696667BF4BA728303C178E8A63532AB36A@am04wembxb.internal.synopsys.com> <3AD91E696667BF4BA728303C178E8A63532AB5E5@am04wembxb.internal.synopsys.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.116.104.49] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi John,=0A= =0A= On 9/25/2018 21:59, John Stultz wrote:=0A= > On Tue, Sep 25, 2018 at 3:04 AM, Artur Petrosyan=0A= > wrote:=0A= >> Just a clarification by this commit "[PATCH] usb: dwc2: Fix HiKey=0A= >> regression caused by power_down feature"=0A= >> https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__marc.info_-3Fl-3D= linux-2Dusb-26m-3D152669095513248-26w-3D2&d=3DDwIBaQ&c=3DDPL6_X_6JkXFx7AXWq= B0tg&r=3D9hPBFKCJ_nBjJhGVrrlYOeOQjP_HlVzYqrC_D7niMJI&m=3D0lMkv7adFVwkzyaUzD= 6-pUG0iwg4fd6b1-aHQgbqvSI&s=3Dm8SZvo3J_Za08sMbo-S9EkhoA06YnzEN-SRm-uTPnbg&e= =3D=0A= >>=0A= >> the power_down is disabled setting "p->power_down =3D false;" in=0A= >> "dwc2_set_his_params" function.=0A= >>=0A= >> Could you please clarify that the testes done for those 3 patches were= =0A= >> done enabling "p->power_down =3D true;" in "dwc2_set_his_params" functio= n.=0A= > =0A= > So if I remove the "power_down =3D true" initialization, USB does not=0A= > seem to function.=0A= > =0A= > If I boot w/ the gadget port removed, the USB host ports do work, but=0A= > plugging in the gadget cable results in a bunch of:=0A= > dwc2 f72c0000.usb: Waiting for Host Mode, Mode=3DPeripheral=0A= > messages.=0A= > =0A= > If I boot w/ the gadget port plugged in, USB gadget mode doesn't seem=0A= > to function at all, and when I remove the gadget cable nothing=0A= > happens, it doesn't switch to host mode.=0A= > =0A= > thanks=0A= > -john=0A= > =0A= =0A= We would like to buy the HiKey board to perform testes.=0A= We found this HiKey LeMaker to have USB 2.0 ports=0A= https://www.ebay.com/itm/HiKey-LeMaker-version-2GB-Kirin-620-SoC-8-core-ARM= -Cortex-A53-CPU-ARM-Mali-450/263958047308?hash=3Ditem3d75202a4c:g:aGsAAOSwO= kxbqqot=0A= on ebay.=0A= =0A= Could you please confirm that it is the right board to test the issues =0A= you mention.=0A= =0A= Regards,=0A= Artur=0A=