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: 13767527 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DECC155CBD for ; Sun, 18 Aug 2024 17:30:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724002223; cv=none; b=iL8fcQZLeyxmtOUipplEQfkKYFRp+sIIJZx/T6gFDhl0PLb/H5vf+RKa/18VQ8/eFuOesqQKGEsAvhDztOMwM0Wadoaa3UhhJ8K6zgp3LFHXfRFJn9ThDKMd4bK3HSjmGBFtd8tPEqWVdhkm7jPZ4qQPMRxN3oVv059iTNL/8d0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724002223; c=relaxed/simple; bh=sN5FORLVLXwkJ43Q7Qzr6kRsZnNwqAP8G08RJZtLaNM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fkZAuUexik9+fkx1tlH20deA67fR2U5zuHztIKy3plMj2QmKfolGX9TFhEoZBP26cJUxqmYfI/VOO4QYNx0/D1zarGU03arv++1r5nbuKFJ0bQSlr46Eu7hE3wTcOqlQT/uohZI6OfbDKZ2TGHaumoXbaFZrcIfxNGWGuXov6Sw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=g+J5bZcZ; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="g+J5bZcZ" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-429e29933aaso26366685e9.0 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=vger.kernel.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=g+J5bZcZmVBasFI/R8L15ud7+mxdeIycN7ozYUKlCMpw3j4kGgyIKEdAl8tmMpHqsQ Z/ZIDGxgTgH2AppjBDWNIoMjYJ5ab8cCg7Q9Z1w4arHuzIbGQ87hjmseX/h2MzMSHGNv 1DmP67Q3qMM1HiMvMDEoNVkz15AHXZiXz2vVPMs55m4FAhHCwKvkxOowTHTixPDu9qKn oPksiNtJfEH4Mqsi6tP7AekGtpds/9EJpX+h8J0TT3kpdFJPJJgIYY+6YaiAb1/G4Mrl 3u5qTzqNjfh05apdiVgGpXg3JKUx2NAEjZbz8Id3BZnRXHJwFPm9+YvNlPpwIU4J4Sdr TAMw== 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=MWfOALFjZzlEjEkVsZJ+l97xgTEsvRMgGpzTFVSElneLoN8ex0/xOXvia0rDZAQuPp y6i6CF9bDaVFAxIZOQQtV40IVG7Uyt+4ZPOEZNXY6CcBGWNG0/vux063kWabV69MExS8 9XiQH51io2r2S2UBMMWpTh8RXSK99T9WnXkRVnUmnJQ5xy5Iumf9mPH5378yf+GB8M7g //NUhVRF6dNA6MhxZt3RM0dL/PsdV2YBmaGj0oRQuNQGdOZCVAiXjK8GuVyD25/hvb3K apDKYyhIq3Jkb7Djo9v+ma2rSkl5NDyGt7FLo/75x939WJBjqKxuckw/cGJFOYOmz83z Envw== X-Forwarded-Encrypted: i=1; AJvYcCVFOwulxqzKZVbE6vSStn1AumEryLW5sPy9WjA7Ce0vdDMS4xuAF+IuMSNZoqdGeR8kqQUmN556X3OMETTkb2e7uJBhdQjUFf7SytX8g5qq1Bo= X-Gm-Message-State: AOJu0YwY4TfN+Fhxjk8jso10YedsMvSSgYAjxO4DtUfBhwm+sZZiKEvZ r8nVP09Kn1I2E5B/VGWctHnNNQZJQVQH6imsGACalNFH0y/IvB2hKC3SLT2uS7Y= 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 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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