From patchwork Sun Aug 18 17:28:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767566 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 1430DC5320E for ; Sun, 18 Aug 2024 17:32:24 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zSmdK3PMjq/K9tgLuhcYRFCmQqxZohO2iMaFOSnuyz4=; b=02TZKb3wtTcttgZciO72aPCgYg fo0Ry4+wXsKJ8Pnmj98dYRRbrRXR2HCuX7nn+N3VYuJr1cYxGRTRG79+i6X45ycIAqU7MZSnTokTp Y0YC0cOV1BGuybVU+3k2aX4Iy+vCuBReTEdCNqPrOgi8vzLITSqfjWdu1pS4jl2VcLuVBM5F8bmi4 7haPfWcbNd6zVD8srDgUpwXUUkKjpmvXoQ/SRIactT0oJNUBVHAqJqvBvAl+SAR/i4u8N35ZHfiIu cP0dQf7na/evOe19BE/+tGnL7w0iVKRi/hTDzj1+hB2jgINRCZ023akWt8BoCvGAXcLLYxpGdC6LX Gne5l3yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjlF-0000000Gtjk-0eCc; Sun, 18 Aug 2024 17:32:13 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfji0-0000000Gsal-05Qq for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:28:53 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-37196229343so1494204f8f.0 for ; Sun, 18 Aug 2024 10:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002130; x=1724606930; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zSmdK3PMjq/K9tgLuhcYRFCmQqxZohO2iMaFOSnuyz4=; b=YzNon+K9K+0N8QYeoawxCL7jrCV1hlSMWlKv0AYlvaV6WyYCO/FQo+MX9MG6i7zcTY PQ7jN31EaSQsyoLeB4+AdmeI8B3byyGVL9QWFMcVyX2+qOswH/LP8Mu84ycZkKQGr+Hf eo9deBgK3Qed4S2Hpcl8DU0cq4KVzUqZ0LDv+dx+z6j1FNAI45/OnT4MXTjVIFDQj9om 9Cm82idvaQ5RvDfAgyO6jyAmu1Xzi8bWTMpBSWKdBe//jMq4uPxyIGdeoUXIRkwDVxO5 5tHs3PWX9JuR0bJq1beQy+OxQb5mAO2zAVYed7JNFbf88EGS0dZZrA0yFbLr1O629/Xe yXxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002130; x=1724606930; h=content-transfer-encoding:mime-version: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=zSmdK3PMjq/K9tgLuhcYRFCmQqxZohO2iMaFOSnuyz4=; b=CrDSS2iq7AcqPbjAHr5sTT4Xby855oFX2CPeoiYM4pcbs2OvBjACvUdwNAERitmgyU TSH4YoDww7k1hm9s5ycd9cpuIRkjsaor8ZYcytlN+48Mt7y1L92rT5uvcZjqQCFpOnMo Oi223/I0Hpa/z8Ijj0MKq8PTNYdvS8zwa/G6lBfcCKvsZj5EMcr5tyjqXf604gJmvxAG U9X+FFalK9bp63CWTNRD7yNAEqPILYy/g2LWU6bJEjEecgf2B7xO9bsaFg/0feU39A5X RHb3X0VUMqSa0pOQGRFpeD4lNJBi6rF6F67weGszqGBzvWVzB0/SefuBFGUZrQgwXXh7 qGAw== X-Forwarded-Encrypted: i=1; AJvYcCUctna3MRKyBrchkhnMG9p4CcFw6ty/uo7tIVMqjm4jZJNBPgcYj18k1c1+JL2hHTaUMsuusdRJrWDpdiNP53f9EnFo4b1bdUOehuRD+p1wbI7jGIU= X-Gm-Message-State: AOJu0YxO+r4qeMZKaxLGNLAehtW3xOe/pNqteMFRGPVbwYvDXmvS8G2h BdwzHw2UHgFgEx+7SVCe0Dc2iWcjonbq0cW3qPvbEROsDcfsb9e1fUZxbsVoX6o= X-Google-Smtp-Source: AGHT+IFFcTzuaWi1C9l4fEAiu30Dke3dJ7DShYztrgu7+LZAs4fHVNOv+80w4I6uDPfpNgAVFTqNtg== X-Received: by 2002:a5d:53c5:0:b0:367:8a00:fac3 with SMTP id ffacd0b85a97d-371946514e9mr5769488f8f.30.1724002130248; Sun, 18 Aug 2024 10:28:50 -0700 (PDT) Received: from krzk-bin.. ([178.197.215.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3718983a31csm8518541f8f.17.2024.08.18.10.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:28:49 -0700 (PDT) From: Krzysztof Kozlowski To: Xiaowei Song , Binghui Wang , Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marek Vasut , Yoshihiro Shimoda , Kunihiko Hayashi , Masami Hiramatsu , Geert Uytterhoeven , Magnus Damm , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] dt-bindings: PCI: renesas,pci-rcar-gen2: add top-level constraints Date: Sun, 18 Aug 2024 19:28:42 +0200 Message-ID: <20240818172843.121787-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240818172843.121787-1-krzysztof.kozlowski@linaro.org> References: <20240818172843.121787-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240818_102852_077635_7998418B X-CRM114-Status: GOOD ( 11.01 ) 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 Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml index b288cdb1ec70..065b7508d288 100644 --- a/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml +++ b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml @@ -42,9 +42,13 @@ properties: interrupts: maxItems: 1 - clocks: true + clocks: + minItems: 1 + maxItems: 3 - clock-names: true + clock-names: + minItems: 1 + maxItems: 3 resets: maxItems: 1