From patchwork Sun Aug 18 17:30:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767578 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 5CB0AC52D7C for ; Sun, 18 Aug 2024 17:36:56 +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=X3MSSxP9rHAkbncpX6jbhl/iQ23LwfwRpJkBsCTawB4=; b=2J1FyPfVE2LHBxh8l4b9uihoDh gvSvUaQCec5zlRXuLhTSMPNsIWc9HyG11/6M9MVguRXx3Q9rTX0REvVTXLt3jub2Doll4c/LBvvyK xY1STdZ9bTC/VSjyhnRBpOJbTLO7g/b7mlN5hch+9Ts9z8w75EdJllPt+VP8Lx/L3g+cN225oCZSO oaPpiZ29MK/xaucF+P/R8H+80IzuhP7vmh3cAFF9vGgWLlIknbAiesld/yGGeFx6dyuhLjfRaaaTd 3md5yNNzKXmZo4JjLer2K08hThHABGg9LIAMd8x2JmxfjnHmY/dYmN2EnSi4LYljcXKNDlt7MFGj5 niPDeZ8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjpf-0000000GupR-3vEI; Sun, 18 Aug 2024 17:36:47 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjjQ-0000000Gt8t-12Gu for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:30:21 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-428e1915e18so26297745e9.1 for ; Sun, 18 Aug 2024 10:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002219; x=1724607019; 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=X3MSSxP9rHAkbncpX6jbhl/iQ23LwfwRpJkBsCTawB4=; b=ZC/uwc8cKwnOnEIYwlz8jc6Tn1ezt3bq1aeRzdtAtP7+M8eVh2mN/sTG+1RwFMff5e 6ddLgiXIlpy4Y7wXatkjaAEhePH/hv0bE2MC4dY7ZF+K/GAtxjOTKPyiTBi4DJgSjQtz 74f9C5SCFNj9R40C6PfZqjcOrNwVQwJDN01Z3oiRSGuLuzNS3d6zD4UWSb8tUtczXCqT zKy1j2t5p8tPTu9jGqRqDyYna6VzWCGnzHShT7m7OQ9wm+odS8AYj7E8w1vErcaMAULw H/AjmaqSvVl6n8o6DMFjkxjEGSuHThMbzdtLG/9muqCwGrUCnt99IpZbTyFNNGqKdW3m ZXKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002219; x=1724607019; 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=X3MSSxP9rHAkbncpX6jbhl/iQ23LwfwRpJkBsCTawB4=; b=Y9VAF4VK7l0ydXX9kjxKTF1XC4kL148Vr8LK6yqLRte1kgZSHuRw/3olMn5cy8EZTd C/xAngRpjb0nUjQ2p9g2MjOUB8e6QZvEgChmn2+16YHYvFOwBNUz2V7X4p4PcUHgADrm RdhJKXmPzY5ipf4s1GmJQaqfrqb0oXoXRaFmhr498xt3gdoHB3T75fZkMGT0t3H9T1bC 8yYHIDjHa5lgYlKyPV+8ovvjoPvXuybkraXM3ijMzaVnsfkbRZTBgzMlIKWy8qwHnPiH IPY0rh3ip6qkJBLWnQPmyMQ7Nw07XzbpFvNpR/lbJBxUM/FakfItU1Z/FJUi8xTPMOiF lOSg== X-Forwarded-Encrypted: i=1; AJvYcCUsgeIY9wNp1ZjEEQeoLXr1OynWi7qhka0GSwv1S/Ndnf7bbqc1DyWexH2WwwubYrELM2bz053xmHS3BasQYxt6WKhNoNug35hZphPdnIt9p7xtqD4= X-Gm-Message-State: AOJu0YybPGLNx6w5tjTorcgAp5mCTXE435FuRDRe4QHYT9WYRHj7RHwK mYY4cTM+fXbFIlIlUoYGq5C9G/a1Ht+1YuEP2eX+ZttKt8Zt5ZNJ9uun6txsZGw= X-Google-Smtp-Source: AGHT+IEPnFkHPz/DzJcjmR5QH1BJYBppD43D0BqAvj9I5k6ZQrBB3ZrienBffgoL+lY/tHnzKwzdTg== X-Received: by 2002:a7b:cc85:0:b0:428:f650:6a4e with SMTP id 5b1f17b1804b1-429ed7e43ccmr55679215e9.23.1724002218616; Sun, 18 Aug 2024 10:30:18 -0700 (PDT) Received: from krzk-bin.. ([178.197.215.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429ded7d5a9sm134999915e9.43.2024.08.18.10.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:30:18 -0700 (PDT) From: Krzysztof Kozlowski To: Serge Semin , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Charles Keepax , Richard Fitzgerald , Geert Uytterhoeven , Heiko Stuebner , Maxime Coquelin , Alexandre Torgue , Magnus Damm , patches@opensource.cirrus.com, Elaine Zhang , Gabriel Fernandez , linux-mips@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Cc: Krzysztof Kozlowski Subject: [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Date: Sun, 18 Aug 2024 19:30:10 +0200 Message-ID: <20240818173014.122073-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_103020_305511_6549A4A1 X-CRM114-Status: GOOD ( 10.30 ) 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: Serge Semin Acked-by: Conor Dooley --- .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml index bd4cefbb1244..30252c95700c 100644 --- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml +++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml @@ -134,9 +134,13 @@ properties: "#reset-cells": const: 1 - clocks: true + clocks: + minItems: 3 + maxItems: 4 - clock-names: true + clock-names: + minItems: 3 + maxItems: 4 additionalProperties: false