Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1003510ybb; Wed, 8 Apr 2020 14:23:00 -0700 (PDT) X-Google-Smtp-Source: APiQypKH0/jWOwD0RSTgJ6/acCPVTP0OtADYhIvwzERzn1Ra3QDBK4sWKLda2QRTzOJ6n/mjnMSG X-Received: by 2002:aca:574a:: with SMTP id l71mr4015458oib.148.1586380980124; Wed, 08 Apr 2020 14:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586380980; cv=none; d=google.com; s=arc-20160816; b=UsSlgULgbLNRtPlRaVYwly8/eKCo5Jm5MhAPJvCuEAoVjulRdgUXI7Buknwqfd5YFm G1IN+n0sob3VIUQziKGu6BjsaQe4r7cLbcZlC8Hzxga7PIU8/noJmDbXZAnWAWlVCowc 5kZhVw5O++NlmRwY70+FRhgywGTQTUr9zvhb1g3RiAr0h5cdLHwBRCnzhW7hW+ivIlcd z2CELm3xUvRA7FMo0sny0+O2N01iJIQoHJgJeTqMbq3j0o7DuVCEU3asvA+qqY9/jJeB LQtU7UZbzotkRoYvLGp9YbUCjAr/T8oByZ68FLG9gANN3ydrKjBb0UXd2oaeWZ4gEsq6 qE3w== 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=8vldV9JJykEkruZKth3hZnteRVICe4AENDSg+Cses34=; b=hoecww12NT7dkfgwpu75xQLI9RTEg6a6T/mrEYdpBxA2KMAGKrWRG7kBFRkAMWhbPh Xodg3m92HjM+zy68CslsfMvhFuO5EjhcH1SQJyWS9dCgb5LpiRIOlYZOaWhBO4OAy5e7 7nmdNuEsWjAhMALQQITJeahlX3qTIJctgMTiHsx5AVjf4HYV2QUVP+JfnH+7gnMkPCne s9ja87spF10CmTW4VMmzK/uisYckPv27HpX5Xxs6fFNu1NE3jIt7x4J2FsjTTaM9ta2E +xxZozHYiKwUsMIq3i2PM/6u5/bqM4OXm73UpHGE5xJKITsPX+t5TveMg+R0Z78vHUxV h4bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pppe01No; 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 w79si2876549oif.21.2020.04.08.14.22.48; Wed, 08 Apr 2020 14:23:00 -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=Pppe01No; 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 S1730644AbgDHSOu (ORCPT + 99 others); Wed, 8 Apr 2020 14:14:50 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42157 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730638AbgDHSOt (ORCPT ); Wed, 8 Apr 2020 14:14:49 -0400 Received: by mail-wr1-f67.google.com with SMTP id h15so8968362wrx.9; Wed, 08 Apr 2020 11:14:46 -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=8vldV9JJykEkruZKth3hZnteRVICe4AENDSg+Cses34=; b=Pppe01NoQ9wjByFo4RxMIwrmC3PVJTi+a+oJj2ggrC1zqPg5ES5gGVhg3Mo7G4p6Zr O04YuP4l3wGFqLGXf9v/TFEP3Fxm3u7o3k3H/BGhPnJbo3zErCQEF1bi6DpYh+kEkkHv 38IZtuAfSLvaPkbN3fNXOMKxKae9Ue2OgOfI4Fw9AABXsLNueNLltR/RHUpwHvpFCSgI mNu7Qe8sz6THA19V7JwmoZ6BXSbPDNWCseMdZmeljFcFd9As4a6XyB5MT4Ia3M+JIlop lPzimqydfWcpSM7IObt2RLGkp+MbSPv9xr37kcSugsDI7F3K99oywzG5AUKL4zdxEXn0 aHIQ== 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=8vldV9JJykEkruZKth3hZnteRVICe4AENDSg+Cses34=; b=VxQ+J4Ue3ahyGEM0bH8iso4CbJT/EK7T6RupPlY7TzhVrqah7DHvN4Av8bZyWTAw2K N6OeULmqzwdgvGa1iBVnfnoxFKJDSC7ASi/cyHaTXdZ4i+gbU0bb21DONNLEdCyC5v5T BJGF+UG6SBilEyRuhSLTTQ3A5prRx9834IedsNf7xpKCsidK/moe8QH0lfD7yUknXLFt li35m0poL6I2nyElSRio7uz5NRC2p2+856lhWWnRwRC//Xyvmiwu32U8tiyLaUn7Ju/z GQ+Iv1WqEaUHu5M1/NKpUjSqNk3JCeTCitVY+RXqJ4tNh64pE5NxMVqdE6hT6ReOsApD eB/w== X-Gm-Message-State: AGi0Pubv2qkR/agI77xfs9copMcMTAuFSWKHSYMv+XO4MkfP/ZVl9nL3 dmd9wCvvz03T76crFPJakBto/LwfpKw= X-Received: by 2002:a5d:6102:: with SMTP id v2mr9598460wrt.298.1586369685286; Wed, 08 Apr 2020 11:14:45 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 11:14:44 -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 2/4] usb: xhci: xhci-plat: Add support for Broadcom STB SoC's Date: Wed, 8 Apr 2020 14:14:04 -0400 Message-Id: <20200408181406.40389-3-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200408181406.40389-1-alcooperx@gmail.com> References: <20200408181406.40389-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 --- 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