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