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: 13734957 X-Patchwork-Delegate: kw@linux.com Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 DA72313A896 for ; Tue, 16 Jul 2024 21:31:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721165511; cv=none; b=hcpr+GngovdZCg5rJOprHOVLHVFmu5Yr8rBQuo0Nw/sX2+dL9YhW9eJ60FW5DgeLXVWg73afvPGqeU7PsOQUQ8hwE8fZHrRKu0+J4zXp6b1zbUIHh0JYy/lRZx1yUQFRxyiZ9tmlWP3Jd/wBcUwuG57ykla4HTbS0U1t3D6Cgko= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721165511; c=relaxed/simple; bh=kKnnUZJyXGqhuFr6BHVZYXoYtdRaDyLIxu2kH0xjoWM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type; b=eBzkZaYfqMoZ9WvRoKtRhn9PDO4mfjL/U+GnXWhWH+P7VTjmiomwZP1MRX32GsCAG3uPRwRHwEqbBI9UlYgWCjX4h4Mne7RIbiJrz9NlZ3dcNRRJ7f3mCmtUtYuh7mKb8LLcRj/Vc10cn4OYnQxm/lWDiarcjCTU/2QHBGNoTIY= 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=Q9MoCqjD; arc=none smtp.client-ip=209.85.210.179 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="Q9MoCqjD" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-70b0bc1ef81so4049911b3a.1 for ; Tue, 16 Jul 2024 14:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1721165506; x=1721770306; 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=3iRTgQvgXi+06Xy+oFn4CK2G3uQzL4vLo5+4lrO0XRE=; b=Q9MoCqjDYRup5xMQpmvyKC297Z0JMFNF/F7Hh1HlsHI5dYa0NuK9az0MdBrv6gM8yl YDJOuTa7azZ/s1IjkIiukf3gXBY/8PLEc+Y8ZxVBy9NoGy2i8kItSv7cJGxhoSn+B9aT WtBr+1SGoFslHrDSA/1S4jqP/KfHa1MivibQw= 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=3iRTgQvgXi+06Xy+oFn4CK2G3uQzL4vLo5+4lrO0XRE=; b=mLv18iUc542DCQrWS0P7ReciZcYdT4zG8CjUxtay58bweVvoOSUYCksMMfM7YytYBc woSF2WuqHK4z8fkTMC2HBUdzDCEUOowRFZ/qLKan5gbC3pKKcOPo6KsSCSs+qLNK1dsJ QKumNuG2VmrYkTQ5VZL/Gr8Otz7IsVzvWdJkQjnOs+vMIkAyMblfOMqtH/F/qaBEKwkb W3r8gnPLxpoB+YoSdMyIj09AxmSXZVIik9sjDnvM1uITw0P/cmX5qdyhTwXqs0g6ht+5 aBFb9ZdCieAsjjDzhdDk2Q2U8bqJIuamvnnBKHsEPS8E02+LqkkiXEvESjaQ3fqWBvlc 8KUA== X-Gm-Message-State: AOJu0YwM+E4m3Ov7QhGQ+uEyE5wf5BcCCN42thYAhc349sAJl9P1oqjD qjjy3Zj9WBkaMwXZdxA+Vjy/oNsdOJuaxdKf0vfT3VLT166m5EGabyHA3x/QD1kuRUmhluXJqYk K2XXeTpzP0+ZLuwU05gVEsjJPCdXV2mO6u3ZJ7jAu5hym4iNqi8gBF1u4XsvdV6enRZg4ROusBE a585gyXoFnWyQf5Kwqr/Dya28SPSF8sPmdtisXLa7rnx2pJQ== 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> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: