From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinath Mannam Subject: [PATCH v2 0/4] Reset xHCI port PHY on disconnect Date: Wed, 31 Jul 2019 15:49:50 +0530 Message-ID: <1564568395-9980-1-git-send-email-srinath.mannam@broadcom.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Greg Kroah-Hartman , Mathias Nyman , Rob Herring , Kishon Vijay Abraham I , Mark Rutland Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam List-Id: devicetree@vger.kernel.org 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