Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp188041img; Mon, 25 Feb 2019 20:59:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IZLg0mRXTY6zpoebinGJKky8H5snIR0JTRqab3Djf7+QOs7ZeZ6ci2gIvsk6WLUbqrn76O4 X-Received: by 2002:a62:5789:: with SMTP id i9mr23603110pfj.75.1551157148076; Mon, 25 Feb 2019 20:59:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551157148; cv=none; d=google.com; s=arc-20160816; b=fI5w4jnSea3hK/PgokClyHTn0fNrjUafNvqyZ7Yq6zQYdB1Qv7HRO2ZUgoccd0/fPB +q2Iycdeuts3RuKAI2lYtzRHgFfq4GTGsjH2BeAd3CLiSIkqjFRvljO1rt+B8Fs15RWQ oNwJd9IgO035eDIrvEunfOiyMJE8cb7moIFX0hp551HR5zmYH8THiVZ1lUH5sP9mVu+6 PQxaTys9pj3Uv3zXsB6IbozmllsxZTiBJ770lVSETOlO35RgzykCM/uJ69khDtUYZX8z MWWmBQQRJniA7K31IAr1tZ1zHMFYVSHOqPuGCNJ40uiflS6bZUGS0NuKSv9uoxL7nKjE F2tQ== 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 :in-reply-to:references:mime-version:dkim-signature; bh=qN9daC7ImMUbeuap8aF+T/jnLGG8L01gG+bKFd/iMgc=; b=g3ShA0+d8HhN2AQXYxHSFexHB0ZHsisbiMYTFFXS0WQKkUwILP/gMxAln4jA9HAxd1 9paK4QmdCwuQ1XRjFG3MVHxw0PmsjgfuGKNef6VkQTQUKaMeER0gbfmpMeTNsaAGcW3s 65+yXP1gGIgQXUjWK4M7EQYXedEm8NtLSEBNA/oNHusWbND1NSgbDGu18WCjxCUTWwcF sRtiXBRrTD7/gmynwHvenXVNM/Ni0WjWiqN/WvtUAB6DEL5DKt+xqeNnWOD3PNLZFVZ+ k3wa7iAQ4LldK2gNJBx2ZUciVlJHQyn+UIsT1xa626Uj8DB21FvGTKokYZPKXPTxAevM cQ6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=QmSS478u; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88si936708plf.243.2019.02.25.20.58.40; Mon, 25 Feb 2019 20:59:08 -0800 (PST) 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=@broadcom.com header.s=google header.b=QmSS478u; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726178AbfBZE50 (ORCPT + 99 others); Mon, 25 Feb 2019 23:57:26 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35557 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725881AbfBZE50 (ORCPT ); Mon, 25 Feb 2019 23:57:26 -0500 Received: by mail-wr1-f65.google.com with SMTP id t18so12382337wrx.2 for ; Mon, 25 Feb 2019 20:57:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qN9daC7ImMUbeuap8aF+T/jnLGG8L01gG+bKFd/iMgc=; b=QmSS478ud7QBXhfSvd9Zmd8Z/tFtMrE67tIBuL35v9M18gEriJ05/+ttvfIWUifu8m Kv83oaEQpWBsGJCUS3ps6qEShj5NwQvd25wUR4dYz9hWBTvPTN18wlyYMmc31SLDCCNO fTz/BkWYfDKzsMACQcMwAq9negxBb37XpiNYY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qN9daC7ImMUbeuap8aF+T/jnLGG8L01gG+bKFd/iMgc=; b=iKH1s4uxUqZeWvOSL97ytehYg9KT8mdVhpqwH25Zb2F9aGGRkoJb5goZ/fPNl8k+BX U3/ijN8rYeTREawRtUtUoL7eK3zkyMOo4JQsvSX3iXzPRn60YsnVGet13OlDAS341Vxu sGBDcl0PUE+uyKf0UfTafzgSqsOtu8TR0l6kluzwi+jKRwGxUV7aXL3so63ojkgqnYnR MXXAlw7qCTKwSeLcGap7VtuqUPSo+3D3DVkSdHcUZ7Rfzywv/B0ApTfhrVuBDWgfBhTO 5VXkiEJO5yO/BCj76+TOSZlzbFjUFQDzqqTemCXzEwYTcL30ytCzvc4Tx6WGfYtRMb25 N6eg== X-Gm-Message-State: AHQUAubn2blavSAliCw3g5W7BT32VDkU6t+Y0LfOjZpNsBij3qAgN7R1 +mqqUtw8KKhD93vmcXCTYuxVOWfCxtQqx4nxK5RqR3bvGK0= X-Received: by 2002:adf:dd86:: with SMTP id x6mr14580360wrl.250.1551157044448; Mon, 25 Feb 2019 20:57:24 -0800 (PST) MIME-Version: 1.0 References: <1549347534-11320-1-git-send-email-srinath.mannam@broadcom.com> <1549347534-11320-2-git-send-email-srinath.mannam@broadcom.com> <20190225213807.GA18852@bogus> In-Reply-To: <20190225213807.GA18852@bogus> From: Srinath Mannam Date: Tue, 26 Feb 2019 10:27:13 +0530 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: usb-xhci: Add usb-phy-port-reset property To: Rob Herring Cc: Greg Kroah-Hartman , Mathias Nyman , Mark Rutland , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List 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 Hi Rob, Thanks for the review, Please see my comments below in line. Regards, Srinath. On Tue, Feb 26, 2019 at 3:08 AM Rob Herring wrote: > > On Tue, Feb 05, 2019 at 11:48:53AM +0530, Srinath Mannam wrote: > > Add usb-phy-port-reset optional property to set quirk in xhci platform > > driver which forces USB port PHY reset on port disconnect event. > > > > Signed-off-by: Srinath Mannam > > Reviewed-by: Ray Jui > > --- > > Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt > > index fea8b15..ecbdb15 100644 > > --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt > > +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt > > @@ -40,6 +40,7 @@ Optional properties: > > - usb3-lpm-capable: determines if platform is USB3 LPM capable > > - quirk-broken-port-ped: set if the controller has broken port disable mechanism > > - imod-interval-ns: default interrupt moderation interval is 5000ns > > + - usb-phy-port-reset: set this to do USB PORT PHY reset while disconnect > > - phys : see usb-hcd.txt in the current directory > > This should be implied by the HCI or phy compatible string (depending > on who exactly needs the quirky behavior). Stingray USB HS PHY connected to xHCI port has an issue, if full speed devices connected to this port then after all High Speed devices connected to this port are detected at full speed instead of high speed. So that we need to do PHY (which is connected to port) reset on xHCI port disconnect event. That is the reason we required to add quirk in xHCI. > > Rob