From patchwork Sun Aug 18 17:30:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767580 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 4354EC52D7C for ; Sun, 18 Aug 2024 17:38:14 +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=yDxabNXUGD2spiGWzUWebdJZipOuLFpvCr9ct8rDDA8=; b=r1E4/yn8jLL+usfCREp3Lyixq3 9/eBeohO+xu9Nqg+5l5xV9HJlBLI5FpyVw1j33dGIMbStaVzjJJSVXlKPH+yROBeL7soq1sDTIlTI DsJBET4AHm/GoWPqXNC+rGY6LdOHa5NMWedGPYbaV27N/NE3lxHIeLzF5WpbV9Dr8oP2y4R+duiEd xrKqptVzhwZ9U6FxsHueArDVfTJrEVdkjbLQSYVacFyaxycN7DBq4q2pmm6yfMR0Ha4aVJKIVRX/M 5yn4PF73S8z7VHhvjIdJEQSIzO20EBfkI5Iurs1/uLBHxSdkme04jLHd+GnE4gyuXGbeFKrFQjtGb n5dJPOQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjqv-0000000Gv3E-1ebM; Sun, 18 Aug 2024 17:38:05 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjjU-0000000GtAs-0kZ8 for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:30:25 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-428e0d184b4so26253205e9.2 for ; Sun, 18 Aug 2024 10:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002222; x=1724607022; 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=yDxabNXUGD2spiGWzUWebdJZipOuLFpvCr9ct8rDDA8=; b=HN5V2sR1tje4FJGCwF0LsVFPXkaf95E5FdAAoRTu7TS+O2tK0/ottxOfFvwCXLVdYD 1isHmL83+hazt99s1fwKVUG0IkZe16vqCiLdGyc/voe3qUYOSwSknm2W9vcZjsnf/Mds wJYQnm1BsnGpfBXlXlfyMRRXhA6RG8N16ihgmH4RHzXQSgc6Q6qsC9uABL8BgPKsAXCO WsR1qryhCfPL0qN44zLLJA3ls6y16uXgXUl9oyc1DvZ3pqpydjgsmTbhbNyKTOFBqqmX MGLEA5xMR6PE2xZQ/XMRFO7ISHJieR5h+XZCJd2zpF2k4XGtrOQZWQaAHIVOg2W7XkXt O9nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002222; x=1724607022; 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=yDxabNXUGD2spiGWzUWebdJZipOuLFpvCr9ct8rDDA8=; b=s8UoSmVKfR2G5/yA8qVMuo0Tbf0V3hXLp3qIxYCOLf9tZClksm4D8X5W57OkQAT4se re2OjgBOeoMnorMwbVsPQdI5ats5aWZn146JQ4nHZ4GE7DZOegTRQnK7jxRVP+DvLP1u djl45q7ZiqEtVpA2ArnV2Gocv/DFeUxQdvPQEyb1wanC2sqInZUvUx+gS/sSKQHBIq3m uzLw4RoyGUFf5gNZyUCE1UhcAnWSda38a+J+vF2l7h249Xyfrm0BWnUcntkQVjETkBhj lbtFBymDr6mPelt4W602znJRh4p8KW/vbNmtiNG3LZPKkitjgj4sYaOxg7xAlDtRANGx c1Vg== X-Forwarded-Encrypted: i=1; AJvYcCXq88SaU6+Dyw9Y6WkoW/dKx5rzZVmPuynF1ZI6LlgKBy6s4QfmA4i0rNWBjwmT7ddZOIxXw11TuLJRq+XlTX65ZwaiCd+0ZGfzCRYi7q+qZH7OXv4= X-Gm-Message-State: AOJu0YyhnlF8Yz/qKmnk4gxOwrfxuW30kUA8669BrwFeQci2vf9UmzUK jIGi2Z+jFPalZJIohxnf2/PH+NeWWk1JAhl/c+m6HUzOQkzkHbMi4QIzSUDaKFjO/JvJk6UV2WH d X-Google-Smtp-Source: AGHT+IHTe5/9uPQMEtI6+zcncZ4iytZUcY1Qxy0hgPT1aarVYzDAmJ3Q55hH1n/3z5bWggegxUIW8w== X-Received: by 2002:adf:f2c5:0:b0:371:7cd1:86e5 with SMTP id ffacd0b85a97d-37194314fa2mr4713443f8f.8.1724002222433; Sun, 18 Aug 2024 10:30:22 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:30:21 -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 3/5] dt-bindings: clock: renesas,cpg-clocks: add top-level constraints Date: Sun, 18 Aug 2024 19:30:12 +0200 Message-ID: <20240818173014.122073-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240818173014.122073-1-krzysztof.kozlowski@linaro.org> References: <20240818173014.122073-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_103024_243231_3415A9C4 X-CRM114-Status: GOOD ( 11.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-output-names. Signed-off-by: Krzysztof Kozlowski Acked-by: Conor Dooley Reviewed-by: Geert Uytterhoeven --- .../devicetree/bindings/clock/renesas,cpg-clocks.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml b/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml index 9185d101737e..a0e09b7002f0 100644 --- a/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml +++ b/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml @@ -32,12 +32,16 @@ properties: reg: maxItems: 1 - clocks: true + clocks: + minItems: 1 + maxItems: 3 '#clock-cells': const: 1 - clock-output-names: true + clock-output-names: + minItems: 3 + maxItems: 17 renesas,mode: description: Board-specific settings of the MD_CK* bits on R-Mobile A1