From patchwork Sun Aug 18 17:28:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767555 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 58C13C52D7C for ; Sun, 18 Aug 2024 17:31:42 +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: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:In-Reply-To:References:List-Owner; bh=GNx0581gmw5KmVnKNMArHkHEaJIxEm4/jRsnasy6Iao=; b=B1mezDQbTQJ8XjbzRE9GflOooi FICseH/WsLfTDr+25CKsNPxNSWLWFUaAQtPnOf1bPu8STsmFf4sCtN8SdBcVcmy/M4ougr53ze+wF Schz0mE7rsGzdbQny0TYDApYT0m7ih6/yXAKap7+3vW8+Say7IWT/fdNxUDbqkEEUwDUQ2MbITh5p a19obAQtJ36f7EVXOM9RqPfPY5EKx6RRktrgg0wflcRGvEZ/Dr5ijy1b9jFXt4AvbGKkV/Gw1HSKN vZa+nA9PNzsXL6Ty907ztMmRGrpxD6kKBBpUAlwj6cp0g+M0mqI0PUui39PV/QR11ykPgBlR48J2H T98k20Ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjkb-0000000GtXj-2HIi; Sun, 18 Aug 2024 17:31:33 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjhy-0000000GsZv-1rud for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:28:51 +0000 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3718706cf8aso2282606f8f.3 for ; Sun, 18 Aug 2024 10:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002129; x=1724606929; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=GNx0581gmw5KmVnKNMArHkHEaJIxEm4/jRsnasy6Iao=; b=egB0DNQzODhlFX7oPCgacUTVxMSNsOjy4ugsyeatCVcf0l8N8fYrl2QMeHAZuVniZ9 trEzmDiSaPUXZ/x0KazlNlCCMhXbTHvKuCbdkIYKY91zuY61Exo642Gb3tj0I+obTQ88 tHFKO8Dh3g1Irq3vnyUhNRhEffEeXoS4wfhEQqYJUgCxv3fJsiRQ6sKF5FUcv9oNmvXE vyvKXgP3Pi/nfKPsvgl2G++z2bNXwiNseOhz/qpqKPAQLI+xqMntbn1IghVx/KYSiotU PCRrmHcTMyEU7PG+MalT43ynOUHoVWOdjriByGXNaI+mQr4qOlynA794uhcU+pqfwrCq wfZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002129; x=1724606929; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GNx0581gmw5KmVnKNMArHkHEaJIxEm4/jRsnasy6Iao=; b=Ob29Dv64rfgBq7K7TnDSBs+hrBlnvp2E+fTAl60Gp1KP2lpsrGAiF2VqBx0NnW0RUS 3v1/hlM9YRmYU3q0vyhBrAdX17CxFhnnQTOcCVng9Z8ve1DGvvWJrW6R6aVpyZKz6YgU bthaoEH0fH7lED4w9D5MhtUcQSSUuJigZxcK3CSUXi7PcisEwNKhUDUp8mQ7TooAGNeU BWQEyHLmpupTXK6PeHHKX8OYtrAscw9sT50nG7dE+O8aYmmjFAC49CQUXoCSwIhv6Rfc jCeGOLL6wOooEf7sQo07gfCr8bZXO9in+0oLE3TwViPKbIeWLrG1R6AV5YBOvRgid3+W Rgng== X-Forwarded-Encrypted: i=1; AJvYcCUmFc0ZKFC4HXCqcQ/s2U8va+jcnoINTCGmClT+JyRB6o1m0f7rRYD4QANnHCc+kfvopekHS+UeCqZlZgmhZwozY8JSocycWtmTuSjr9DdqA9yJnnk= X-Gm-Message-State: AOJu0Yw3nFKVJ4/vlA+gLdH3T/QPAJU+U+DSbuMaaeavGziNLweTCKq1 pWGMHGoTNbg4+IWkQDCgtqHcQWiSsIy+Jk+c+ltAC80+6g4heGYdgGo4ilezVzA= X-Google-Smtp-Source: AGHT+IHhIVY0bWR2O7mz+r0RXXbWCwIx/u27MbcgBTwXx1CRg5LFhEFV+GL/Fw9bSLQnd+XYkgRWkw== X-Received: by 2002:adf:f285:0:b0:371:888d:7aaa with SMTP id ffacd0b85a97d-371946b1ae9mr5217302f8f.49.1724002128655; Sun, 18 Aug 2024 10:28:48 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:28:48 -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 1/3] dt-bindings: PCI: hisilicon,kirin-pcie: add top-level constraints Date: Sun, 18 Aug 2024 19:28:41 +0200 Message-ID: <20240818172843.121787-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240818_102850_503747_EC66DF67 X-CRM114-Status: GOOD ( 10.42 ) 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 clock-names and reset-names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/pci/hisilicon,kirin-pcie.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml b/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml index c9f04999c9cf..e863519f3161 100644 --- a/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml @@ -37,7 +37,8 @@ properties: minItems: 3 maxItems: 4 - clocks: true + clocks: + maxItems: 5 clock-names: items: 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 From patchwork Sun Aug 18 17:28:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767567 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 B18A8C52D7C for ; Sun, 18 Aug 2024 17:33: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: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=6BWMc4qRFUaUXttIzQ63qUjdk7KJyVPGCsohK/pyxYs=; b=XlzCSVghr49GY5od+efSl7e1+p JvER9Q1Hj8b/vPPD0+G0yKsN3YqXy2+eDF76wy1UTGuRWnizLWM2lgtqiZRZiewF6hSVK00gf9ohj 5N5eUqxWBgoKxMwiJxOQW1hO/EfUNEW4wXwYEGCBwtGCkGQB8jjmk6TK6rgWGpoLn4moc5pPBKHEY tC4VHSuyeu6cZsrswtvhmI3zpAZC7LBqt6FMib15UU2PkKnm8w3pZ7wQWeSrfrP+i9aQrVUp1TqkN B44k2wCOx4nj7GJipZfVCgbctF1E5Wgg7594YQqqlI8rcpxoNRob0xOkx+jJMiFKFWKFS1aMH1Lrp pNC8V9eQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjls-0000000Gtwh-12E7; Sun, 18 Aug 2024 17:32:52 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfji1-0000000GsbJ-3bzi for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:28:55 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-371b97cfd6fso420533f8f.2 for ; Sun, 18 Aug 2024 10:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002132; x=1724606932; 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=6BWMc4qRFUaUXttIzQ63qUjdk7KJyVPGCsohK/pyxYs=; b=k3TW4D6PIwVkKq6rFq7idtNt8egYvl9oIQkIDLakHZOTniypuLI/4uyzR2E8+nNLiw 4ysSGunwW9Q3JNX4g9ItT1gsjUiNBG18aLcBmjfQA9ZtiCibKYU/kLXDqG2QuchsfD+S 2iiX88MNwIDaUpei8BI0+2XPTkhyHziia+42YE/EX2d/vRVL9P7rO3rt+g7vZMitFyX1 f1R0dFUyQti1NFa0u79Symf2Abrh4/qUrIx8X5pTEmEo4mXkC2knzaCHiWAgO++QuBRP NCYyhQY5UgVz5aC67pwbzLO9hEKSSKGnDN5hdoFgB0sa7NTBf23GvOUvPCJyEBzVINEj CWXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002132; x=1724606932; 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=6BWMc4qRFUaUXttIzQ63qUjdk7KJyVPGCsohK/pyxYs=; b=ef3jXWHf4sw5eY1ln0SvIyyLga8a1DdxzXiaX0jJqw+cugTmvvkO9stxp7lx9YTrr9 hfOpcfH9LhZCOIbCR1/nBwHqCvzAOYB066DuDvZfvXjPSKUklphc+BDb8F4ngL//w/F9 k4B5Cc0VsmImCzTdqAhOOMAvDJZT5KcVzxkjwjeP5oZHQdRD52zlQ6EwFCKXi8rxb3yQ b2cs/xVqpNHIDG2QSzv1aVqFwZTeOoZHXyJfqnyARjx7TIeN1G1ZqwIBJCbYD1P75eu5 PcfzTxfF252hEW4ZbOo+CS/53QXv53o3DIBULm1CC2i1fzOFiW2sGtmydNMdrnVUv/l7 X1Cg== X-Forwarded-Encrypted: i=1; AJvYcCWybja0foCITyL5IQV3PENFQ4lNHPc3ECiV9hKeAAC2Ek9FriBYRRlNesLGeEeweNrLBok/ejlnbZsqPJE99/N45Df0ho5CHQPiQBJhOoTfLgLB7MQ= X-Gm-Message-State: AOJu0Ywwhf8nSJnsNP0jAd6AIohbptaNMBpW8JOg0mosk1+30K/2YlhF QVcXKuU94l4PlVGnCI/otgL0tY36mLGromHHtgL2xcqdR+7GKik8pzwqCI8TsVA= X-Google-Smtp-Source: AGHT+IG7xhCbtpRMZFSXkVzfqnY16kl4EuN/5EeqoMflBvn6N+CjkKnH17T5hiI1Vz8GRi/mg+he+A== X-Received: by 2002:adf:fad1:0:b0:36b:a3f1:eb with SMTP id ffacd0b85a97d-371946bfa9amr4703230f8f.53.1724002132091; Sun, 18 Aug 2024 10:28:52 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:28:51 -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 3/3] dt-bindings: PCI: socionext,uniphier-pcie-ep: add top-level constraints Date: Sun, 18 Aug 2024 19:28:43 +0200 Message-ID: <20240818172843.121787-3-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_102853_939348_0D7127B8 X-CRM114-Status: GOOD ( 10.94 ) 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 clock-names and reset-names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) Reviewed-by: Kunihiko Hayashi --- .../bindings/pci/socionext,uniphier-pcie-ep.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.yaml index f0d8e486a07d..93f3d0f4bb94 100644 --- a/Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.yaml @@ -38,13 +38,17 @@ properties: minItems: 1 maxItems: 2 - clock-names: true + clock-names: + minItems: 1 + maxItems: 2 resets: minItems: 1 maxItems: 2 - reset-names: true + reset-names: + minItems: 1 + maxItems: 2 num-ib-windows: const: 16