From patchwork Fri Jun 28 20:54:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 13716588 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CFE18C2BD09 for ; Fri, 28 Jun 2024 20:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:Message-Id:Date :Subject:Cc:To:From:Reply-To:MIME-Version:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=tr8ygTCAnr29jf1C/uyBX+E8f3HxDeDwZYQo4xQQD4M=; b=cNFRWzjp/zwKGhRPw734fs04Au L1vKS4P0me+D6JAeQtwYB6uElf391cKnUnT6ZkHXxLei65nHWb1mnHbVKjY9SHc1YcKLT2kZxs2oW y+LAeiD7zfzb9OE5r2RtGoz7LgPK64HdSNZ5nSTgyqKHSwZZzpb6vSPaM6Di3cdbdu/lh+cF6/EBe RLtkwKh7a4ZyeBou/dlk/7HW4VjEj8J+rNjUNFrkXHW6HoHsLwgKOD+Fy6KReHYxLnoe6x7YXKsVf VVoCnwDJ6VCfF2buMOP9gblj4Zo5vzXmkp7fW1eAbRZxyh6pnSg6jE8QOvXxIz8K0O336VezxbGLa V8aacu8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNIcS-0000000Ev3T-37F0; Fri, 28 Jun 2024 20:54:56 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNIcG-0000000Euto-2kQC for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2024 20:54:47 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1fa55dbf2e7so6615675ad.2 for ; Fri, 28 Jun 2024 13:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1719608075; x=1720212875; darn=lists.infradead.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tr8ygTCAnr29jf1C/uyBX+E8f3HxDeDwZYQo4xQQD4M=; b=TO231rkAnasYsYEa6xr/EQXuEEmzY0uwDfEUjhW93PAQbeJWyfOpdXFMXJDV3MkSQo fxfnps5lqzHlKvcUGgQe8SewgxNFnpV1wbznjaDjNVDmuBhjW6nWc1YijQ+m/2+fvRXN 7LGTBGREvxug0++ghEZUaGXN0HWHnhJk87AaM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719608075; x=1720212875; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tr8ygTCAnr29jf1C/uyBX+E8f3HxDeDwZYQo4xQQD4M=; b=Zcv7OcUnK5fAjnJwyzaDkSk+Ls8g2X/23J0/npGBoQdOKWa6MccNT4HdT9oE2c9oDv tiu7b/aVbe8eis7qK3LG5L4Z84Or589WW4IpvtQeIllMNPa0MhAwMXfF+0fGThSGtVca bvzX6Ensck5OXSu5xPLpm7+MGa9R155IbQ0zTU4zTBFxxbH4e221Jky3OvvlWu0upPBs aGZEzGAkiYwbKiB4BhlxDSqxrXaDFUV7e/Lf8FBDn/D4xu5UjekcEDBm0QOwLxs+0vXl YSy5ZYZSXnzRHJ5npqyzvKMr4yZ4TisOlRSIYSqZQmSZm5BVYgFvBaiidCi87i6gpo/r pCig== X-Forwarded-Encrypted: i=1; AJvYcCXSiMZlUAV/KzIu4SyLYgC61/Wc5GQiHv4ZAsRE3Slu174/sfolqEp/1KbeTSif3Ns4T3VIGRnsXoW1NX/vbugl6JoGzpt/DFppScGcaFlc6Q3K35g= X-Gm-Message-State: AOJu0YwyQjFWfcdcV4H96auvFUU7AfT64cH9D9dBSEXrWhBrjskWAgPd zwoesHCCgpeLXO4iRqalQ8LKNc7J42WTY4YNyVwSZ4x4xj5nofr7N1ufuuzm9A== X-Google-Smtp-Source: AGHT+IExn1xgwDBp3uQgZDhc/WDI7h1Vwt8yV2LBBYABkESqfH4bzqU/+lbwF5sN35wJVioUwkVO6g== X-Received: by 2002:a17:903:22ca:b0:1f8:67e4:3977 with SMTP id d9443c01a7336-1fa158e5e78mr157015725ad.34.1719608075590; Fri, 28 Jun 2024 13:54:35 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fac15393d1sm19695135ad.157.2024.06.28.13.54.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 13:54:35 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Stanimir Varbanov , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list), linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), Rob Herring Subject: [PATCH v1 0/8] PCI: brcnstb: Enable STB 7712 SOC Date: Fri, 28 Jun 2024 16:54:19 -0400 Message-Id: <20240628205430.24775-1-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240628_135445_115473_5C78DA70 X-CRM114-Status: UNSURE ( 7.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This submission is for the Broadcom STB 7712, sibling SOC of the RPi5 chip. Stanimir has already submitted a patch "Add PCIe support for bcm2712" for the RPi version of the SOC. It is hoped that Stanimir will allow us to submit this series first and subsequently rebase his patch(es). The largest commit, "Refactor for chips with many regular inbound BARs" affects both the STB and RPi SOCs. It allows for multiple inbound ranges where previously only one was effectively used. This feature will also be present in future STB chips, as well as Broadcom's Cable Modem group. Jim Quinlan (8): dt-bindings: PCI: Add Broadcom STB 7712 SOC, update maintainter PCI: brcmstb: Use "clk_out" error path label PCI: brcmstb: Use bridge reset if available PCI: brcmstb: Use swinit reset if available PCI: brcmstb: Two more register offsets vary by SOC PCI: brcmstb: Don't conflate the reset rescal with phy ctrl PCI: brcmstb: Refactor for chips with many regular inbound BARs PCI: brcmstb: Enable 7712 SOCs .../bindings/pci/brcm,stb-pcie.yaml | 24 +- drivers/pci/controller/pcie-brcmstb.c | 330 ++++++++++++++---- 2 files changed, 276 insertions(+), 78 deletions(-) base-commit: 55027e689933ba2e64f3d245fb1ff185b3e7fc81