Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753537AbdFMO5u (ORCPT ); Tue, 13 Jun 2017 10:57:50 -0400 Received: from lpdvrndsmtp01.broadcom.com ([192.19.229.170]:56485 "EHLO rnd-relay.smtp.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752854AbdFMO5s (ORCPT ); Tue, 13 Jun 2017 10:57:48 -0400 From: Al Cooper To: linux-kernel@vger.kernel.org Cc: Al Cooper , Rob Herring , Mark Rutland , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, Kishon Vijay Abraham I , Al Cooper , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/4] Add Broadcom STB USB phy driver Date: Tue, 13 Jun 2017 10:55:17 -0400 Message-Id: <1497365721-31188-1-git-send-email-al.cooper@broadcom.com> X-Mailer: git-send-email 1.9.0.138.g2de3478 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1970 Lines: 44 Add a new USB Phy driver for Broadcom STB SoCs. This driver supports Broadcom STB ARM and MIPS SoCs. This driver in combination with the Broadcom STB ohci, ehci and xhci drivers will enable USB1.1, USB2.0 and USB3.0 support. This Phy driver also supports the Broadcom UDC gadget driver. Changes since v1: - Rebased to next - Add Kconfig entry to build the driver - Commented all delays - Split out sysfs functionality in separate patch - Removed parsing of old obselete device tree properties - Changed device property "device" to "dr_mode" using standard values "host" and "peripheral" along with new values "drd" and "typec-pd" - Add ability to handle the standard PHY_TYPE_USB2 and PHY_TYPE_USB3 arguments passed in by phy consumers. - Moved phy_provider_register() to end of probe routine Al Cooper (4): soc: brcmstb: Add Product ID and Family ID helper functions dt-bindings: Add Broadcom STB USB PHY binding document phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver phy: usb: phy-brcm-usb: Add ability to force DRD mode to host or device .../bindings/phy/brcm,brcmstb-usb-phy.txt | 42 + MAINTAINERS | 7 + drivers/phy/broadcom/Kconfig | 12 + drivers/phy/broadcom/Makefile | 3 + drivers/phy/broadcom/phy-brcm-usb-init.c | 1125 ++++++++++++++++++++ drivers/phy/broadcom/phy-brcm-usb-init.h | 95 ++ drivers/phy/broadcom/phy-brcm-usb.c | 444 ++++++++ drivers/soc/bcm/brcmstb/common.c | 12 + include/linux/soc/brcmstb/brcmstb.h | 10 + 9 files changed, 1750 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt create mode 100644 drivers/phy/broadcom/phy-brcm-usb-init.c create mode 100644 drivers/phy/broadcom/phy-brcm-usb-init.h create mode 100644 drivers/phy/broadcom/phy-brcm-usb.c -- 1.9.0.138.g2de3478