Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2877365ybb; Fri, 27 Mar 2020 13:49:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt0SY6awqEKXT5w+AxvGvlZhKiBS+enL9ky7ti2DAlCN0ZSjysB/lrxdSCYiigN2HA7Xif4 X-Received: by 2002:aca:47c8:: with SMTP id u191mr600574oia.170.1585342158150; Fri, 27 Mar 2020 13:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585342158; cv=none; d=google.com; s=arc-20160816; b=dtWW31D16vOQH+5EKIkem/8Sp36b8XwiiiyAu0vK4fU9+8zJcBiuXNAy1COorqkfSm emDcDcyBNq2Oda0nw3ptfbBU4JMQ5dg1DwTW+Wvt0ECaeIFVO28Jq74KLmiT1gQNjqmI jvNvMPOhh1EskluVSCFiGdVYUBvS0yUKu9e6dzPezr80iOum49KJ4nv3LdPgVP6SNGol MGZsg6ktfV5lqf8JSyd5Yhu923YJEZBu5RQX/xCLQ8LJCQ+QY7Y0Prb0QzKeSUhIqaJF AYYhRbRLbT7HtcE83yylaNxlxw3cv6Sc/2Bl/AG37CXeEbfiMm4glUfKibuqrg58sVlZ +fbg== 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=7zjqIGuOMvCRRwPxhvLH6aA1v9QtkQcy+k1LVFwx+gQ=; b=f43PGyibCUBezyZQ+03K13AadaT5CxWZDpnldtwFAR7X//0JNEwbizSQ9R2/eC2c8S 22IRUgVZNTpuRBTbR/qNXpDMT7/uCZqrSXplXO88m1t32RbzFSrFyIYfkiFny3MdVktL ANk+ETDXn+gwlp/M28T/PP7O7H8NpqP3ZXlFp+WBSbgQm5yAnUOBzvUH9L44PbhThIoG lp8Ozi8KwhdgXsOyATDWS2w54Mmd5o6magdltk1UVgyJP9/pGW0bv3PcW9QDed87T+/M nDDoRQgeZoR7fMa8qrNYWAhsF11JtIE1EdrPlfpQyVgsgv0N5v444B4ZcPdgfwF5KeCJ 7zTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hZpFLqRq; 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 30si2361362oth.68.2020.03.27.13.48.56; Fri, 27 Mar 2020 13:49:18 -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=hZpFLqRq; 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 S1727718AbgC0Urh (ORCPT + 99 others); Fri, 27 Mar 2020 16:47:37 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:39097 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727322AbgC0Urh (ORCPT ); Fri, 27 Mar 2020 16:47:37 -0400 Received: by mail-wm1-f67.google.com with SMTP id e9so2006054wme.4; Fri, 27 Mar 2020 13:47:34 -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=7zjqIGuOMvCRRwPxhvLH6aA1v9QtkQcy+k1LVFwx+gQ=; b=hZpFLqRqirh0j+uUf7pKw9RmM1CvhHSFFQxfm7nKNVtd6a8Lih6z9h523TV5Hu7U3p kb3OHR+LC2kIax0NVqrNmlPxbhQS/tgmy1rqcPsg8hEpnqv4bkoKUAOagMT4M3xwhAoC E6fqW5I/LoOz+XNKPeDON9qL+kaZba+/T1zwYHaN0112EZyj1XyzG4w1M6y+xK60YBJY d0xHRpaVTlvz+3V1tg49CmBdnnjULWiuAhshwP65ix1cDHlCVAFegI/Rw80nR7YBTqhK dJMh1Q+wE3ekR6IV0z1SIpVpIAMOaT3208ZoApJZHVEjXmSYgXg2uJ6MXZNVgWPcCWSr D45w== 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=7zjqIGuOMvCRRwPxhvLH6aA1v9QtkQcy+k1LVFwx+gQ=; b=Y3JI/Q3m/Yc61jRSTTokHVhbLD9GCCp2F+U6DascXuZLzyLCAVvjT4OJxqFgNTh5C0 M+qBdBJgMX7C60/J1MTSYCnTr/PfOPbSVXPvOBnpT1FiOrl29bkHkqDfwo6dhglw8WA5 JX+MmlSfs7QmOrda+pSnIcx1qEz978ZErux8Tcgk0Xk8FGdckCH2zb//5qP62UtjDmCA VEyJFmaxu9rRg82yL6c7Xv9IIlERV92lybq574v9uHSOmAP8N37CJ+E5uFdV+JbA59hv eH7N0iCNZgkIkIwIbQpR6+fN3YRSMEOwBYbuURfuNZL06fXQZclIn68pS6uMRYebIK8C XClA== X-Gm-Message-State: ANhLgQ1PWf060eSUdlBd1iJ7SJwTcqIKrrTf8isqsEYT/ukj2Jg0MOEC HrKdh14u43akHmH9xxujX9ktqL8FM4M= X-Received: by 2002:a1c:1b0e:: with SMTP id b14mr627122wmb.8.1585342053562; Fri, 27 Mar 2020 13:47:33 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id z129sm9661450wmb.7.2020.03.27.13.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 13:47:32 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Cc: andriy.shevchenko@linux.intel.com, Al Cooper , Alan Stern , bcm-kernel-feedback-list@broadcom.com, Chunfeng Yun , devicetree@vger.kernel.org, Greg Kroah-Hartman , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mark Rutland , Mathias Nyman , Rob Herring Subject: [PATCH v2 0/4] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's Date: Fri, 27 Mar 2020 16:47:07 -0400 Message-Id: <20200327204711.10614-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 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 | 61 ++++ .../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 | 290 ++++++++++++++++++ drivers/usb/host/xhci-brcm.c | 16 + drivers/usb/host/xhci-brcm.h | 16 + drivers/usb/host/xhci-plat.c | 11 + 9 files changed, 438 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