Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp931561rdb; Fri, 20 Oct 2023 03:56:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXJq5Bwl4eVxZqe6UkQgW85LQVvYvg08uB6o6kNhDRg3fRaL7KOEYcCj+B+pK2X2qs10kx X-Received: by 2002:a05:6a21:4982:b0:159:c24f:5fa4 with SMTP id ax2-20020a056a21498200b00159c24f5fa4mr1536265pzc.1.1697799413354; Fri, 20 Oct 2023 03:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697799413; cv=none; d=google.com; s=arc-20160816; b=e8BPLmwPm8Xqs8HJD+Ja+LjvQTp38BGOKcDZyelDhMGpS/RI/RgNi3E9ZkuL52Mbso XeHEYE3ta8r0e1LpA+tBfcLK/raDwYh/tEfISJYs60VZQ/3c/dtmtZuZoIHHOfvXkSjz Gxyg+zZvAyKXVtekWmfsXyzDln2SW8owm2kTEHgDg5cl7W1d65AkxKbdFxF9ribVvXSW +ZIYCbGx1O1SDSBqiIMf4gKIuIR50fH8T+6z6wRIYoKgqfPszZnGgnGkJmY8C4tuTQXl oxNHzqf3G8Ox/Ar0u/5vTCKsMBKHXLf2PvbMwClp2YD48fVh/5HiLKtDBLOfgDpBYwxR 1xLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J+w3Ntloijo4n7opnoBdeJ1Rm6+n13HvynO+TOERBL8=; fh=mQJ+P2OYRk8hXkT877Fd4BUfNbA0UkKZ9kGTGbEde+s=; b=aBBIftOxQSdpS+bI+TJbJw61dcAZwugq/nUJc0bOkWqgjw43ZO74YmQLaoc7TgToXY FFW43R43CpqXelnXumPvC2fOd+lCbrgLVLoUqjBcmLvCI8INZvZVyHY19eVKwA/9JsrP zO0TjDnu8a27jGMQpTzPGvJlcFLgInc5Ocf3qJ2xcI/GCGCV5DGlpu6Ywuh0Eda0BlxT 3g4OqR5S0Fj5DYYoA+H343x6Fow3DIv6+8zzxl71pOKN8JJUm9Im4BsyoheLiui/Fi/z P2oXRziz3dPEg/DdfwNvf9SjAcfp7ZE6SI1EKKYdEPDgf8fV7iKIGlX9qGAlSZaPkyHo Ud1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=psbRLtrd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c7-20020a170902b68700b001c6223663b2si1520517pls.339.2023.10.20.03.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 03:56:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=psbRLtrd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 19F3F82BDD74; Fri, 20 Oct 2023 03:56:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377162AbjJTK43 (ORCPT + 99 others); Fri, 20 Oct 2023 06:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376974AbjJTK4K (ORCPT ); Fri, 20 Oct 2023 06:56:10 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C88E1112 for ; Fri, 20 Oct 2023 03:56:08 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4083cd39188so5266205e9.2 for ; Fri, 20 Oct 2023 03:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697799367; x=1698404167; darn=vger.kernel.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=J+w3Ntloijo4n7opnoBdeJ1Rm6+n13HvynO+TOERBL8=; b=psbRLtrdbQGv4g3qwXgbYRnpPKpOcM0Lv2sQWrZP90ApKAsJ5SIS65RkAlHGQyAKOn SAtogQjnrMiw9zyKlI2HRi4lc2Jfp8In4atE7lTO3f1/ZHXuuX/8olOXg68LAG4BTuGJ sfJJnCY9rkZGglg3s/1ZhgYH7kWbP9RwQyebYKlZ3fllH7WG1lNIEVWDqriC5/LtXs/V Z+320oY9r+uu/OtrVvNr4fAcsyAsd+Ic9rfi4U/dzzIh12DOBim8OUEmzz6r62nxSGxU /W1Ma4qA3TThBdzyWGKwGDysbkvXJ2uS0SWQhYVWIpiDeYrWGR0Vd9+Sr+mLt2qyFT4i jCkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697799367; x=1698404167; 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=J+w3Ntloijo4n7opnoBdeJ1Rm6+n13HvynO+TOERBL8=; b=TiCPaud/8AcQg1b890kcYFOn16aKPCtkHCKfNxJktFjuzR8UaeL1RJ5l7L3YKMcYNz ryRHjOlrc+sqc7zPcqK+szhJ/tRLGxYWLUZrUFSgOHXTBnnbeKUaSq3Bdawg6R004Ps2 0uhcSHn+UuS9zW80wEe5OiGa1kM2O8ExtJWsoZ2oHOp8eHvmE9NemB5rozarjfL+MfrP 0fU1cU7HmZDKOdLXykRaK7kU1LUsTKV/tJxV/SR72Ul/P2mltA2JKdUfoHbRupX3ODkE /fwjWIDPCo9HGyvKujHtJiaYghkxSfpP/bQeNbX+wL+n9jnc7/z+/OLrnFGYmyI7LVgw 0g0g== X-Gm-Message-State: AOJu0YzicLJT7zj8qDD4+qbsieaY0odNWXwioF7dLh8GvAILJ6f1E17K CYonASKVz1YF6zqlvWWdP8Plmw== X-Received: by 2002:a05:600c:1992:b0:406:872d:7725 with SMTP id t18-20020a05600c199200b00406872d7725mr1225544wmq.1.1697799367265; Fri, 20 Oct 2023 03:56:07 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id x9-20020a05600c420900b004065e235417sm6578937wmh.21.2023.10.20.03.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 03:56:06 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Rob Herring , Conor Dooley , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Srinivas Kandagatla Subject: [PATCH 5/6] dt-bindings: nvmem: u-boot,env: Add missing additionalProperties on child node schemas Date: Fri, 20 Oct 2023 11:55:44 +0100 Message-Id: <20231020105545.216052-6-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231020105545.216052-1-srinivas.kandagatla@linaro.org> References: <20231020105545.216052-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 20 Oct 2023 03:56:51 -0700 (PDT) From: Rob Herring Just as unevaluatedProperties or additionalProperties are required at the top level of schemas, they should (and will) also be required for child node schemas. That ensures only documented properties are present for any node. Signed-off-by: Rob Herring Acked-by: Conor Dooley Acked-by: Rafał Miłecki Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/nvmem/u-boot,env.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml b/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml index 36d97fb87865..9c36afc7084b 100644 --- a/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml +++ b/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml @@ -51,6 +51,8 @@ properties: ethaddr: type: object description: Ethernet interfaces base MAC address. + additionalProperties: false + properties: "#nvmem-cell-cells": description: The first argument is a MAC address offset. -- 2.25.1