Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1778800ybh; Fri, 13 Mar 2020 07:17:04 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtaafrvjYD7oPxTXYK3g9QQ94KN0g2vIm8fHlsOjBLcuZJhalj5c5XQYjoSfHfDQPzn2GKW X-Received: by 2002:a9d:6f12:: with SMTP id n18mr7500173otq.369.1584109024724; Fri, 13 Mar 2020 07:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584109024; cv=none; d=google.com; s=arc-20160816; b=vkB3QIq5Ci18NXaq1KGkVpdk5+7DIF/NslTTzq4urIh23HqKswccJD8OrcAfdxu3U7 N/iR6cUesF7v048JfNg6kExw7QF2L7sh5Bkddga9kLaUNGEo5OHNkDQGb4f/tXcHLwC/ XZwr9b1yJooSYrJ1OTA6mgX0QzYv4o4gP/wjbJjhXMp3DYhriztZm0hZ3/yoPcrSUru9 DymeYhsoYl9L0dTvVdrcT48iiXzOolZIe92QA3WQOI5XSNFryp2O9MbfulWEdhgLbsdg ttBfZkuiCKQkhZuMKvqWsHN8GQ3nsUSrog9/72idy58EVH9FHcxhOLK0xlkWqfKTs9rR EKAg== 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=mo2SVHU15dhXGmRt8MzBQ/mcodnrQymnm3XWUfS3DkU=; b=OpSjUJ2dj8FQa9EvoWUnhgczP0VJI6vwOi9UOoi2CIm+XcMydLhok1sT8mVc5230Vp 1CddjN6ey+MAZiT0h4CEo/yi+J/l2m4SL+KPBWR4o0waFxRSKSggwj+Q+MWBkh8f0Aai XsWNb6HzR2IN0mJlitwm4qdGd4SGf3iy/VL/NhA2vFebux44tXuAtYzWx5cq5m9C+W9I SxmKNMTCCHGmJqWN/dnUhCJiRwWOk7eh6Q5R8Q1Mp5xfDnQZmLCvjSHcR3TLkYbL1O/G OY8li3x6xB77q1duiWOBfMIeO82OiNS3piEkUNEpkgz/E061lMcrAVSDWN28OEEs1u+j zMcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nTxz8xVu; 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 d28si4423271otf.3.2020.03.13.07.16.50; Fri, 13 Mar 2020 07:17:04 -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=nTxz8xVu; 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 S1726867AbgCMOQU (ORCPT + 99 others); Fri, 13 Mar 2020 10:16:20 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38148 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbgCMOQU (ORCPT ); Fri, 13 Mar 2020 10:16:20 -0400 Received: by mail-wr1-f68.google.com with SMTP id x11so7547123wrv.5; Fri, 13 Mar 2020 07:16:17 -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=mo2SVHU15dhXGmRt8MzBQ/mcodnrQymnm3XWUfS3DkU=; b=nTxz8xVul1ywqLBld+tylaeroY2sj051plVUeXnYi2I2/vJmeS9Vh34shb/iY4o10e DXFZOxadnKQ2cgfKqdhqDlIeHOzT72GncTsCAOm4UTdlz2lwb5rKmy4h+oXIW8AGIV40 wS9+D+gvreV3PIk5mFOmiFFphnXOEWFL08MgTjyBB0LuG2OziXwOm1XFFtvyQ1Ci0zAt FyKgc1jLDqzIgxhvnKhEYrtk1y2HdgMP/MH818clkv55D77H6vcbGSoaHKHZ5we0TuBx pL/Q1HutxYpzoFODv0CY+EkzKlTDSYAlgWGjLOYWBbEL1OeK4lrPRjEjcBo5GFs5cK5O X9lQ== 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=mo2SVHU15dhXGmRt8MzBQ/mcodnrQymnm3XWUfS3DkU=; b=sREOG9l0/HZmrJW0y/ofnze/c9NrvMLL1kl8IbxbOOPB3Ea2SagBvINu7cLQkYOIxZ 2oVYHZQ05Z6MFhy3lq1FO6OVh3ASNITKUCaif5tLPfmJe8UatzQfTShRhPruAhohUBiN QteDV+aGwcCtQGADaJ8z8olh+0yjerPX7buuXumIv+M99jnIoc6AHfuqvvJ+oM+/eaQA qZOAwVaaAUas342EmHTpEzqUjjGOOhs4eTN+Nmi/MFbFaajXuKs837NuTDhXarEnfVkk 4dV/v7hETzIiz65ItDx40lKFmXLmLAt5FU4AhXgaX6fMNEos01kVAkPHrSo1hk1PQ97N MR3g== X-Gm-Message-State: ANhLgQ2VUm1+MVC557eFfT67a2n14G//y1ep//cFCGZnfAGD+GZLF3Lm t5wL4YcCPaPS7iYokL5pzB+NTqG9/Z4= X-Received: by 2002:adf:f2c7:: with SMTP id d7mr18333316wrp.104.1584108976444; Fri, 13 Mar 2020 07:16:16 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id l83sm17561422wmf.43.2020.03.13.07.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 07:16:15 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Cc: Al Cooper , Alan Stern , Andy Shevchenko , Arnd Bergmann , Bartlomiej Zolnierkiewicz , bcm-kernel-feedback-list@broadcom.com, "David S. Miller" , devicetree@vger.kernel.org, Greg Kroah-Hartman , Johan Hovold , Jonathan Cameron , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mark Rutland , Mathias Nyman , Mauro Carvalho Chehab , Rob Herring , Rob Herring Subject: [PATCH 0/4] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's Date: Fri, 13 Mar 2020 10:15:41 -0400 Message-Id: <20200313141545.31943-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 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 | 9 + drivers/usb/host/Kconfig | 20 ++ drivers/usb/host/Makefile | 20 +- drivers/usb/host/ehci-brcm.c | 288 ++++++++++++++++++ drivers/usb/host/xhci-brcm.c | 16 + drivers/usb/host/xhci-brcm.h | 16 + drivers/usb/host/xhci-plat.c | 11 + 9 files changed, 435 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml create mode 100644 drivers/usb/host/ehci-brcm.c create mode 100644 drivers/usb/host/xhci-brcm.c create mode 100644 drivers/usb/host/xhci-brcm.h -- 2.17.1