Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4081702imm; Tue, 25 Sep 2018 11:00:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV61jKkkZ8N4jrXAnSdAy12+QEMBr0X6wBhsXecI+3o9sbBLoWVn1tj6Pg/05SvBHVINeBWGT X-Received: by 2002:a62:5b85:: with SMTP id p127-v6mr2258396pfb.33.1537898443710; Tue, 25 Sep 2018 11:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537898443; cv=none; d=google.com; s=arc-20160816; b=baLLlJyxhV8mTBShTwfRxk9zHk8V+mMU4304HB8b4Pjhcw+RM5jgOiet/kmkuv33gE ZpzRtk7rooTbO8pk+a5Z2/MRKfR4mBQxhMKcuVP7GiWz3cxMMQT7cybVJH8wHCT2J8N8 kx3BVAPwpys14wrDU/FikbKR47cDGXvq2aYzT8we3+qh7mpDxyPy+g89Jh8vkba8WVIs 3xalYGdbTflCuy6DoAguCdJanJe6AXsh5eoz9gvLkyjxIWkbbjZzhP4Ghypt46/FzXG8 lPHQnA5x5mGJ6lreRenkC1n82UrGykVWwTbk4q3fPH9A1XsoQr4eQSoOU/W2F8sQJtY8 SZpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=GunG/pt/t6QEZpuwmdlsezZ8Y/yBcR5pleFloeSDlIo=; b=OVeJ06DNsNVTi8edjtIq6QSv5s+Ws/Yvr3d78Z/nP2xxveHNei8H9bmbuMjo9LrUdd TxPwu7CjnyhC58HXBDPpKdXYPzfGQxzOxZj0pRHfZhOK6FjNXws4Cp5+3+SjDIM6JB8+ mffwljh2y1YqIDUfAiDHswa3eGWVyjVQvk2s24xZW/cfxqEvtriM+2E5cGEIANBnb4ZY 541Myf2BH6+YD9a0f87RC1/vhbWfvtJd97gGj5A8bM96ylPmJKnqX5YgGtPHwZn4X2q+ a1JDF/nOJwaNwxf7IL0/2jFnVtYPJRLaQ7vJC8+QQ3U6lo2dgHMkl4fYbBcBL0RxPfaS SRVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aiMuyL9A; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ba6-v6si2833128plb.364.2018.09.25.11.00.28; Tue, 25 Sep 2018 11:00:43 -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=@linaro.org header.s=google header.b=aiMuyL9A; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727575AbeIZAIW (ORCPT + 99 others); Tue, 25 Sep 2018 20:08:22 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35135 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727301AbeIZAIV (ORCPT ); Tue, 25 Sep 2018 20:08:21 -0400 Received: by mail-wm1-f65.google.com with SMTP id o18-v6so14646837wmc.0 for ; Tue, 25 Sep 2018 10:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GunG/pt/t6QEZpuwmdlsezZ8Y/yBcR5pleFloeSDlIo=; b=aiMuyL9AXbY4xY5/DX5cQIiJRSL4LbfgQm2gbGPEP+zt++aYSLThp0RDTb6B/t4So9 HnWz3vi3G94qjyONgmhN/baAT/BAiY4qO1C1Ma+DJcVgYudXkoYUTYLuvL8gJWzLYkhb DF9/iQI+TD2+OwG1CVKQ+2yB0omYaNH3j9V6A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GunG/pt/t6QEZpuwmdlsezZ8Y/yBcR5pleFloeSDlIo=; b=ZGzkJm9Si6qjv7FUbqHnf0u53wdHLva04w+myQXcUcVdQZpQleojKFqAp1daLOBReS 5OuHUIxoF1zdGOlApW955418kCp3TRhV0pCWSwFFmuCD/FSr5G2VcMcAmh9UhMY0Rvjm 4GI7GJxpiu/QskpbedP7nmt6WsV7ZJsS2TqLFZqLuyVBA8epnnD7sN+r1p3irttMYMUt m99QrHshKjpE+F1xMqF6BvtG3xEtJzPkZKzINfaxFePzKH+5XEPstnkT4EP7lP7f6fCW fsi+hXusTB/qyB5B1LiPopWSrifDa/Ky5lIbrfY1iYSDaA2MFvA8jU8gTN5GAKUenArh l2kw== X-Gm-Message-State: ABuFfojfNoiUPaPWLuv9j7/KgZwT6T99nvDwBl1FG7Hag0fxC0cx16sa LXd5+C+VrBKV4frIzKp7Gi/uKKBjOB2UgdN893mcAQ== X-Received: by 2002:a1c:5e48:: with SMTP id s69-v6mr1660334wmb.19.1537898379959; Tue, 25 Sep 2018 10:59:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:b485:0:0:0:0:0 with HTTP; Tue, 25 Sep 2018 10:59:38 -0700 (PDT) In-Reply-To: <3AD91E696667BF4BA728303C178E8A63532AB5E5@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> From: John Stultz Date: Tue, 25 Sep 2018 10:59:38 -0700 Message-ID: Subject: Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature To: Artur Petrosyan Cc: Minas Harutyunyan , lkml , John Youn , Felipe Balbi , "linux-usb@vger.kernel.org" , Manivannan Sadhasivam Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2018 at 3:04 AM, Artur Petrosyan wrote: > Just a clarification by this commit "[PATCH] usb: dwc2: Fix HiKey > regression caused by power_down feature" > https://marc.info/?l=linux-usb&m=152669095513248&w=2 > > the power_down is disabled setting "p->power_down = false;" in > "dwc2_set_his_params" function. > > Could you please clarify that the testes done for those 3 patches were > done enabling "p->power_down = true;" in "dwc2_set_his_params" function. So if I remove the "power_down = true" initialization, USB does not seem to function. If I boot w/ the gadget port removed, the USB host ports do work, but plugging in the gadget cable results in a bunch of: dwc2 f72c0000.usb: Waiting for Host Mode, Mode=Peripheral messages. If I boot w/ the gadget port plugged in, USB gadget mode doesn't seem to function at all, and when I remove the gadget cable nothing happens, it doesn't switch to host mode. thanks -john