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: 1973595 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=g+J5bZcZ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=139.178.88.99; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-94560-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wn2r21chhz1yfR for ; Mon, 19 Aug 2024 03:33:06 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A6CE42814E4 for ; Sun, 18 Aug 2024 17:33:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E1D614A09C; Sun, 18 Aug 2024 17:30:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="g+J5bZcZ" X-Original-To: devicetree@vger.kernel.org Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 61B57147C86 for ; Sun, 18 Aug 2024 17:30:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724002222; cv=none; b=rZ+gJzo20aYK9h/r4z0QMr0SEqT9OjG8OS2JjNWxcxsthzPspausv/am1V/bsVrvcx9M3ejglfu7aTv/UqCIalWS1SibOiqmLfHChZUtFPybY/xBlhozh9P1TrFNcUux3iifjkDDVkT1ex6dd33jWH8R3S/rn0DeC4KLIjcm3hA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724002222; c=relaxed/simple; bh=sN5FORLVLXwkJ43Q7Qzr6kRsZnNwqAP8G08RJZtLaNM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZPDm/UcYxB6QvDMOAKFwhKvFhMOOb3gRbf50UJVgGAnSIMUk0xEDhy2EvF/KvoEISxoJy85QUW8y6oB5p/Vt62TFW8LmT29zTvTAfmLIkoc6W+IUGGyMeVsrA2dLlt+lj8IrXw2JSmadZcssh87IazR5KOmzNmdygdlX0UdFP4o= 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.41 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 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-428e0d184b4so26252905e9.2 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=fDdBSydZpSCsLPR2MkXNWFO1jjvCoTBeMdp6jbUJ26ovIyis9Ed+ryfSyMKCufYtUB ZAP5N8koBzNGMVK/Bqf9LPck0aUcDKaiYRDnDWLikJBNieZDRqxhZ579UaQoXqew/3GN zCqFUYuocoPTlm8gAePJx0zBi+WUivuUbH/DAv8sbH0LOQ3gwi/pW4d8zvscSJ+uMZHZ HebTwgJyaS+xvbZ1xaCpZR25lVw+oczo0pi1c5mW7iRlFBZqtYLRQMdiIvB6P45y1ZFj l+VLaKDef1tn5ATRoFujDY/39m+X7kq0uQCgM9poRcF+bYRB1VJ9XR4pRO8iTFphN7PK t/cA== X-Forwarded-Encrypted: i=1; AJvYcCWiGvXq97LwbQH5Svk3eMylKve8Q8VXx/Qz+KdMKuyhxVaY/n9S1HBZdJ9WHQHB+vqYZBJ8rfHJzPPpdHfZC58p+AGhOWWsJFFlEA== X-Gm-Message-State: AOJu0Yyqa124gO2o7v9dz0Mt6EhaBOgdhoPZoGnAbNtTNubkv4NIof7l XQ3R08dx+s2x2xnsz6CTwU10ItoN4+kR94jI+nSpTKr5Lx9XHcRXAJ60wcdS5qk= 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: devicetree@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