Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2020528rdh; Tue, 26 Sep 2023 09:54:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjnpX9of+lScNTChVgmQaZuHdcSelqFg0k4no+9PFpCsAuiNhPHhvCeZyB/pI0dOJCakRi X-Received: by 2002:a17:903:24d:b0:1c3:2423:8e24 with SMTP id j13-20020a170903024d00b001c324238e24mr11863459plh.8.1695747289229; Tue, 26 Sep 2023 09:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695747289; cv=none; d=google.com; s=arc-20160816; b=NdJL2D6RFKJp2hW7NV0oaWrwJ3Xeec13nN9tTDd+jaGw2k8DODnx2v2A/qJLDYG1fO NyVxZbzp8nH6yex/7wQ3TUibg/ufWIv/GZwNA7/cP5d3M1ssQdHofLKSTjimT7bBFvAt LOkmqbjl0QKaUy70DQVi81FChtO1I9BYc5xnWMykfnPKsXlOJ+QlI32OJcK3EX+6TB2u ahYL4cfHorJBZSWRkCEHy40ZSRjmtz+3nOmaeIl5jMDiO1ZXdXHwwGt29a3c+fI5c8Ni 9Y4MwARERbZ1AMwev3HNiwM+rOkrG4A7I1Uu3f0A5laGoW+uecCLj4kX7bbLvs4QNT1R FG+w== 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:dkim-signature; bh=rnjnk+YYr3UHiZnQyZtcglFMhD3zdtbdeKEv4rdGxTs=; fh=5nbGAVVZkmssIkSld8HID+xP6fgVgDYVlVQqOoZ6uqI=; b=MJeJDnGVOKvznMkaiK2+HX29atcgbPv1vEJIaN6QI4WFLGMGGA7NB9X5e9WCrTwATW vjYtXmu/TdwfzMYre17AMRfOwkm2o3PSL8TmARq9C49Dm/ndUdTLDLt0g1aFGWrwtOnn +Rc73Iilc6Qyehj1hTRV4BGl1Iwe/yaIKVZ/L7JHl9nyukQqygzSurD9hrv4PK1OKL0x JgpG08te2DFxj+ElFz9fPtXnrWFmQDmXMun2qt3Pntg7uJ+Qz1Jfxck6EPWptPN1Asr+ Ai6q3Qz3hi8LgHp706nF0BFnAW3xXWgGJ+d/gwi58WAGaDItKx9pwf50gb6+uR1kZ9vo g1Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qq2tfooT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id le6-20020a170902fb0600b001c62b659f98si2936030plb.79.2023.09.26.09.54.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 09:54:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qq2tfooT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id B91DA8067AF3; Tue, 26 Sep 2023 09:45:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235382AbjIZQpd (ORCPT + 99 others); Tue, 26 Sep 2023 12:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235377AbjIZQpc (ORCPT ); Tue, 26 Sep 2023 12:45:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D62FF180; Tue, 26 Sep 2023 09:45:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62842C433C7; Tue, 26 Sep 2023 16:45:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695746725; bh=aYyNkcYVEy5iUmtkKozylsTv6tDrVJnDNQ3yWacAOpE=; h=From:To:Cc:Subject:Date:From; b=qq2tfooTqqPYFON0eSeyQI07FZu1DUcA8mcw4uBpxv1/cgJOQRnZ93YtiKi/61vKS UAYcUWY/ICSiL+GOadHAG2K5n5KfxIxdfUG9ho7TLRoc33/bpFVx4qq6m+waAyh/n9 HpcjGSw6bDZ9LkKqz6EtET7UqIpCeML9hecUhZJ9IW0tBP9qZ91PhMoJHjO8pLe45x zb1JyUuu/h1CApqiBKjopN4PmYLLQlbAA7VLLCK/veDYnoCJ4dHpkwJwoZEQTAVsPE f2wL1UboIZ/WN2yO43riAsOtVxN7efRf1RP0q+Ko+gHgNyTxz6JBW3NsKHOqzLsyv3 wFfYrCigx4ctQ== Received: (nullmailer pid 102369 invoked by uid 1000); Tue, 26 Sep 2023 16:45:22 -0000 From: Rob Herring To: Bjorn Andersson , Mathieu Poirier , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Tinghan Shen Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] dt-bindings: remoteproc: mtk,scp: Add missing additionalProperties on child node schemas Date: Tue, 26 Sep 2023 11:45:08 -0500 Message-Id: <20230926164513.101958-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 26 Sep 2023 09:45:32 -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. Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml index 895415772d1d..24422fd56e83 100644 --- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml @@ -91,6 +91,7 @@ allOf: additionalProperties: type: object + additionalProperties: false description: Subnodes of the SCP represent rpmsg devices. The names of the devices are not important. The properties of these nodes are defined by the -- 2.40.1