From patchwork Tue Jul 16 21:31: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: 13734971 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 9FC07C3DA49 for ; Tue, 16 Jul 2024 21:32:37 +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=RYLh2kS0Hk6kVODI+QdFOthNg8ep3JeSyGyaPKf773Q=; b=ezzbCyjHSmcfnqgzZ6iUBgXilq ueP/k4Cmq9elPQ3KzJ6lgZ4SpS9HKTms/NVTLQ+6Jr1VUf3SPsQqXA8ps0ROn2DLSxi8qeFWxavoa dAna6sE2vCExRsDHjfvJPBqWpXsKc+rUL+arvDgPHdQ2pIN3vwMV9/Y13JwtTU642hY0eQpPajX4D u8BddrHBVNFpALqBz0SjaXhHrKCbIdy0E9MHvaBcXt9SC1synEBa2+04cD14YjcAcEqdH8bos/lNI mjTizcDHA17UifCKTuLqPo23btmBwM+snEK3zROl5G+yQ62EYAOpAaRixp6iIzn6z4OFNym00gToa 9JiaCe8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTpma-0000000BpUR-15OY; Tue, 16 Jul 2024 21:32:24 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTplv-0000000Bp73-1V1v for linux-arm-kernel@lists.infradead.org; Tue, 16 Jul 2024 21:31:45 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-70b0ebd1ef9so3990271b3a.2 for ; Tue, 16 Jul 2024 14:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1721165502; x=1721770302; 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=RYLh2kS0Hk6kVODI+QdFOthNg8ep3JeSyGyaPKf773Q=; b=G7L7JWcfmerNYCgMMIszr0TDkH+II4S7FaIHka9kWYEfJH4KcCunAdsHDvXhzC6QVO 6F5WbOUCk6u7ODhYMNkopNA1U3psazDC/tvCe7VgA2seguX/Cd6+z++OJZZV3N56wAGi nPAaZVC4qy81dQ1pKzrEEmQBZdI240/EnLcl4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721165502; x=1721770302; 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=RYLh2kS0Hk6kVODI+QdFOthNg8ep3JeSyGyaPKf773Q=; b=IzEMP/k39RvweYXl7uDDO/2T2FL9tvoraqI+HhfadQtgO7+vtX2gPuqq2W8sOsbJDI TGj48dzdgbs+8CerhuO0l2azvyyhHnaxsabbA2CuCfW3d1dUAtme0UMWFZh1jSm1MQIH 7uQinC/8cu2UI3TcNSkVhdR6ychcrhsih0Z3ihpNLaPLKBvN8h9LveQbUTHelAIx0LLX 4GFk5SpeQAJGHkdHSp6FlloJu13tYUmgt/AIDCMbHxgWth2QCpzY00Wxe7j2nmsc1kLV EsluGXWYPygDKZIYVb7RP3nE5+c86VFkI38eZObCCeN3KIwg974M3Ni6tczIDTix16gY K9mA== X-Forwarded-Encrypted: i=1; AJvYcCXnKt8CWnrrIYHnjZqWAFVrzqozGWt4HFuzY1loXkxxaHeuSHIS5IcCXYXYs70XGvZjEyOaSI5CprcXls0c9nl9BxAE0LNe9phtE7kbD+XPTI3fScI= X-Gm-Message-State: AOJu0Yw/eDrDAPQv4TjTDu+We4Wp/l24hhOJ5L9M/Xp3blVnzhq3vbLv zoNQELoBRGghHNDowwjb9SMWLW8sykBwMNMZEQQT9LM3qYfP37yPqpCakE4mWg== X-Google-Smtp-Source: AGHT+IFAbgMBJWTR284rg5DQPqBL6wm6WpTqDyeiwCkGF68kwS0hpiUPe8UG3v0jBLjc2M1dUDLlHA== X-Received: by 2002:a05:6a00:845:b0:705:cade:1f40 with SMTP id d2e1a72fcca58-70c1fbd91b3mr3657546b3a.11.1721165501997; Tue, 16 Jul 2024 14:31:41 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 14:31:41 -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 01/12] dt-bindings: PCI: Cleanup of brcmstb YAML and add 7712 SoC Date: Tue, 16 Jul 2024 17:31:16 -0400 Message-Id: <20240716213131.6036-2-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_143143_442353_BC76C79C X-CRM114-Status: GOOD ( 11.76 ) 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 o Change order of the compatible strings to be alphabetical o Describe resets/reset-names before using them in rules o Add minItems/maxItems where needed. o Change maintainer: Nicolas has not been active for a while. It also makes sense for a Broadcom employee to be the maintainer as many of the details are privy to Broadcom. Signed-off-by: Jim Quinlan --- .../bindings/pci/brcm,stb-pcie.yaml | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml index 11f8ea33240c..692f7ed7c98e 100644 --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml @@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Brcmstb PCIe Host Controller maintainers: - - Nicolas Saenz Julienne + - Jim Quinlan properties: compatible: @@ -16,11 +16,11 @@ properties: - brcm,bcm2711-pcie # The Raspberry Pi 4 - brcm,bcm4908-pcie - brcm,bcm7211-pcie # Broadcom STB version of RPi4 - - brcm,bcm7278-pcie # Broadcom 7278 Arm - brcm,bcm7216-pcie # Broadcom 7216 Arm - - brcm,bcm7445-pcie # Broadcom 7445 Arm + - brcm,bcm7278-pcie # Broadcom 7278 Arm - brcm,bcm7425-pcie # Broadcom 7425 MIPs - brcm,bcm7435-pcie # Broadcom 7435 MIPs + - brcm,bcm7445-pcie # Broadcom 7445 Arm reg: maxItems: 1 @@ -95,6 +95,18 @@ properties: minItems: 1 maxItems: 3 + resets: + minItems: 1 + items: + - description: reset for external PCIe PERST# signal # perst + - description: reset for phy reset calibration # rescal + + reset-names: + minItems: 1 + items: + - const: perst + - const: rescal + required: - compatible - reg @@ -118,8 +130,8 @@ allOf: then: properties: resets: - items: - - description: reset controller handling the PERST# signal + minItems: 1 + maxItems: 1 reset-names: items: @@ -136,8 +148,8 @@ allOf: then: properties: resets: - items: - - description: phandle pointing to the RESCAL reset controller + minItems: 1 + maxItems: 1 reset-names: items: