Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1685594pxf; Fri, 26 Mar 2021 12:21:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHs30JveCM4s8XVvFBEAmtzENoOSUhtVemzUQHQ4YFByukWrMwj4JdvIv4je0ZCdC8Te4i X-Received: by 2002:a05:6402:3587:: with SMTP id y7mr17618875edc.54.1616786478749; Fri, 26 Mar 2021 12:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616786478; cv=none; d=google.com; s=arc-20160816; b=U5GPxYDlZy3PcW1KEZpiV9s0aPUmLYcocW+2gGlm5x5OBMrE+mN15cu2o0XE+KEaqI qO+qhQnk87Q4jGwtpiZoIo32Kd4mJ1pSvzJydq4ZPO7+RezgEdBYV1V+gL/mpA8GBXu7 QqV+sGyMuUcMTeU2N8E2N0x3imMxUuiuLrHOsZEFo0YR3feeVfsKup256rAjupz7/U8K Ur74hmIfm35CzwUS1mI6xuwSPYxr3NCPTxE2q48qY6hsY3VHBTbpPWD8xZmdOnoNFMrj yYOnJcbsiRZrnY0J4N/TvkxAI+sufsyJiZtOkMKFiazb/3oPhuHeV16mAeTgjiRupdXu NeNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=Ml2lWLGpOaR2MEq6nedJpA3igERFdLP4LEElGLKkZws=; b=vZmHU3WikdOSiPR0E53jvq7ZTkEMFZyiDdzzGW3SsCWDXmpkeATEVuuFU7t2woYId0 BvhdGfgyNkz4vuYXxrc9mkjur/pSSyfS6TcfFkvypGqDYaCg/zPgkBBou9604ne+1uJi UD2DaAbnPS8WGlYoHScOpYNpqc45o/k/vVBqEj/RRbJyb+WOL4pqpA0EVOWnJDkb1EJ2 w2LtkvSEULMrTp7Z//edcv6KhhKDOphX/UC7PG3EeYLbEJyTibZYEDyynTpkXrXJ1Nzh ANvlLhUAuWd7X+WyEhS7jsxWNKOxMlNTL6YiMV+9GESYk05ET3uebvG4MGtkPiJYQBiT alMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cK8RSpvd; 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 dk21si7588165ejb.324.2021.03.26.12.20.56; Fri, 26 Mar 2021 12:21:18 -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=cK8RSpvd; 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 S230289AbhCZTTz (ORCPT + 99 others); Fri, 26 Mar 2021 15:19:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbhCZTTX (ORCPT ); Fri, 26 Mar 2021 15:19:23 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6F4EC0613AA; Fri, 26 Mar 2021 12:19:22 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id bf3so7524732edb.6; Fri, 26 Mar 2021 12:19:22 -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=Ml2lWLGpOaR2MEq6nedJpA3igERFdLP4LEElGLKkZws=; b=cK8RSpvdKDjYYJfpCu2ltYA9ueBdewUw857Bv0ho2ruAvtG17DBnqm4SdJYlCHuCqS pkRvF2F1vJQ7F0/d6AimMoKDaJaRT5gBe8xNWjh6iLHOA/pnfenJd0EPm4yovbCm8W5s wWMUIG9GBhD+fUB5Xi4ZiMPoZs/4PrriOTHmkMhhGx+IqpnWgvpIFQZnvCKaS1zogxP8 H8XLh27ZWl+LWdNxIwffLSYc1guHW7McbVlaE53rIvGJSnUTdRy+fkZSo5gzWx0PsKzE fscT6tG8dJ5N2Eh+moldHJapqj4aNrFsyDltJEy8TsfY5KfB2WdYiETICqEuAYy2ML6d zu5g== 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=Ml2lWLGpOaR2MEq6nedJpA3igERFdLP4LEElGLKkZws=; b=LambhKsnV1InDIt7uRtvGpDRgWvfPaCqTrqUHcp3YwhC7nOLM63bzlEiJ5a8zOG1X1 Jep9w0hEVI+bbkjbGvbpyxyn6rWPrGTh6TB9RvHnRCTL+nIQnZvxZXRKATh2Z8htO2+W 7dBB3NXCTg/8WXFlH1YwAFhD0OB4Hegg1DyaqlqY/MziUTh40PLJmlX2Cv32MSouWL7g mHASx97ehPekJ2zEjEF+MDml/fWdycsMvEUaFdHjc+LjKvNkXWb/VC/nWWhvHGOZZZEc Q94iOGsUNIZuHBTq+71OSD0ptDemOVpuwNlsYJJNd/MBQutGL3hkRP8fOiFB2WChB2pE nEWg== X-Gm-Message-State: AOAM533Qryc2N3GKyAG5YdXp7iPCnvj/U/Cg89o7HGFcNTwILgVpWmoW 0YCnSeDY8HHpWS+8+baqBCn724WzuXg= X-Received: by 2002:a05:6402:1613:: with SMTP id f19mr17182438edv.222.1616786361397; Fri, 26 Mar 2021 12:19:21 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id c19sm4739373edu.20.2021.03.26.12.19.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 12:19:20 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Rob Herring , Mark Brown , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: Lorenzo Pieralisi , Bjorn Helgaas , Florian Fainelli , linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3 4/6] PCI: brcmstb: Give 7216 SOCs their own config type Date: Fri, 26 Mar 2021 15:19:02 -0400 Message-Id: <20210326191906.43567-5-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210326191906.43567-1-jim2101024@gmail.com> References: <20210326191906.43567-1-jim2101024@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This distinction is required for an imminent commit. Signed-off-by: Jim Quinlan Acked-by: Florian Fainelli --- drivers/pci/controller/pcie-brcmstb.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c index 89745bb6ada6..9c8b922a9c19 100644 --- a/drivers/pci/controller/pcie-brcmstb.c +++ b/drivers/pci/controller/pcie-brcmstb.c @@ -260,6 +260,13 @@ static const struct pcie_cfg_data bcm2711_cfg = { .bridge_sw_init_set = brcm_pcie_bridge_sw_init_set_generic, }; +static const struct pcie_cfg_data bcm7216_cfg = { + .offsets = pcie_offset_bcm7278, + .type = BCM7278, + .perst_set = brcm_pcie_perst_set_7278, + .bridge_sw_init_set = brcm_pcie_bridge_sw_init_set_7278, +}; + struct brcm_msi { struct device *dev; void __iomem *base; @@ -1336,7 +1343,7 @@ static const struct of_device_id brcm_pcie_match[] = { { .compatible = "brcm,bcm4908-pcie", .data = &bcm4908_cfg }, { .compatible = "brcm,bcm7211-pcie", .data = &generic_cfg }, { .compatible = "brcm,bcm7278-pcie", .data = &bcm7278_cfg }, - { .compatible = "brcm,bcm7216-pcie", .data = &bcm7278_cfg }, + { .compatible = "brcm,bcm7216-pcie", .data = &bcm7216_cfg }, { .compatible = "brcm,bcm7445-pcie", .data = &generic_cfg }, {}, }; -- 2.17.1