From patchwork Fri Jun 28 20:54:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 1954164 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=OZ13U6Iw; 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-81505-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 4W9nkZ5yX5z20Xf for ; Sat, 29 Jun 2024 06:55:02 +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 42767288067 for ; Fri, 28 Jun 2024 20:55:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9061F7F48A; Fri, 28 Jun 2024 20:54:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="OZ13U6Iw" X-Original-To: devicetree@vger.kernel.org Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 EAEC77EEF5 for ; Fri, 28 Jun 2024 20:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719608081; cv=none; b=oCjfUd3/WRmErFdhxH/M83KfpWIsGV/YzETsDtl8abTDO6EYrz64DDHRHcDRZ1eTiz5dgXvdg/5BXsIuQ1VkiEqL66uzvbtYITsRt8JLjVK0gtDISVlTCEoOvvLHGBDa4aJbJsh4W6u0hVCmp2h/ypyt8qUv9Hf3MV5MEaHJeG8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719608081; c=relaxed/simple; bh=4uKhDsUJ/P/S9F2BQoG+XkXmMtyNM52tdHsPtBDqi7g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type; b=tExwnKGft3PtRaQ8H306KJ2IiTyi/bgS9C/gHpfv0G2hy3PIclTRzexWAW7z99BCiYUC2jukxS868ATD9KGUhYLOv09ak0Ibk1axXadGKEhhgzzqqjAA+u/uWdu2Nodoc/1VBUnwv9J+IGQm0n0UZ8zCwP6r5qAdrNftwSHxD9A= 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=OZ13U6Iw; arc=none smtp.client-ip=209.85.210.180 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-f180.google.com with SMTP id d2e1a72fcca58-7066463c841so763452b3a.1 for ; Fri, 28 Jun 2024 13:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1719608079; x=1720212879; 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=IVsbWywW1csa3Rz6hwmUDcutAnYd8o/BJZ90bjnsDXs=; b=OZ13U6IwGbVDLsTZJV2dAQPlKi9693Bi5u4DaWf3MY4kqsBZ4WjDA2h5FAnwVU9uML ONnvbqUpFSdzDb68j03irkZqmJuPf2mwbYrfznrx65Xq8SRu3TgnbWUAUF68kGL1eUuP +/ULIXV1sAw8Cmk5+wWDrhGbkK8bx8wNbe3z4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719608079; x=1720212879; 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=IVsbWywW1csa3Rz6hwmUDcutAnYd8o/BJZ90bjnsDXs=; b=Wk1mU4fjVE0ccE8xDETmeBkdMij7jsnV8l3K5oTjEYfmwjLXnqOW2t1L6eTkgh7/XK sxT7O5BgsuCPlJ3CHWAbziaHe5sIBGQTHRJAIV8uCkld6R/W1qHC9t1VNMEpxWbV0u65 yxqhPfbJME4+0i7toNSPG0gDFxZdCWnRbBOgedM9HYHrFJN0sy35OXvjKmGFpwsBHb1M C+ffQz1hThm0BNrT5XBjhRRWxXp4z/SqZ2G9Lm+C0p9kEn0AuDkn47x3vH6DZIPjWMqo 6PHzwa1oqN4OKs44Kle/Bfs2drYD/vKHtDY2g2Dm8wZUZ1U8L9AmxRrScPpoYw8hDGPI LfIA== X-Forwarded-Encrypted: i=1; AJvYcCVO7Xe+Sa41ucEscE9B9j0d4sn3TW2Sad1737MfcOgSVKlPVb9NL8bv1xeY728QisvwOpInSIJiTPMg9DWKGpWgtnJjFT/KiPmPLA== X-Gm-Message-State: AOJu0YwCwGq1BQ8I6+8W9wBy8p43Ljg83iqNpnohrgUEIl9dmWbGZQnK 281p8UzKnHn2km/ulzAhmn/AoODr596V6wn+HiAm7ZvcrDaN18DEOOXbGBRPbQ== X-Google-Smtp-Source: AGHT+IHJTcY6xTX84sUUetr3pzucd4fpSz0k01OozAgZGD+D7jjywHWfurr6UZ013/P9Y2VjKMtzLQ== X-Received: by 2002:a05:6a21:6d9f:b0:1be:d161:47ee with SMTP id adf61e73a8af0-1bed1614c55mr7756687637.30.1719608079265; Fri, 28 Jun 2024 13:54:39 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fac15393d1sm19695135ad.157.2024.06.28.13.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 13:54:38 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Stanimir Varbanov , 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 v1 1/8] dt-bindings: PCI: Add Broadcom STB 7712 SOC, update maintainter Date: Fri, 28 Jun 2024 16:54:20 -0400 Message-Id: <20240628205430.24775-2-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240628205430.24775-1-james.quinlan@broadcom.com> References: <20240628205430.24775-1-james.quinlan@broadcom.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: - Update maintainer. - Adds a driver compatible string for the new STB SOC 7712 - Adds two new resets for the 7712: "bridge", for the the bridge between the PCIe core and the memory bus; and "swinit", the PCIe core reset. Signed-off-by: Jim Quinlan --- .../bindings/pci/brcm,stb-pcie.yaml | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml index 11f8ea33240c..f594fef343a1 100644 --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml @@ -7,12 +7,13 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Brcmstb PCIe Host Controller maintainers: - - Nicolas Saenz Julienne + - Jim Quinlan properties: compatible: items: - enum: + - brcm,bcm7712-pcie # STB sibling SOC of Raspberry Pi 5 - brcm,bcm2711-pcie # The Raspberry Pi 4 - brcm,bcm4908-pcie - brcm,bcm7211-pcie # Broadcom STB version of RPi4 @@ -146,6 +147,27 @@ allOf: required: - resets - reset-names + - if: + properties: + compatible: + contains: + const: brcm,bcm7712-pcie + then: + properties: + resets: + items: + - description: phandle pointing to the RESCAL reset controller + - description: phandle pointing to the BRIDGE reset controller + - description: phandle pointing to the core SWINIT reset controller + + reset-names: + items: + - const: rescal + - const: bridge + + required: + - resets + - reset-names unevaluatedProperties: false