From patchwork Sun Aug 18 17:30:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767582 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 70208C52D7C for ; Sun, 18 Aug 2024 17:39:33 +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=aw4Fptl98pttOY10KCxMd4Nms4w6E/3GwtsKk+Wk4vc=; b=XytVaQKVf6l6GPdfVrtYvfd/zx 0IpTu1651jeYYGMbMfPDv3y7vD2xol/2y08VJlbGcxNGrWd7txx7oTF/Mfw9R869XQyqBMGKOAUOD /WDUkqWb2vhbrQJzxvzLdwR9knMBFIw9emqwKsyDtvu3kq0E1XKC79ySv+tcZfNj4VjWOoyV4RM2h Q24T+4AHvIGBFl8q9hedZlUW9agQ/bEhAa1ylMuwKat3av3/uGV6eyFBoE9+owHKqB3hYRjU19z/Y hexVeWjjZxPdZpQHTaAmdxx8H1kx6NCITrJgfeF05Uff8SxdXmJXPlQt9IBkINHl/UPlhDk1BPs+6 3LswFfZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjsB-0000000GvKJ-2Xj2; Sun, 18 Aug 2024 17:39:23 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjjX-0000000GtDD-48Yw for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:30:29 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-428243f928fso38886505e9.0 for ; Sun, 18 Aug 2024 10:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002226; x=1724607026; 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=aw4Fptl98pttOY10KCxMd4Nms4w6E/3GwtsKk+Wk4vc=; b=fZUuslv+Bqh2YWWx/ERQtYgL986bhlOQs3QcfaqXb/KQ5i4t3euYExxkdT6xMdVOYy Yw1B42uv0J0GrvXLyusZl7upDewhmQbzY9eWZyUhPIhsU+Ney33jjUwG0Xls8iPHD1lq X2uzwUtxRWiKlLSVlYU1RyFxd+A0jEjXdQ/2gfjPd/hs5w0DLHyYLv3eqb0QwxA20S8Z vW/s/kPPB9PcFO/ojPiCl8GtVVx61rTlqLaKe+8iVqxMKpGnO7XvrF4uH1mU0jnsNJl6 I/18s5IwNsXdVtGpph/zUcEVt+9BUAHVgFS7ek2vzHsIfLdR0i9HejP0UP/DN5P+9DoZ xSUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002226; x=1724607026; 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=aw4Fptl98pttOY10KCxMd4Nms4w6E/3GwtsKk+Wk4vc=; b=kWciKlead44fokA18ImtLVOGkc/4+zX2NVLwsj6ueFIBlpP1PxNG4VXurjDwUGlTmV 0f720F+7yZcBO+P4vU3cAEANXg3IFGc7+RZNjCUz1mL6IbUtDovNqiHpzHrjuS23fmDf cRvDIAyBWm7SsryQBAMw3Y4YoT2aUL0U9a3LELpZVy1LCAxHzl83/d5PF8yHXgcZKppn lY0LOgxDk0MsaRyE6aM2RFKObmAq8SBTujVX9I7md/Co0vhBPDHIqqmbPwmteN0Di9u3 zzEZ2KodWGZPgPhFoWuaNKfuwPLhBMJoB3xp2kHgxU+fVDD2nUhKFroKQFBM6I2egINR J0fg== X-Forwarded-Encrypted: i=1; AJvYcCUZuutHeldzLvX8ZRPZ0qLHa3KMWoyuBLB+deglrXfr0UL9IwOEYzkM+VLnUTT04678EEyxQOtZYZBRor39cZTl4Y/fecLV8HHHs35lWWSkQ7NMaUc= X-Gm-Message-State: AOJu0YzPwniV0HLYmeEsIrvrUcU6y+/koqlqxp3RX8v+46Qdq1WQxjoT ebB9R0K3vOj7O4pZa/wO7JX0bmJVBmrExFwxPWYqrx0sR/IsKFEUvA0H39PdXSU= X-Google-Smtp-Source: AGHT+IFPilTQ7go8vvbQhelRsOizLG7WbbiYR3MYgpB7AkCObI0W33aHc2RPr2v9rpCg6UZ9TBfHgg== X-Received: by 2002:a05:600c:358b:b0:428:e30:fa8d with SMTP id 5b1f17b1804b1-429ed784090mr75921025e9.6.1724002226203; Sun, 18 Aug 2024 10:30:26 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:30:25 -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 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints Date: Sun, 18 Aug 2024 19:30:14 +0200 Message-ID: <20240818173014.122073-5-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_103028_056934_80B8D73E X-CRM114-Status: GOOD ( 11.77 ) 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 Acked-by: Conor Dooley --- .../devicetree/bindings/clock/st,stm32mp1-rcc.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml index 5194be0b410e..9b3aaae546cb 100644 --- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml +++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml @@ -60,8 +60,14 @@ properties: - st,stm32mp1-rcc - st,stm32mp13-rcc - const: syscon - clocks: true - clock-names: true + + clocks: + minItems: 1 + maxItems: 5 + + clock-names: + minItems: 1 + maxItems: 5 reg: maxItems: 1