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: 13716578 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1B3C7BAFF for ; Fri, 28 Jun 2024 20:54:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719608078; cv=none; b=cnDFx4zD/a63EsHcWXXGBHUUzEuUlmCbzVWvVwqcrY9PMOVtQwWCqtX8XsyKybduKM7e2j09bPZ4ieG9DdNDBuR6HGS+6rtsv5w6pIjfDsFi93pSKL0NveMDoAmjmDe0eVP8ADnalGMzECsZLk/13z601WOBOiS9NBC+hqNl+3s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719608078; c=relaxed/simple; bh=B2mdoDWNcCRN+7aIADqLKhtzK9wfo39canL2/1ZjU18=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type; b=qz0+HU6l4klT1yTr7FnsXLvSNTjeKzU28o17L3k6IJgtteBawXFWJoGJmcu8o1cSPAe/gq6AzGjGPTSQN9xWGkfcsRndxyLtCdhvIAqPBzEXpA6FLYbUFGaFSdCS3m4Lgik+LTezeCiuw99fHWWgD9eq2NK+TlB3PmRbhX6ksZ4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=TaY9Q71R; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="TaY9Q71R" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1fab03d2f23so9195335ad.0 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=1719608076; x=1720212876; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3RPVwYJNELaszoW/OWI9f8uTTnERLOZ6dUTsbMDaqW8=; b=TaY9Q71RKDLaB1IBBSlKsMHC4b70/yyms/ahmvOW38brQqofUBiOJ/1SmsiZEo05Lx eIgQkBzHZu+nsTNguiiBttjGvj0jR/IDYeV22ogFlBXDtWy06wBZIIJreh6erqScgecb WaN+Eo8pWWbcGKLfnb16yE695PZVZmAmIEL1c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719608076; x=1720212876; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3RPVwYJNELaszoW/OWI9f8uTTnERLOZ6dUTsbMDaqW8=; b=VZnNaTbVghtS+4q+rj6xwMVFnFSBsR1yfskDbCpTZrMeYN+F37dbsuVArVL2qUqSet yTInkEFiBnF+TsVeCqoYwqOwC6vK6yysOF6qdFLIuGzjR5BktFEKMGwlGQyk+XhTkXv2 fYGSSfEvJ3/jesqC1zxmazrywb9Jsag3GgJm2qZwXgitTluyrPd3uzldx2my19GpSxF9 BGZft3+2Gm2YxVdeSHsOY/3Og1vrY7axoPsuDQFypgHlVFc3IH0nfDlFuQHrFs4FheuV jyk8U8fF+INtJxSE0KaDhZ7TVoEQvg3CgPcpDZCJ72lbw1ZsAHGgCGbfMaG+d7kwpRdC h2Kw== X-Gm-Message-State: AOJu0YxoNd/ku7a1WYZ/o4XKPnOjktoxgbKc57b2suu6z8WnTG5Nj6pn p8Akg0MTdBTNLn1bRWgg01O7tOazZ2ZHMTe2UnqzCqyWYFs9tzn3P7daaqob0CBGqqay12AaYv9 M6zixOPGrBS67hHb0yyI2VDY3xtPz743vYm3q61SSvsMfBlAJRYZP19Fu27IzAKPFGk5s2rQBnz 0yC7Vzusl4sV36kdm/aF4Oh998VawX6dkGJ/F1Xu0oo11oY+Ef 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 Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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