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: 13734956 X-Patchwork-Delegate: kw@linux.com Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 60A0413C9A2 for ; Tue, 16 Jul 2024 21:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721165504; cv=none; b=UqMcVwL+E8/PF98U0kymmlUo09BdEqCKfgNzaD2hCXlSk5L9zJ+cJfWQ2DcuCiKlxv2U3VkbyNYxgG9RqjWU3LbcuUG4caUhNkb4BCzf8vbQthSEomd/Y/IUAS3UJQHObL26me4jMvV6rF7Z6q2VmL6AlnM7JZlawtfQqPynNvw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721165504; c=relaxed/simple; bh=eCfswRme4YFKrZ7X+FnoOEwVQYvvJ6qv3ncxh4yn9h8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type; b=hFzISQUc5pwkZS+Z9MPxv6kgb0heYW9LRMBVzjpNCpy2S1Vs7b+dVpc7XudgiVrWzc2RmCd5ayNxyjV6yFRopEP3LEWpFlq+M3fTf7dtwy87FRmFVLGKK+YVYB+wqmki3j1nX5btgRdYDCiCjNbsfRPuk6jbtGk/xe7gvrPKOYk= 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=FNdfj2c3; arc=none smtp.client-ip=209.85.210.174 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="FNdfj2c3" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-70af3d9169bso4188796b3a.1 for ; Tue, 16 Jul 2024 14:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1721165502; x=1721770302; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=B9W7jsq9CVi9VkZ6BBau38YraAqgcBTY1Ln+N9XWruw=; b=FNdfj2c3T12wD8UDnjHyxXcdWHLmGPoAEgajT1HYqOp1p2i4fiuK5DS8x16i50byf2 7BGvRO00iAX5LIfR/vLkfUlnzkuLtCOV5TCx/9KJxErxqufLmJMH3t2GTpFRAV6zGRBh AjXdBqaIHnmZuMAa6FSRo7TYg6b7KnHLuQDJQ= 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=B9W7jsq9CVi9VkZ6BBau38YraAqgcBTY1Ln+N9XWruw=; b=G54JBIYYYCoM6CWRSD7yd7Coxtkv+BTs0aMp5GW5WTMic/K6B58Qc6TKaRfBp+AZ34 7tXxYDXoOrTnqJ/RXQVuppS06i2LqMuo7x4c/hCcfXAB4ZuLfP156o3dsquD2oUCAe0N VSlKMaV9jG8uFXDN3uPeUf/DOMWhZg7/cD9OUj8DVkdajYdbpsSmu9jlm9YRnFMqxBsF DSuLq2WYAtDK1Ea8QYAlWukCDPgd+rjjmrkF9ST1BRtN4yjY+LNTto5rNiNVVpQCRTgk uexPr01jOXAb3wdfguO648VaOd6NwY8KV6ZPnkNQqRaeza8s40bcQsyOA4AYX0q1hDzz GSyw== X-Gm-Message-State: AOJu0Yw5g0jcrpSi82rBsLSqhZrw6MnfC9UR8zkXWiy+TlupUqoRjOy2 gNPeaABIlNaxVAhlUo1rksExiYT4XAA56agASeeI1xI8De5ljN7g5AYrQmoUWW76V+K+dx6SGcY POAEKpQi1IGDaUmGKQAztKSnqEjPhqSoEtsDTCp3T8wvuy1NVhCEM8I1/4900wCpi+HY5GfDSdR 9QpSAAY+KFZGOGhv4mnwXwOWGWw4hUiMgSSh4YpD/RTHuj4g== 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> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: