Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1711927ybz; Thu, 30 Apr 2020 04:16:26 -0700 (PDT) X-Google-Smtp-Source: APiQypKzPeTwEKdWL3d/SU5uju8/zzrQPh7D3E9JNM7NyEVdyg73T9U8pRZdjvi//yAPYEyTx9uq X-Received: by 2002:a17:906:78c:: with SMTP id l12mr2020077ejc.189.1588245385875; Thu, 30 Apr 2020 04:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588245385; cv=none; d=google.com; s=arc-20160816; b=tFFRk1FqFMpUo8exTXIiKE2ZPlRMBVJ2yRjwpTyLt0d4Z6WHkPe4FU0xJZE2c2C+WZ H/C5/Y3IK4niUqJJfhsvSzqe7x17ItMNGpljW3iRB5DuNXCrXLAFXZfnjacALLM0hpEl 5F/U3TLayK1R/ZFPt9Bk1Ls1GUsOkHD2oimjYelhqTuAeZscyiyDWyvs4EV/ldOs4Av4 nFfo/OfahgNP6m7d4zBuMQhHcMlTNzsNBQ77d5QbTkZGov80ZYj9V48bQDk4n5FhlSlc yhjYKDTX+EDZYcIdui/rMgHdvAqhJn1YcbukhoxtgwIpQYRKqYSFNgehJEBEJIOenngV Rogw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=vkQbZ0OEnEU7UUbpzBp0+WjmUbWo04Z45g1QFzRKmTk=; b=QAdD8zLzkKx0jt4W2YjXO7u53CjLYyo7JWF2Ehowhp1z0TQNWIfslMqkDZdK3dSneL nSV020qsU++lDnl7gJe8OU1MeDgUq7rK4ILTjhD5aI0j/xMSrhPxt0MapaEHHjiPfF3R nYMB9Kdea6waiBN/vhHCdroOVP19rW4k8JlFSgmTyV0MrYFf34c0g6mxA7v8P9so2n9D 9kULS8+qzjgKJwFs1s1yASj7qcA66i8GSy1OlyxWKVIVpJjzcIt8anxjX1kbMZvO3gTA TOb4PPzhKK9OU0B5ST2Ko8eNA7dFEhXeC3RynYQnjcgh8/99mLXbE5vM8e0RZGC0oxLB Ne6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HvheZXHc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id f8si6134248ejt.461.2020.04.30.04.16.03; Thu, 30 Apr 2020 04:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HvheZXHc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726971AbgD3LNZ (ORCPT + 99 others); Thu, 30 Apr 2020 07:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726309AbgD3LNX (ORCPT ); Thu, 30 Apr 2020 07:13:23 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D00AC035494; Thu, 30 Apr 2020 04:13:23 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id f13so6336110wrm.13; Thu, 30 Apr 2020 04:13:23 -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:in-reply-to:references; bh=vkQbZ0OEnEU7UUbpzBp0+WjmUbWo04Z45g1QFzRKmTk=; b=HvheZXHcAizX3JxlOfjwHuKgg7LKT2EQsWc2Ig/AjK2y/OvWm/ixHaCS+PesA8BOtt PTDn7Ts0TDC5J/Rolru5jC+PuGJiFQJicdk2GjJaXWav38GS0CX1heCbsVSCvLx2cYSF fnxikEP/6ExRE+d55j1ZVeFxopMSfLpoVKHK2aFJ4WXdjUPErhfnYyf6HGqlCrzdbfsl yaXUCD5c6bzptx31MhjgXzG8syTmThGJablUruh14oQkcT/zIksOLvsFg4fOXPnB0raq IwUIA6SDIuFQYpzXVuzPGts6m0rzud+2g01KtGihb3OkXDxuI5Na+D1B+iQCfm64gs1W 4fuQ== 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:in-reply-to :references; bh=vkQbZ0OEnEU7UUbpzBp0+WjmUbWo04Z45g1QFzRKmTk=; b=F1rnwTfOBBlMWcdqGOu05A9Alwq8hnkPITnU8N3NKH5XHK4fKTmHmIhJp8yVIEtwe/ dOYguxzWdQq52x2nka4NU819pkztUwu4kNvHwd20RTMCgQgmXF3Og82JjgB0GdSQn8E2 dSA00MEiHG/RnSsnhAocXIUqvKSzQotlfRwtIirFmpNkDhLuU3MrgNtnz3+nPVgwSqrp Je4tl6Gaslh7d030mgB4+jysYfsuWIsHqESkxKjgEfFQY/LH7YCDZ5IGODQwNwL/Wm1R Lcmt7OYlSfo6XmWEOdU5gnEHXK97xnkcTADbzDXuIWK9rKX0wuYASHRltdwnBKAKRGzr hFhA== X-Gm-Message-State: AGi0Pua+H3weD3HD2jIPeFL7uptyfJWdcnq3m1d9BtOkTMuqavHPyVg1 lWFLZdn4HFVIUbk+91FRyqxnak+J/0U= X-Received: by 2002:adf:f187:: with SMTP id h7mr3324837wro.331.1588245201775; Thu, 30 Apr 2020 04:13:21 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id 74sm3727077wrk.30.2020.04.30.04.13.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Apr 2020 04:13:21 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Cc: Al Cooper , Alan Stern , Andy Shevchenko , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, Greg Kroah-Hartman , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mathias Nyman , Rob Herring , Yoshihiro Shimoda , Andy Shevchenko Subject: [PATCH v6 2/4] usb: xhci: xhci-plat: Add support for Broadcom STB SoC's Date: Thu, 30 Apr 2020 07:12:56 -0400 Message-Id: <20200430111258.6091-3-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200430111258.6091-1-alcooperx@gmail.com> References: <20200430111258.6091-1-alcooperx@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for Broadcom STB SoC's to the xhci platform driver Signed-off-by: Al Cooper Acked-by: Mathias Nyman --- drivers/usb/host/xhci-plat.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 1d4f6f85f0fe..44406d0eb317 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -112,6 +112,10 @@ static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen3 = { SET_XHCI_PLAT_PRIV_FOR_RCAR(XHCI_RCAR_FIRMWARE_NAME_V3) }; +static const struct xhci_plat_priv xhci_plat_brcm = { + .quirks = XHCI_RESET_ON_RESUME, +}; + static const struct of_device_id usb_xhci_of_match[] = { { .compatible = "generic-xhci", @@ -147,6 +151,12 @@ static const struct of_device_id usb_xhci_of_match[] = { }, { .compatible = "renesas,rcar-gen3-xhci", .data = &xhci_plat_renesas_rcar_gen3, + }, { + .compatible = "brcm,xhci-brcm-v2", + .data = &xhci_plat_brcm, + }, { + .compatible = "brcm,bcm7445-xhci", + .data = &xhci_plat_brcm, }, {}, }; -- 2.17.1