From patchwork Thu Aug 15 22:57:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 13765262 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 7BA27C52D7F for ; Thu, 15 Aug 2024 23:00:41 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WH+rdrTcxkg59J1njd2uJ3iEEueSc8kUH0E7SDV6ulc=; b=pGd0gieIBJxy1BH5TemKo0sHbe OvXIEqjzPnpUR3OtC5A658wy2j3wEmaaCoPq9+zGyljGv7BLGNRpFtB04du1WMw1Quuns6sSxgM5J Yu98kXhyv+a2vGt5EkbBDq+y5tzeXuuakeUTwUumknpPw23JI13RTeFfV4KjPANkL04kx+cOwv/uh +rZiYJD3nNRzyVWSANF2Xh/yF3KLZ0N21c27hpyujiUdQTduhBEFDfp8GhdyjQaY6frWzlohedq+z mmguEvRuXJmub9xzN9MlpqPtOUiw1AcAMziP/YxqYvWxwxPQCKHt9tPlN39QJ+tt384FkAqEWVL2T N5QNq2Rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sejSJ-0000000BExE-2NTt; Thu, 15 Aug 2024 23:00:31 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sejPk-0000000BE0R-2lDZ for linux-arm-kernel@lists.infradead.org; Thu, 15 Aug 2024 22:57:54 +0000 Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2d3ec4bacc5so8930a91.1 for ; Thu, 15 Aug 2024 15:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1723762671; x=1724367471; 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=WH+rdrTcxkg59J1njd2uJ3iEEueSc8kUH0E7SDV6ulc=; b=DaWrmjmxcQgyz6vJmGKNXKrXJPSHAYkHko5TmZO33xK8EUB86mpwyqsLQ2Tgv1nu4z /uJCNKmVo66dIWgVf8k4nHY31VWlpGtJFwn7N4M90/hg4tVkElBZwyly1kUA67P0MpXB M24xcerYPMOjRqXcxotwutec924yS3MRxS9aQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723762671; x=1724367471; 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=WH+rdrTcxkg59J1njd2uJ3iEEueSc8kUH0E7SDV6ulc=; b=al1D866hf1wZRAzrV7xTNDFkkFp7vHPjWaTQxFdMRlMI1waxST3cnLEqlwwgMTQjRI 58CeygufFweTWgD3iYUT8lIAEIXDOgzso2D0CXCkXgv0awnQ6fVIhj4Y1TgBPSLujuAy OprgGcgXbyX/B+colPWCva6TcbQtD4JqVkHqC/WUTF7Vp3MENLgsvTXzPqrBIFMYcjIN teVhBjp1dsI19JpwHdN6cvXcAfPie7iY5XuNDH57gabnPMpVUr6hPqhU767d3RsMMAvC RuSixMl98QuqFBsoCZVRqgjWKismvocl8krrBgTyW0cWDyTuZtsRPGe1DtFM14tgp6AI e8dQ== X-Forwarded-Encrypted: i=1; AJvYcCUYl9QqFk0nqVaUskCx06HckFcnqLGfw7Cp2wwpzlgLq2Aylsi3kkGhUD4QQXSEBqFCCg4aeoumfe28uRPG6YID@lists.infradead.org X-Gm-Message-State: AOJu0YzRQD/5zRfH/tQvXfzHY7YBkmAp1GBtpU0oWxaS8z3jtd5Rc9bN RXT7IIc5IA1MdaGRlryXQcoaX9SHZ/GkzlTEdHWlc4BVgY6aUX7VEg/BTANl1w== X-Google-Smtp-Source: AGHT+IG376HhZUZrhW7Ph9mF+C01Bg0t7yn8TgdDnPPnyffSrZWUI6fa4Ar3i5RUImonP2U2TFaBsQ== X-Received: by 2002:a17:90a:b114:b0:2cf:f860:f13b with SMTP id 98e67ed59e1d1-2d3e45d598bmr1129974a91.17.1723762671402; Thu, 15 Aug 2024 15:57:51 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d3e2e6b2d1sm373997a91.18.2024.08.15.15.57.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2024 15:57:51 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Stanimir Varbanov , Manivannan Sadhasivam , 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 v6 03/13] dt-bindings: PCI: brcmstb: Add 7712 SoC description Date: Thu, 15 Aug 2024 18:57:16 -0400 Message-Id: <20240815225731.40276-4-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240815225731.40276-1-james.quinlan@broadcom.com> References: <20240815225731.40276-1-james.quinlan@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240815_155752_713440_9BA01AF0 X-CRM114-Status: GOOD ( 10.78 ) 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 Add description for the 7712 SoC, a Broadcom STB sibling chip of the RPi 5. The 7712 uses three reset controllers: rescal, for phy reset calibration; bridge, for the bridge between the PCIe bus and the memory bus; and swinit, which is a "soft" initialization of the PCIe HW. Signed-off-by: Jim Quinlan Reviewed-by: Florian Fainelli Reviewed-by: Krzysztof Kozlowski --- .../bindings/pci/brcm,stb-pcie.yaml | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml index 7d2552192153..0925c520195a 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 @@ -96,10 +97,12 @@ properties: maxItems: 3 resets: - maxItems: 1 + minItems: 1 + maxItems: 3 reset-names: - maxItems: 1 + minItems: 1 + maxItems: 3 required: - compatible @@ -151,6 +154,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: