From patchwork Wed Apr 29 17:31:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Cooper X-Patchwork-Id: 11518021 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DAD4292A for ; Wed, 29 Apr 2020 17:31:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C0864214D8 for ; Wed, 29 Apr 2020 17:31:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fp7tzS1e" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbgD2Rbk (ORCPT ); Wed, 29 Apr 2020 13:31:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726456AbgD2Rbi (ORCPT ); Wed, 29 Apr 2020 13:31:38 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 580CCC03C1AE; Wed, 29 Apr 2020 10:31:38 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id x17so3545221wrt.5; Wed, 29 Apr 2020 10:31:38 -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=fp7tzS1ege8TEIXp3sxQeN/AA4eyLe6DeCJjyrJ8peIFf2ViCjzTDKtvTiLo9rckjB bWMJw3IZxOK6hInW0ote2hvJKyKjbAD93mTYtKrB5TEJiKfFamzc3FTsadbc5/ssSOuC 8rDfbJgnXxXecRfvQem8iGSfVU36ZULDzvFED8pNF/5BpbFln1JF/W3Rr/0ea3jXJMsC tqyPWUHKMZA85+kpcexixQpiI6ZhrP57FcMYAK23oFM/4/HExUxKGuQUW2FOaDt190tw /eqAj8acGVDT7GKO1vFGKxumnRs8dg2dxejo2/CViTqufBhxMn/qDjAHsdrKljXisA2j rvXg== 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=S+0D6DRq0Wi+AuAx7IvPCc6iksUGVe32sLToqiV1IEbzXbTJNzuL4DhePWfEiIg4/6 AXbpqZZDLfVzg/kt8fwRkdbmmrPgIJNGK/61YZsW89ZVTOAreQ0SYe1gfUzLz1eWcYtm Oq+pG5Z3CQeUx60w0OYyOR38hxCXLge2It0gDuLteDFIbdIcGoMdDmWGGtfVvgKjdjte /dAL7KVAox4b75+i9vUeluLrimMVyabPUt/DjvZWy2K9flpOATCseUsObOnILkWXQntg 8oKD7b3ngV/XXomJinikiyMBmVZbewN+iF3u5YhowtEAxwYzwEU7KdiMip2AeczIWiSL Ynag== X-Gm-Message-State: AGi0PuZeVzeaTPDTlziYnxXxN3xw2MkWvKNdsUKd5gp4BP2rVrvhhzlf bBryWfffCCT2Kb5CyBajIifHgBAGww8= X-Google-Smtp-Source: APiQypLt2LUmDoOaSoNkbDvsiSQvUo7WW6tWdwgxgNXSoRRT47yrfneK9/wa4tVhCUp6nFnxmaUrBg== X-Received: by 2002:adf:ed0e:: with SMTP id a14mr40073744wro.400.1588181496636; Wed, 29 Apr 2020 10:31:36 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id j11sm31177182wrr.62.2020.04.29.10.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 10:31:36 -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 , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mathias Nyman , Rob Herring , Yoshihiro Shimoda , Andy Shevchenko Subject: [PATCH v4 2/4] usb: xhci: xhci-plat: Add support for Broadcom STB SoC's Date: Wed, 29 Apr 2020 13:31:10 -0400 Message-Id: <20200429173112.38366-3-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200429173112.38366-1-alcooperx@gmail.com> References: <20200429173112.38366-1-alcooperx@gmail.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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, }, {}, };