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: 1961331 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=ehlyW+MP; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-86234-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WNsj95N9Rz1ySl for ; Wed, 17 Jul 2024 07:32:13 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CC9BC284ACE for ; Tue, 16 Jul 2024 21:32:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61D3E143755; Tue, 16 Jul 2024 21:31:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="ehlyW+MP" X-Original-To: devicetree@vger.kernel.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 C379E1411EB for ; Tue, 16 Jul 2024 21:31:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721165508; cv=none; b=Pdz0RKZcpb51zIMt4c1ZlkF/e4JLOKByZg4QJfUx1TBlLXbjWoj+JuQYPnfwNxNRe+QUfTIZ88VDBHZRykYWwRKIZLV8NQz2HQfQyYtM4m4jo43IU3CDiQSJwgZsuVg7T04DHBK6Y7hNCcRdrM2SnqPZSuASWwMeciE/naBeLJs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721165508; c=relaxed/simple; bh=PM8I7QeHbgN2USUQSlNxBkfPYzG0QO/rZkpCJIdy7MU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type; b=FN9Sbny0Rs72dJBj6PMETJwMKvYKTeOmZ1zhNPWF2CHF2SY3quQSEopeXXmfz6n6tWQGKipsMsn9zURbUd7fD4W73XyTNBVeLVPtYjs6wI6jvECIv5pL1M+EWPo/76bD7QxOEaWGXkVxyOuy1tU24MdFu4oKmCwxgcrS067hxqI= 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=ehlyW+MP; arc=none smtp.client-ip=209.85.210.172 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 Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-70b0bc1ef81so4049901b3a.1 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=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=tN/z3SxvQLT3awyE4OoQ1vBAlfWXqzS8tk8DBsIwd64=; b=ehlyW+MP13zu7b8b1zlnmZg2rpXlTdoJ2o19VjWu1jUFct9ALmzj6vXW708hni9bkj zzu2zFdtxSOIRZEOkEI5YZNaxpV26tDwQmksOkKAg9rG9GazxO74gQAY1WXnB9sFyPK3 By8LuWBZOUr3N5RNXsHBCWnZ3nBleAfzipA+k= 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=tN/z3SxvQLT3awyE4OoQ1vBAlfWXqzS8tk8DBsIwd64=; b=XR9k/kQO893eRZ4mp2SvCe4mDitQzdpC7ODvCcMl67lpv0W7F9PkqtBCUN8sI76Bs0 70yfAHuZeF+KIesdWAiElANTnCTf3i1iIAJ0mPzNd5RPT6Xm8xYEsBhDq7pQKEg1I4Wh s++BXxFCKV70UyUSJEivOmeyUCrvwcdUmT5p4H2tp7qnetL/sJagKKglngd6z3hMDyl/ JzAR2kBBijPpVzxjBTV3RFvBtPlILuwkgZVBl18d4ibXpa+Gy37QfUYFWPo81vLMuEXS zBqOfIlJxIDrY+26CYTM5B4CaW9Jy3Bm3yd8W+Q0ND7ig7hzNLiVPh8o0dsVVtzpT5Jz 5QIQ== X-Forwarded-Encrypted: i=1; AJvYcCW8lI/dIwbmBsBZ+p2kG/Og86KTt9vkfG9OPb9r24j+eRakw2Mt9u2yp6FL6YO9P9bBJAntCoF/NtJiRbX7K96x9uVtSS2fcss2Jw== X-Gm-Message-State: AOJu0YxmwZi0VuyFxIc9Gfvh2nXK0WGQdfQd6VblRpvXBBJb4YJS0ZQ6 V+vxxLqzGDq8U1VUtJ+aEVmiY6eIDnQ1FIPBGUuE9nFye8uMsPFs7EKVA/HM4w== 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: devicetree@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: