Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1003413ybb; Wed, 8 Apr 2020 14:22:52 -0700 (PDT) X-Google-Smtp-Source: APiQypL0gzfb5hpthOHMSC52D2nZBcPmwzJhWHc1yjWdx4AkioctOuEC4dZQhRky7RoMsP737Nud X-Received: by 2002:aca:3442:: with SMTP id b63mr1430907oia.7.1586380972809; Wed, 08 Apr 2020 14:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586380972; cv=none; d=google.com; s=arc-20160816; b=hD44oRPNLOvWImfwi0tH27FOg4y133hdhKSCEuS5MZhSUCtL351ALahEX/Fle+Wst3 A/ESFmPA61jQSemGCKvgSuI7YopM7tquVAJczbWn4J+Oj+QzeP5sZQoBdwmtYKIkoKP9 4hvmJD10eadzD9cIhUZeYD4wjoe19EpAtllpOKb8sJgP9Cmis7BfBgakOy3FyChxQdxS FPI7iDvY7PjWieSaYb52RtbBV/sfMxLsrDfUN5Z0qP/Un68eU1zbKXuOFcIX/lLtscUu z5rqldtjR1r0oCvQafsfi7eUF2uXQo2O1Icu21iNUWLKitFvdG3JgT1EfUQL9wKF0RgL 6Tow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=nfNQgNtQAg8qEd3YfpmUEUM6hqbe1jSnmEXqTthUlGo=; b=asvF6jx105hYIkas3Jnjni6XotJNQDKGOMhZZZNaX+5oVGo6fWUG+bLhc4MprMmr+v DN694GclrKf3HnhW2UCo1DgDpUOAbRSCZq7aYOpkKruMEKG1pJ4EWt+3ttgQ8n6HXXZ+ AD9ZMcA0MQfztdwMEIE62A8QdBw6iVbZEhIJ216SdEx3gvDTXQUJAEDklrMpwijJ9w83 nCyMsBqlJK7r7h4HV6WYIkyC9UzcfV0a/7FhdeauKxgPFRYCqWY7z9gHJLtTURKJc67Q f60H+/ywdvJsS+yRw8UWtJ+Ncj/cc2eRI5+JTOjHY6gdmn7AKdOCKXTlAgSgGrmYcN8y KCAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oKBy0zWk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m185si2562835oib.102.2020.04.08.14.22.40; Wed, 08 Apr 2020 14:22:52 -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=@gmail.com header.s=20161025 header.b=oKBy0zWk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729692AbgDHSOn (ORCPT + 99 others); Wed, 8 Apr 2020 14:14:43 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36748 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728772AbgDHSOn (ORCPT ); Wed, 8 Apr 2020 14:14:43 -0400 Received: by mail-wr1-f66.google.com with SMTP id k1so9007466wrm.3; Wed, 08 Apr 2020 11:14:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=nfNQgNtQAg8qEd3YfpmUEUM6hqbe1jSnmEXqTthUlGo=; b=oKBy0zWkNE3f3+Aw1LTIpTIKx5THvuUniYaMhc8J+bF5tPPECKv+gbotL3zb+LbInt NHycZpwb78/78wFednuCFqZNqQSFnmnRx/v19E4ILvremO8TKGvbhb0HXHoaA15Kaem9 XAyxsozgsZ3phf171+nmO7SH1R+MGNHUotYs6p5qYnfLCaO+BGA8VqKDfLrxvqN5Xnm9 wAn9PqSX0O/+xtSx+QVVJYwoX+9fwDf5ijXXNDZR8RmuoXzOjlR1vosa5iU+16dSWLdm AbzcXKSe5vKJtc30HXUSHeT2k2rERNuUUmtv3L/hpwJ7hYSzTqSDIJsgY4MQnVc8LkC8 SjIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nfNQgNtQAg8qEd3YfpmUEUM6hqbe1jSnmEXqTthUlGo=; b=JqRbxrjM+rheWtKsHPwnlG244bxD4KHJXJOF803agypb207cXmToflTP35ljqO9IKL zEe9GC4f00CQR+/1fEpzWJHoopq9OsAPb2kmT+3p6w6ezSu6SqvFP8vPhf51KYHVYXKD p2ddq5u1OB7/NCw8K9xiSafLL3TfZxv6ztWx8/75LbBx5KjM9huDa2GL6JZz3CCL4nBZ 1gRh7kyNkLAbubiJGv85fT2kikhOHG4ZEjEdWVCKYGSOSTgQGmlEEpsGNQs1Ub4ToxoL ObcF/JhVdhTml9UwrBmKTtgl8v80magoDdZiBCvh7Y1TlnRLMs/+RgLh+P52u7eCWxjW kj+g== X-Gm-Message-State: AGi0PuZzMTtC7qdQe4kDjhOk3pm2eLJvKy4M8Nb/e91NJ03K507aqGxf VK60Q85wZnpHfkzAXytdaJhP91bsnVA= X-Received: by 2002:a5d:5688:: with SMTP id f8mr954304wrv.245.1586369680901; Wed, 08 Apr 2020 11:14:40 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id n124sm441700wma.11.2020.04.08.11.14.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 11:14:40 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Cc: Al Cooper , Alan Stern , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, Greg Kroah-Hartman , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mathias Nyman , Rob Herring , Andy Shevchenko Subject: [PATCH v3 0/4] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's Date: Wed, 8 Apr 2020 14:14:02 -0400 Message-Id: <20200408181406.40389-1-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v3 - Addressed all of Andy Shevchenko's review comments for ehci-brcm.c. - Fixed the brcm,bcm7445-ehci.yaml dt-bindings document, dt_binding_check now passes. - Added the XHCI functionality to xhci-plat.c instead of creating new brcmstb files, as suggested by Mathias Nyman. v2 - Addressed Andy Shevchenko's review comments. - Fixed dt_binding_check error pointed out by Rob Herring. - Removed pr_info message in ehci_brcm_init as suggested by Greg Kroah-Hartman. This adds support for the XHCI, EHCI and OHCI host controllers found in Broadcom STB SoC's. These drivers depend on getting access to the new Broadcom STB USB PHY driver through a device-tree phandle and will fail if the driver is not available. Al Cooper (4): dt-bindings: Add Broadcom STB USB support usb: xhci: xhci-plat: Add support for Broadcom STB SoC's usb: ehci: Add new EHCI driver for Broadcom STB SoC's usb: host: Add ability to build new Broadcom STB USB drivers .../bindings/usb/brcm,bcm7445-ehci.yaml | 60 ++++ .../devicetree/bindings/usb/usb-xhci.txt | 1 + MAINTAINERS | 8 + drivers/usb/host/Kconfig | 16 + drivers/usb/host/Makefile | 16 +- drivers/usb/host/ehci-brcm.c | 286 ++++++++++++++++++ drivers/usb/host/xhci-plat.c | 10 + 7 files changed, 391 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml create mode 100644 drivers/usb/host/ehci-brcm.c -- 2.17.1