From patchwork Thu Aug 15 22:57:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 13765261 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 45360C52D7F for ; Thu, 15 Aug 2024 23:00:01 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rVX8RgTSHm6Ud+EOy6KQv9jtPehvGxMYRqmnhzhp8AI=; b=bD2Te/nC1jME/0rZaMREjzUDkr 2gvY/y3zUMTkSRlob4xlW+C/vt++fEGqTnaAn/Vtxz86lbHttA53+B/7jE/r/CLuikJadUdXn2T8r CP8+9fZwOzwvvnDSiJPdt1SD83wzmccc6lttQZP9ShUYx0LmYQwzMcWwIv92GE2CdYZ8mnQSv19r8 oHpiPEhm+BAZ2UnxXAXmsBw6XWu3FF5xn4Y2Kaxun8Q53/x8a0lIpSO5/6+xLLLD0rnAl5utN+wAy Vz31ZA6dVo6TaZb4mx+plQ/TqBGIjnEIqr0lvhmH6gRCSQqfbzbQ2p1/+RqpZ2rF6L/SZQwGGhCkK IyzgrQrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sejRd-0000000BEiP-1Dd5; Thu, 15 Aug 2024 22:59:49 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sejPg-0000000BDz8-1098 for linux-arm-kernel@lists.infradead.org; Thu, 15 Aug 2024 22:57:49 +0000 Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-2d3bd8784d3so1036057a91.3 for ; Thu, 15 Aug 2024 15:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1723762668; x=1724367468; 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=rVX8RgTSHm6Ud+EOy6KQv9jtPehvGxMYRqmnhzhp8AI=; b=GVRF5PjddQgbzG24SS8WibyhtC900+2GCB9dE2M8Tzdo2v8oTomk7hcyfdHGthsDwh srlGaBNWzNLWdD3sj6tH2qU0QKJup2REYECoRkpAAOpAw2YMiNVF3+b8zYlF+f++2gSw qK6DcXipQoxLkjgBv3Ik3Zu2qP5ygtVyYLcZQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723762668; x=1724367468; 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=rVX8RgTSHm6Ud+EOy6KQv9jtPehvGxMYRqmnhzhp8AI=; b=H2G2l5h4DwtApl00AU2kEdND9yrJPVmCl2To1KfE0VCjJ5Ld9fJP6lBMj/0aQPxA6D F7uE0YYONOPyVc71DzzaNUdYbQO4SqCfb0a9EqGUj4mm2W1RTRe0+D23S5VxMD/MyOVV XjCYpYNdOdrAgz4rtvfbmvw+H9t8SidU8/FbhMcZXy0SmRe6i1/sHgU2hC5ahIwesu+q WV5GzDFrvs9QDIEFuKzynmDp+hTL9ABPWDTvfj6lDcmCsZEPSgXpUN5JnDiw9wO930lg /fL2IO9e1L4SE/6h/8NN55Bdwz1p6eNd4TJN7jdYysTQDBitsVZtAkFU6y8jiUutHtNP aEvA== X-Forwarded-Encrypted: i=1; AJvYcCUHqV0fAV9oUjSm0UhznE/fQF0brINejpuZ45NnghRXWDwNjzZsTCjZN7eOc3d70lBgtlR9fyRDrwiV3wiMH2pw@lists.infradead.org X-Gm-Message-State: AOJu0YwwcLYA8MLRt4Is+a07penH4WPMpaI+YlrrCIzNZ2jJkoser4aj t7fY7j6J4k8kGom4GG3y62JEpGjL9onkDhwldVmuq2yR0K9s3X8JIqL0gQz5pw== X-Google-Smtp-Source: AGHT+IHSw9iGIF7jSQYmCh7ib0/magiimviqCOLAhlU6p/vcHiPwZp1T83vzp8QlMpOVHkAjvKbGiQ== X-Received: by 2002:a17:90a:bd0c:b0:2d3:b83f:75a with SMTP id 98e67ed59e1d1-2d3dfc7d307mr1357300a91.21.1723762667484; Thu, 15 Aug 2024 15:57:47 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d3e2e6b2d1sm373997a91.18.2024.08.15.15.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2024 15:57:47 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Stanimir Varbanov , Manivannan Sadhasivam , 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-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE), linux-rpi-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 v6 02/13] dt-bindings: PCI: Use maxItems for reset controllers Date: Thu, 15 Aug 2024 18:57:15 -0400 Message-Id: <20240815225731.40276-3-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240815225731.40276-1-james.quinlan@broadcom.com> References: <20240815225731.40276-1-james.quinlan@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240815_155748_299415_6B3EAA06 X-CRM114-Status: GOOD ( 10.77 ) 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 Provide the maxItem property for the reset controllers and drop their superfluous descriptions. Signed-off-by: Jim Quinlan Reviewed-by: Krzysztof Kozlowski Reviewed-by: Florian Fainelli --- .../devicetree/bindings/pci/brcm,stb-pcie.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml index a95760357335..7d2552192153 100644 --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml @@ -95,6 +95,12 @@ properties: minItems: 1 maxItems: 3 + resets: + maxItems: 1 + + reset-names: + maxItems: 1 + required: - compatible - reg @@ -118,8 +124,7 @@ allOf: then: properties: resets: - items: - - description: reset controller handling the PERST# signal + maxItems: 1 reset-names: items: @@ -136,8 +141,7 @@ allOf: then: properties: resets: - items: - - description: phandle pointing to the RESCAL reset controller + maxItems: 1 reset-names: items: