From patchwork Tue Jul 16 21:31:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 13734972 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 435D4C3DA49 for ; Tue, 16 Jul 2024 21:33:05 +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:References: In-Reply-To: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:List-Owner; bh=OYSsCAz7S+yXbZBqWYadSkWG35XvlE7VZo7zKuSLnEA=; b=p4/HtOvsl+ieI46HsSz8XnvnG7 Gz53RUGQXEY3nmJ3SJMdM++QMMQa1jAXGwQmnx5qIz/b9DsGh6At2ffxOvGI3kMAowcs24fxe9z39 FtuZRdyh87PV1DVgIbtYsGMx0p/+7WtqhQwHIzKLUsrsbg9tKIE+M5ZFUV33FVZ2MGYInVju3L/sZ VA39sqatTLtwG1HX8wo4c7OfdLe3rzyralotAV44am+xcM+fIjHqivgCQ56L2aZPc/Zyfo7ua6lN2 8jAYE1peaG+4MBFvxAdfLCdhP5gzW2aAvCiQyJgjrTET7O0NDWngYzoxTm3a4f39ozz1bK6TORRYZ ELP37+Eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTpn2-0000000Bpgu-3im5; Tue, 16 Jul 2024 21:32:52 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTplz-0000000Bp8Z-2CXk for linux-arm-kernel@lists.infradead.org; Tue, 16 Jul 2024 21:31:49 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-70b12572bd8so4179824b3a.2 for ; Tue, 16 Jul 2024 14:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1721165506; x=1721770306; darn=lists.infradead.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=OYSsCAz7S+yXbZBqWYadSkWG35XvlE7VZo7zKuSLnEA=; b=LZTVCsCyR0trWVbL7IUsOasAZKYjRKhvcnv26XG0HfB5Aw0EntCjqXbgFo+bVQSDd7 hIePoTeqzTUOPz/3iCTsNBloBCCwKM07NXq0iyGeKsVWwzSQ1PIwFlEPIrnwh6rsJqqc OaexR/EunTuUNK05tP8PFBSocLxtu/uQiAsNs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721165506; x=1721770306; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OYSsCAz7S+yXbZBqWYadSkWG35XvlE7VZo7zKuSLnEA=; b=LNqkJbMC7b92eIduh8FlRCShIiiU40pohDAF3RGdY9a4wda1aWTNAM2ojGSwJRr00N RWjbf5PfWuGqXr4rkPyz6glmZHOTqzn51zQRniSrHmBVOLgA7UH5ioz+08ZetvrBe8W6 UouKFbM/CmlFAJnR6sHNXcZ2lg3Qv5JWyMGTUVyJiTR5Ye6rcg8LycATYt4aQbRJaBWc H41f4zhpRbdLPV+cdmbb2gIbc4R2K9/GrDBtw5pUWszSvHETs5ReF7LI2orAEwDy2vtQ Hb7FASOOfLFmwCwz3oF5WJCiEoTqshFT+I/H5tCjkJsVFX68ag6j+r4vmW7Mj8LKDt4O p79w== X-Forwarded-Encrypted: i=1; AJvYcCUgWTosno/7LN+n6/tYOOTBGpXc0WaOXyLJ6M5VTJAxyuRmYPRfLsmdbsgIvcicTUxMv4cnvZCz0T7D/KaxusqWB0MCCq1A9opT9sXFyMyBGvc/XCY= X-Gm-Message-State: AOJu0YxjzWTTbQknh/dP/w060/0iBG9HIlFqHssQdo9a6omNEdcOzcbc mhtoV2PQa9oc6UsGMB/YdbK6iKoIz65QQSKrd5YOq3BYBQiOg79QgFMK4t30eA== X-Google-Smtp-Source: AGHT+IFp7RQJJbzSuTE9Pz+MItT0xs2DAkOXcGXQs7Wfd4o+xgod+xaAMTG16F2VHo2wsj6wTqDAgQ== X-Received: by 2002:a05:6a00:b4a:b0:706:7052:205 with SMTP id d2e1a72fcca58-70c1fbae7e4mr3947866b3a.18.1721165505966; Tue, 16 Jul 2024 14:31:45 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eb9e20fsm6812828b3a.31.2024.07.16.14.31.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 14:31:45 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Stanimir Varbanov , Krzysztof Kozlowski , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: Florian Fainelli , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v4 02/12] dt-bindings: PCI: brcmstb: Add 7712 SoC description Date: Tue, 16 Jul 2024 17:31:17 -0400 Message-Id: <20240716213131.6036-3-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240716213131.6036-1-james.quinlan@broadcom.com> References: <20240716213131.6036-1-james.quinlan@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240716_143147_572895_D846BADF X-CRM114-Status: UNSURE ( 8.94 ) 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 adds the description for the 7712 SoC, a Broadcom STB sibling chip of the RPi 5. Two new reset controllers are described. Signed-off-by: Jim Quinlan --- .../bindings/pci/brcm,stb-pcie.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml index 692f7ed7c98e..90683a0df2c5 100644 --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml @@ -21,6 +21,7 @@ properties: - brcm,bcm7425-pcie # Broadcom 7425 MIPs - brcm,bcm7435-pcie # Broadcom 7435 MIPs - brcm,bcm7445-pcie # Broadcom 7445 Arm + - brcm,bcm7712-pcie # Broadcom STB sibling of Rpi 5 reg: maxItems: 1 @@ -100,12 +101,16 @@ properties: items: - description: reset for external PCIe PERST# signal # perst - description: reset for phy reset calibration # rescal + - description: reset for PCIe/CPU bus bridge # bridge + - description: reset for soft PCIe core reset # swinit reset-names: minItems: 1 items: - const: perst - const: rescal + - const: bridge + - const: swinit required: - compatible @@ -159,6 +164,27 @@ allOf: - resets - reset-names + - if: + properties: + compatible: + contains: + const: brcm,bcm7712-pcie + then: + properties: + resets: + minItems: 3 + maxItems: 3 + + reset-names: + items: + - const: rescal + - const: bridge + - const: swinit + + required: + - resets + - reset-names + unevaluatedProperties: false examples: