From patchwork Sun Aug 18 17:29:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767571 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 83753C52D7C for ; Sun, 18 Aug 2024 17:35:39 +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=l8es/l2u9z7YHRxm+My9mNPpeISEV38hkj5XsiYsgUE=; b=CfZ7qKI+XEPDpsxIORQS9ZjuZz C4mv7SF0FkFjqE77ARwZmnuI0ZfJ8JApGd82itzlmbTy31FngVJzqsqTGFh0aEfXS6ceDSNlG9uLR NoAwj8YrhGKt4YYMNjPnMA9AOuJfBagNcmAilAxq6Nchj+2L6scj6LsXwWazKSZiH77K6RhCrAacg CDUm18AvC11j6n7TNqYQ2D1goMzhmSX1ofJcp6ABmRv8CAkzp1+nkIzRMhOAsos/kSdXvV23U/9IA Phz8IJkf/6ezmdiuQPvowa6vtmhe6vkKCKOrQNFixVn6C5COKWwTpBpAU41Ta8P4HyRmvwpolUC55 Zo3qylEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjoQ-0000000Guex-2Nrw; Sun, 18 Aug 2024 17:35:30 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjiQ-0000000GskL-0hRN for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:29:19 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-37196681d3bso1546529f8f.3 for ; Sun, 18 Aug 2024 10:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002156; x=1724606956; 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=l8es/l2u9z7YHRxm+My9mNPpeISEV38hkj5XsiYsgUE=; b=jtfJk5L+xjjxeFH3/xghUu/rl4P1SGqPsBaLdcAZVOm54sbElZJrJzimgFMrreL8Oz dtE1NXvRnXS1N+3rUklR++FzRehJlfX/dDMApV4ytFvoRvinsMsd90A6g98rluJDx4tz /JmWkiv22dC63y9SJSXjuR1v1Kqu9i8N0UbSB8T3hXughUzpKyPJZMAGb8yDP9iRW7kE r64EYuExZj8kKSKsEsQHQuxos6b9+zyev5ZLEchnwiqQEiAG4vEsxY1RhWPxZY88zrAu gGYNzqRtW/qKk8W0cvBgtHXP5qYof1QD+zmigFhISUHa4UpjJ3pXO8RHrDDpbDfTGSuu O4ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002156; x=1724606956; 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=l8es/l2u9z7YHRxm+My9mNPpeISEV38hkj5XsiYsgUE=; b=Oz+UJXyjVJCdEqa/V9xDqtlx1TARYO5/IEfRZqO2U3u/cBXwd28LzTAv9HNOdxrXMg VMsHGuxCep4Y8zI1dQEiQxPmtCuwTayIcQ9nEzverSxyOkvE/oyV3fXX2o2Q/UY7LPn5 mx0MCnJbTpZHOmB+K4zGoM/+CRckSHqkLbn1Lm/znzhgZ2jfenxvwOEG/pqCcJxZnzoI IAT48WdHOgvvr5i+6dX4wtLw5wKDH2H+ydbNdbVcm1kiB9Q2nooszYBh7OPI3umOUB3+ dF0KHfM0G3xd1rrHfjjdbwk/LtHuiNBFuEOc7VlJyGT3qOXap7dD7MNaL6+w94MfQSfl wQIg== X-Forwarded-Encrypted: i=1; AJvYcCVR6z104jVJLTTgFw+j68PbSmXadZ8r6pFfQTswAIIGbdjTJxeyKr9BhQy6SrufVxV1wgIETqxbKd21eVSg3O5jA4PMxcjF1uMzoY6707YYR9JQFD4= X-Gm-Message-State: AOJu0YxATdmsiFFhL0OcPJxE7DFy31qWOdhMCYjOAJNIsaVrRkdwtG6A wpOcj8Gfcmcf/prRKDijYE+j+dbkWXjL9aPdno5xDpkGlOy5D5A6jz3/WHVZvLA= X-Google-Smtp-Source: AGHT+IGDihqENsu32+YwhVnlSe0afwAWIr3NedxRFUFDhgEflC/5EBBcl/lZ8aHqbdVFXfdVdizpFQ== X-Received: by 2002:a5d:4f0f:0:b0:362:8201:fa3 with SMTP id ffacd0b85a97d-3719465e8a6mr7100101f8f.34.1724002156139; Sun, 18 Aug 2024 10:29:16 -0700 (PDT) Received: from krzk-bin.. ([178.197.215.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3718985a35fsm8510315f8f.59.2024.08.18.10.29.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:29:15 -0700 (PDT) From: Krzysztof Kozlowski To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sergey Shtylyov , Kunihiko Hayashi , Masami Hiramatsu , Matthias Brugger , AngeloGioacchino Del Regno , Geert Uytterhoeven , Magnus Damm , Lorenzo Bianconi , Felix Fietkau , Sergei Shtylyov , netdev@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-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH net-next 4/4] dt-bindings: net: socionext,uniphier-ave4: add top-level constraints Date: Sun, 18 Aug 2024 19:29:05 +0200 Message-ID: <20240818172905.121829-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240818172905.121829-1-krzysztof.kozlowski@linaro.org> References: <20240818172905.121829-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_102918_325750_ED694DBC X-CRM114-Status: GOOD ( 11.17 ) 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 clock-names and reset-names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/net/socionext,uniphier-ave4.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml index b0ebcef6801c..4eb63b303cff 100644 --- a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml +++ b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml @@ -41,13 +41,17 @@ properties: minItems: 1 maxItems: 4 - clock-names: true + clock-names: + minItems: 1 + maxItems: 4 resets: minItems: 1 maxItems: 2 - reset-names: true + reset-names: + minItems: 1 + maxItems: 2 socionext,syscon-phy-mode: $ref: /schemas/types.yaml#/definitions/phandle-array