From patchwork Fri Sep 15 20:16:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 1835181 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=lU1+XHUX; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=permerror (SPF Permanent Error: More than 10 MX records returned) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-653-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RnQSl5wRFz1ygG for ; Sat, 16 Sep 2023 06:16:39 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F2F8B28234C for ; Fri, 15 Sep 2023 20:16:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82E031B273; Fri, 15 Sep 2023 20:16:32 +0000 (UTC) X-Original-To: devicetree@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75F991B26D for ; Fri, 15 Sep 2023 20:16:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BC22C433C7; Fri, 15 Sep 2023 20:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694808992; bh=nGXQTgrcs3KREIWY3zBQSQp1+XIT8pojI0mg2noKVnQ=; h=From:To:Cc:Subject:Date:From; b=lU1+XHUXZMAUFUqsXQSsCWZn+Uos3RB5wXCnDq9MbGB1AQW8Yjz153kXHq9JDHDux oyJ36pykFKv4/NmdromUyG1gfDJgVMkp21Rr+qTjY7C68fpabAt54ULJVlDpq7X8Ti U8mXKhd6tfQyIcE1ZDlr1KmYQkrANrN4qcIYLCvXD9oWadQdIu7srChOLtjs17efBx Fz2T4AroD88ycXuZ2ZELyInvT9zp5SV6oefZWwiATWrDnzCH2AT5OT/y+KvNlU9aJ4 btd2tkIB1hl6o+YLESH/MQ0zCndF1ulhWXnYwWjGjbSnRM2gPuZDmGw44wlqIqBzWO 5V/83jeoyrXdg== Received: (nullmailer pid 4180862 invoked by uid 1000); Fri, 15 Sep 2023 20:16:30 -0000 From: Rob Herring To: Damien Le Moal , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: ata: pata-common: Add missing additionalProperties on child nodes Date: Fri, 15 Sep 2023 15:16:20 -0500 Message-Id: <20230915201626.4180606-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The PATA child node schema is missing constraints to prevent unknown properties. As none of the users of this common binding extend the child nodes with additional properties, adding "additionalProperties: false" here is sufficient. Signed-off-by: Rob Herring Acked-by: Conor Dooley --- Documentation/devicetree/bindings/ata/pata-common.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/ata/pata-common.yaml b/Documentation/devicetree/bindings/ata/pata-common.yaml index 337ddf1113c4..4e867dd4d402 100644 --- a/Documentation/devicetree/bindings/ata/pata-common.yaml +++ b/Documentation/devicetree/bindings/ata/pata-common.yaml @@ -38,6 +38,7 @@ patternProperties: ID number 0 and the slave drive will have ID number 1. The PATA port nodes will be named "ide-port". type: object + additionalProperties: false properties: reg: