From patchwork Sun Aug 18 17:30:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767579 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 7676CC52D7C for ; Sun, 18 Aug 2024 17:37:37 +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=aiRlsM6vBlOVTpadv+7qxVZ/+NvHjXgHFTSiZbF3Lk0=; b=ZzYf6t/BmJoFhIgzUAdWNLp2c2 SWLgiIQISPDPCG1tSwzJZKcD3IWcVktfe0Lz8FgVfogHkG13WaW2a9k6NUIIlrbN7c1DtxyY8yypR tv/4j0M7INn1IRYtfNLNrfwLq8t9Tt9dfwc2bQNngYNMoD80YLXC8lDZ1x7II1frf0aOHmMzkfGx2 XphGqMjRkclKqzx/xdaA/B3uM9QUI5Z/iU5Ch+RIsDGn02cx8hMyh2w6k+ASCBI2VtkdlmXy8Vc4I pb1ainLxxauu1ohyQPbPafk0SSA0VjFMEM3KI3xllCZ6xti5LQg96Gz6Nhumenv2rQjabN5nfSZPk 9lXLG3Vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjqI-0000000Guxt-3Gix; Sun, 18 Aug 2024 17:37:26 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjjS-0000000Gt9w-1Juq for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:30:23 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-42819654737so26951115e9.1 for ; Sun, 18 Aug 2024 10:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002221; x=1724607021; 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=aiRlsM6vBlOVTpadv+7qxVZ/+NvHjXgHFTSiZbF3Lk0=; b=UFKvfSSuT5Gha1ocYCVNLhwvXbiL0J8K+uFuXc2r5IZl7Sh4m9SV7l7WSn6Z/q8mF7 aSgtDm9fLYXyqR4EncpI1xP9LXP+c4IyFVwoy5nHC3KB4qyz5hRRUjn5LbiqkWQCiSSw IQagPy9wR26YqDmSQ4pWrSKWwh4v1WDI35izNHMe1dS7ONJMSvqm8YDGw9l9C3QlhDWG JAdh0TlbUw++ocjvDQ0qJiTH7htjwJE4jaiD1mM488qFspFm4fojUQ+m8lU1T/URRk88 SHIHkcb3c9v41YTFONib3WH0naloQ05+cFBdU10LmKeXdFUIrT6pkTqrI7U9upR/kKEB MpAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002221; x=1724607021; 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=aiRlsM6vBlOVTpadv+7qxVZ/+NvHjXgHFTSiZbF3Lk0=; b=L2fcdr9zhgO5PGqbUVnNRjExCGyNdWAEPqXIiqroCUsqJK09byCO8Arin/R1F63tXy 6FWc8HApA4xYbwa5X22a1P7OOka3uZw6Al0Y7e2sIc9IX85UgJveDIKd04fjTaRAeCUZ RPjYn1aThuAgmEJyKdjiLDPj5ljPKT8rGOhjHsH31tDHRm31W9H4+oNmJyjTDAjS5uo8 /a33YgSlmNkzrZcJjbxo0q00a53G3UU/9PhVBRa3W1uNMpetM//iLi8kk+gOytEVR8wD GZU9jwnwq/QnZLgEbPyEx2b5aOPGKZUavVG6Kc4AgAbyZIxFZPUvtVjBNQmxrjIG0EVO vywg== X-Forwarded-Encrypted: i=1; AJvYcCUYUIjSWbNalKcjFP5JYSt+EISBt+Zir95OMz1NCpfcwTa1W0EwF3zNgwMpkwsTuWQEFH4zu27lmEDvS5H1LuVrUwfKWjv+dtlVxZUS/Zzr8S7dMHA= X-Gm-Message-State: AOJu0Yx5l2P1sCRAkLKsKE8lbk6tKic7ScfL1uDVPfawTz60CYYGkUwt xkhSH8WtdfxXHddu4OUssyfcMdPGlmtysfMunZSGV5ugBDp/d/5uXgZbAbKq9qY= X-Google-Smtp-Source: AGHT+IHlDcGvSSlmSoCOZtAKT2zYd9WHqBA3yrLaM9pCakhIJQ/7iIvhr20DdpvwtiU7bWUoZXaPcA== X-Received: by 2002:a05:600c:1910:b0:426:6876:83bb with SMTP id 5b1f17b1804b1-429ed7b8ab6mr53592135e9.17.1724002220484; Sun, 18 Aug 2024 10:30:20 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:30:20 -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 2/5] dt-bindings: clock: cirrus,lochnagar: add top-level constraints Date: Sun, 18 Aug 2024 19:30:11 +0200 Message-ID: <20240818173014.122073-2-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_103022_366105_A77ACD86 X-CRM114-Status: GOOD ( 10.67 ) 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. Drop also redundant assigned-clocks properties, because core dtschema allows them if clocks are provided. Signed-off-by: Krzysztof Kozlowski Acked-by: Conor Dooley --- .../devicetree/bindings/clock/cirrus,lochnagar.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml b/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml index 59de125647ec..ccff74eda9fb 100644 --- a/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml +++ b/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml @@ -67,9 +67,9 @@ properties: minItems: 1 maxItems: 19 - clocks: true - assigned-clocks: true - assigned-clock-parents: true + clocks: + minItems: 1 + maxItems: 19 additionalProperties: false