From patchwork Sun Aug 18 17:28:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767552 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 1FA9FC52D7C for ; Sun, 18 Aug 2024 17:29:45 +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=hhuA9c7h6Ndx7b2gNYwCUK+Xu7xpSh00KRH/cvzVhGs=; b=n+wYdoIFPDyoBvRDiNNkUa5iEA 9TFULVEu4Gda9Kgz6qCQaJk9lvVZ59Gs7DSoMUPrBfGDJn1nAKwa6nniid79z36F6gMnP3E8ptw/E +EHvMWOlNlda21qF6mh9hSUhO6nu+FTpa1Cob1LuRlZOHAi2bCS76SUm7+703juY3lvfJ/88YlbT+ o7mkNu10h1eSRL2BmuZuB7UQqfCCGYtxQZPhqMDdZZjX1fMY5iLokbUpN4lYM5AFBKh+0K035GM93 D/0VLaZEaoDmuYed0ejPCc9MbDyQmo1czjZQXOKoeki0WlAECjStfZ+Lk1xuFGe42eU5rgdB14FJk LE3tqIiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjie-0000000Gspx-2WoQ; Sun, 18 Aug 2024 17:29:32 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjha-0000000GsS2-477P for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:28:28 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4280ca0791bso28500905e9.1 for ; Sun, 18 Aug 2024 10:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002105; x=1724606905; 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=hhuA9c7h6Ndx7b2gNYwCUK+Xu7xpSh00KRH/cvzVhGs=; b=Kp/z8X0nPjcMQUJ55N5GdpioaEkFjQ22F1HiMC0o5evwYriLKeuaLJeCvH4/BTWDiJ BtEyWdnRFI050BVBwGAx/axYw5g+IvYLPJR4rdO5RQgsxA07qGZe1S2jksi5bXR/+zuZ H0jeTwAvLGYPBfjQ2Ro1nL0vm/ZjDZ8y2UnTxf9ECMxW9jMfSr80bRLUrB8+GU1GqBHb VhNBzj4/jKTHg56TlgV2Ixzr+t1hXbQDAIRZkd8DzmdnTGZalp8Gm48HaCx96SY3F0hK T3lqiIcSQ57qI/4EdXuZcmLiWBd5JXryUrLbbux2vDitNKkKGg1s2mVbVaXuaLJgv/TL ql6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002105; x=1724606905; 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=hhuA9c7h6Ndx7b2gNYwCUK+Xu7xpSh00KRH/cvzVhGs=; b=VeK19klg6UGiZ2YkQqIimGhLPE71RinOlkMJ1tPDMrvUJGiKYIbkmQXKJ1Gk4uWwLP A9ofOBj1hGJk2fSoRtlXhPba4+yzHqkQ8v3IeMqAm0RVhb1eq8UL1Qo3L0pKosa5AAG4 iNfEicm61FV1baeg+/o2Qx1Ul8dw30e8ZUJllIO4vwujZIQXxqj5LbuwFTM9Y/bOkXTj yiv51n7zYbKgiDyd0uOLT+xngo7BUMGJH4YXiY/51hTLo9FLog72v5gJ3iVvIZJA1ruL kK1/47lFU0Z6eIjcZtuqSK2zovfZ3gqoxY6GFiTq2xm4IYsegkt5n+jH91eOUo9Mehn4 LIBQ== X-Forwarded-Encrypted: i=1; AJvYcCURsSzWzE2vrfsQzkxQ0wvMtKXddB5k67YHbewznghPe6Rb1QgZqRnff/ZuCLgE0ElFi2NfWP1LvEuYiIA8PdzAZXYM2eYyIpVGqX9hKAo/O1EdwkI= X-Gm-Message-State: AOJu0YyTPplknN2kKySjemBzFA7zx4P1FMwYoTXmVLsFAQQk0kGFSTMB atKnshiJRR7uQLtvWTicsrgwRu3hcyIoPsWSMnY90GCk6X8RX4T62kIw97AqmUE= X-Google-Smtp-Source: AGHT+IFJtKyLcd94WHEIBe7tM5bS+bSCMXYTqMqaJHfJ0T5hGXhE0wi1Fk4/KEVxjma5fwfMqVuZKg== X-Received: by 2002:a05:600c:1c24:b0:427:9a8f:9717 with SMTP id 5b1f17b1804b1-429ed620183mr67450785e9.0.1724002104637; Sun, 18 Aug 2024 10:28:24 -0700 (PDT) Received: from krzk-bin.. ([178.197.215.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429ed79d9a7sm81846195e9.39.2024.08.18.10.28.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:28:24 -0700 (PDT) From: Krzysztof Kozlowski To: Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kunihiko Hayashi , Masami Hiramatsu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: reset: socionext,uniphier-glue-reset: add top-level constraints Date: Sun, 18 Aug 2024 19:28:19 +0200 Message-ID: <20240818172819.121697-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_102827_063417_F6BE014C X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. 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/reset/socionext,uniphier-glue-reset.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml b/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml index fa253c518d79..babc563ae61e 100644 --- a/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml +++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.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 allOf: - if: