Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2099674ybe; Tue, 3 Sep 2019 08:01:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqySAp2FiYmCxuFsIMiGCa+WJjM7vJDeH+8mqjEIhnfJ3myLWChfsFrsk4QwgSigFTUTKsc/ X-Received: by 2002:a17:90a:234d:: with SMTP id f71mr425953pje.125.1567522863762; Tue, 03 Sep 2019 08:01:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567522863; cv=none; d=google.com; s=arc-20160816; b=YUQrIkXR9xlPOe5TktY0/tMQI46D9TPVGHJt/sx2fXVPXrhWmWx7HkaftxRVUhyw+Y QDk2XltRNl3JV6ZFffcrqHGkshlybj/rLKCgsxWLlTYEB4HDD3qpyAHaoPUVuqT56Rm3 pY73k473bw1B5R0PoSV92ayHFPlkD4Mvxqh3CMmPFxdPAuUn+FrLulW7sckBbmTyu7NO 4CHDg+fJyIr5oZZ6qqBdu6r2xZbKEeQIhtxHyYt2/6eRCR7DQ+d65AOHOZejnvNk6Vmm UOARJstkkaWSyPXGHW+FiD0U+8B+s87KL54sm+wHNGutQtaXKtlQj3t0B1kQF6JUoLHp bT2g== 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=CqMvdMuRx1qQHVU6PsmLAtqbm2AbeFoogKgqN4O+tSA=; b=Gzhe4d6oHBWr3qVrm0B7TlcLuS4LCgm9Vs3tv4NHtkCXFb7RjtJzk7iXDEZJd4ocn1 j+//9ybyJXwcVs4ZA3DYwpNt0Vlx3BHHswpraQ5FE1YLhTfQ8k73cJx1iT0BT+uu+IDG lJgHIaQIKXw7dFqtpCV56odUzU6vxEd5Z2TAE3NVwmyu/poDq31fCXCuePmZItaQLH6O 4UMKl0AwmYMlsSfjxK1RrUBPUcd2C0YBLdTEDeEZj+vruHg60WwO1VAwy9B40z2mFMzJ JfBWyCxy24LULQxMv3NQ/KspR1wueCKT6Bcn3Uldv9JNhVG31nPb981Vi3s7+8qCjjDl MZpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="f5zi/b69"; 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 n10si14866237pgr.27.2019.09.03.08.00.44; Tue, 03 Sep 2019 08:01:03 -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=@broadcom.com header.s=google header.b="f5zi/b69"; 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 S1729539AbfICO7u (ORCPT + 99 others); Tue, 3 Sep 2019 10:59:50 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38759 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729053AbfICO7t (ORCPT ); Tue, 3 Sep 2019 10:59:49 -0400 Received: by mail-wm1-f67.google.com with SMTP id o184so18631892wme.3 for ; Tue, 03 Sep 2019 07:59:47 -0700 (PDT) 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=CqMvdMuRx1qQHVU6PsmLAtqbm2AbeFoogKgqN4O+tSA=; b=f5zi/b698/9ce0EI/0V5aE6hF/KZbZrznmm772xUFPscWQ5AbEAsN04/9GLV4caC6C OU3jz7W+RqTX4V2EjDf//x+SAmuaXx/xoqARkHje20dPb6HeUlkBmuKNug4qdILB+w2w fKu7QYfe1O7EGsARq8M2/eZzbkcECKULQOllc= 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=CqMvdMuRx1qQHVU6PsmLAtqbm2AbeFoogKgqN4O+tSA=; b=AL2a/MjNnVNLe5nD1zEfeKGkGB6kc0U/n/fqC1po82Ih0yjNe1X74GMhL1Qz1KFYNz UQRomenzfSxaosRMq+Mr9nSMiwl9HFRNswNZ8it2g2hhSBID1/n0yqWChFzutiQJ75oE thjs11IZpUGNnYGNiDl0sTBl8+ZKne8RoTnkuketi1GTWDTTIlYqb1c5ynipixIX7sXi VOPvm1TF/kE1OX+ZesDJmFREd6I2Kt6p/5c4uBof+fjfEkMcS6veTK//wHeIGAe6OlHz k5PlFO6sN9n0wkm7TBh6hwwKa7hY/VRG5fl1v1UFvrhm2crbW+qBizmgKQD1kB4l5XJj xjbg== X-Gm-Message-State: APjAAAWS/NyR24w8lgEeqiQecQh1iYRZjmW50Nh7W9Ns99je32fEa2I3 6sghrqYappRrGPVU5FBuEhl85K4OP9YDZhBARKmK0A== X-Received: by 2002:a1c:eb0c:: with SMTP id j12mr565277wmh.132.1567522786724; Tue, 03 Sep 2019 07:59:46 -0700 (PDT) MIME-Version: 1.0 References: <1564568395-9980-1-git-send-email-srinath.mannam@broadcom.com> In-Reply-To: <1564568395-9980-1-git-send-email-srinath.mannam@broadcom.com> From: Srinath Mannam Date: Tue, 3 Sep 2019 20:29:35 +0530 Message-ID: Subject: Re: [PATCH v2 0/4] Reset xHCI port PHY on disconnect To: Greg Kroah-Hartman , Mathias Nyman , Rob Herring , Kishon Vijay Abraham I , Mark Rutland Cc: Linux USB List , devicetree@vger.kernel.org, Linux Kernel Mailing List , BCM Kernel Feedback 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 Mathias, Could you please help to review this patch series? Regards, Srinath. On Wed, Jul 31, 2019 at 3:50 PM Srinath Mannam wrote: > > This patch set adds a quirk in xHCI driver to reset PHY of xHCI port on > its disconnect event. > > This patch set is based on Linux-5.2-rc4. > > Changes from v1: > - Addressed Mathias's comments > - Modified mapping of HC ports and their corresponding PHYs > - Addressed Rob's comments > - Removed usb-phy-port-reset DT property. > - Added quirk in platform data using HCI compatible string. > - Add phy ports in phy attr structure to have enabled ports bitmask. > - Modified #phy-cells of sr-phy to pass phy ports bitmask. > > Srinath Mannam (4): > phy: Add phy ports in attrs > dt-bindings: phy: Modify Stingray USB PHY #phy-cells > phy: sr-usb: Set phy ports > dt-bindings: usb-xhci: Add platform specific compatible for Stingray > xHCI > drivers: xhci: Add quirk to reset xHCI port PHY > > .../devicetree/bindings/phy/brcm,stingray-usb-phy.txt | 14 ++++++++------ > Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + > drivers/phy/broadcom/phy-bcm-sr-usb.c | 9 ++++++++- > drivers/usb/core/hcd.c | 6 ++++++ > drivers/usb/core/phy.c | 19 +++++++++++++++++++ > drivers/usb/core/phy.h | 1 + > drivers/usb/host/xhci-plat.c | 10 ++++++++++ > drivers/usb/host/xhci-plat.h | 1 + > drivers/usb/host/xhci-ring.c | 9 ++++++--- > drivers/usb/host/xhci.h | 1 + > include/linux/phy/phy.h | 10 ++++++++++ > include/linux/usb/hcd.h | 1 + > 12 files changed, 72 insertions(+), 10 deletions(-) > > -- > 2.7.4 >