Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1160970rdb; Fri, 20 Oct 2023 10:01:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIb8iY+bSpBZWiu0yuCYsLqSDyUvX7Vb7Dvs1xJDoMrD8tEs/JWeVGeNWkP3CSxLF985ko X-Received: by 2002:a17:90b:28ce:b0:27d:df04:d109 with SMTP id qj14-20020a17090b28ce00b0027ddf04d109mr3505253pjb.2.1697821261895; Fri, 20 Oct 2023 10:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697821261; cv=none; d=google.com; s=arc-20160816; b=U2z1KvI/pX3XsbYS4pwO/NCYRvB7k/3bMUn8eybE+kpbJYMyAmB484TiZtdFc0AgT4 RIixLcN2Jf3QBDkYLJTYqJnypO0DvCF8AWMgMqzcitDNm6jjkl8uvWtcS6VYeBvNnRsD HeJmxqXwQLw3D4SrQX/PZydb8Q4O7WHzFDSB0X2qKrs5742t29fRx49xQNfzV6CCs8Wn nwSMkSze6NzKpBNNHzpB/c6XUf1kA10xDkNSdkBydCFJXtg5x1B2X6wdCu2k1dig3HCL V12tIlbWmX42c51U4K3x0i+n0xuIah7eCcMw9+egQT5Sx6/ImY/RZ1lopeEZt2ClnO73 AhNQ== 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 :message-id:date:subject:cc:to:from; bh=gzgDuBFq97Xw3QhiJlj4wHN5k/h9ggUGNAdZwlEm5kY=; fh=qloNASox7BsLpipMifaSpTU8bGHwXszvs3IWR84zXVo=; b=ALTsbzNEofTowvldcPYa2UTz/SyW2bSNucSNBZrHXKKazdrnBx61PU0S4jlNIY6jby paqDPUjG9dWXCjYVODRVc+cxab+fBCXwg5LtH8+iVREnKeXnPqe5ZOqVHXwUnT6qztlN Ic1HiaI4dWNomULssRG3I3GTEBpo637F8SNJfR2RXaFBcFD0VkYeRet6hc4yO81PQ/QH JCRULnywj7fCP6bVVqQXvxY1FGuKb9AJMvDa1CvVtkFedF3l1o4zDWBF71TKlkH9o9vG OOc7QRsIjdFb82z6zHYbP7X6un9TKju28Y0xbTe5qqxDZJzNhuF5uUQU3I4jNeF+9Ntg s1JA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id pi15-20020a17090b1e4f00b0027749a1fe74si2404259pjb.182.2023.10.20.10.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 10:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id ECCB3801B41C; Fri, 20 Oct 2023 10:00:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229817AbjJTRAj (ORCPT + 99 others); Fri, 20 Oct 2023 13:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjJTRAh (ORCPT ); Fri, 20 Oct 2023 13:00:37 -0400 Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC76218F; Fri, 20 Oct 2023 10:00:35 -0700 (PDT) Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-57e4459aa29so537574eaf.0; Fri, 20 Oct 2023 10:00:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697821235; x=1698426035; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gzgDuBFq97Xw3QhiJlj4wHN5k/h9ggUGNAdZwlEm5kY=; b=WD5kBW3EzWl+4QsIBxzDAGjjNu/8dJf/9LEEuDWQW/KiD/sGMfrYMl6mO2vNtUfj0d sdJqta0knaz8l8H2V1Cm+rthGYSfJPDtw4S3oeQqRKSTwQCvedngd9D9UvmPEO9y5fpl XjVoW4mGgomqZ7TwqK7qrdwtPz/iTArl6olnc/nk53fo4fhaMUi8z+ZDfTu3l01NcBOu WBQPqCtUuhRQQDxsAboXSX077J7X/XjVhfYgPT+cnTDzT0vYbt1ak3ISyKSyHn6zLiL3 XlrEDmu0aUU3Hm96J/pK+Ikvutcz4AmWf4qn4OoiFTvVWcDq96qZqXkMGFGsUFyD+3uj bQBA== X-Gm-Message-State: AOJu0YzWHeHeY3ORzF6nFP9jtjY8f79NS+YFO+sT3FP8WNLPl8fsWjgd LxTAyHRMU7j5sJJAT4a9dQ== X-Received: by 2002:a4a:c4ca:0:b0:581:f262:dde0 with SMTP id g10-20020a4ac4ca000000b00581f262dde0mr1202983ooq.3.1697821234626; Fri, 20 Oct 2023 10:00:34 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id ce12-20020a056820218c00b0055975f57993sm409614oob.42.2023.10.20.10.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 10:00:33 -0700 (PDT) Received: (nullmailer pid 3613652 invoked by uid 1000); Fri, 20 Oct 2023 17:00:32 -0000 From: Rob Herring To: Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Linus Walleij , Krzysztof Kozlowski , Conor Dooley Cc: openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: pinctrl: nuvoton,npcm845: Add missing additionalProperties on gpio child nodes Date: Fri, 20 Oct 2023 12:00:16 -0500 Message-ID: <20231020170017.3610978-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Fri, 20 Oct 2023 10:00:49 -0700 (PDT) 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. Add the missing addtionalProperties to the 'gpio' child nodes. Signed-off-by: Rob Herring --- .../devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml index e4b9f3da2cf0..3e8472898800 100644 --- a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml @@ -35,6 +35,7 @@ properties: patternProperties: '^gpio@': type: object + additionalProperties: false description: Eight GPIO banks that each contain 32 GPIOs. -- 2.42.0