From patchwork Mon Oct 16 15:55:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 153520 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3557211vqb; Mon, 16 Oct 2023 08:56:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuy5bwvfLRFdHfIkIdcFdQkJpvU0zlf4GJ6vaCvf+HnEj562GMszOaHO1eXDcxAEgN6oD2 X-Received: by 2002:a17:902:ef04:b0:1ca:85b4:b962 with SMTP id d4-20020a170902ef0400b001ca85b4b962mr2160653plx.4.1697471781393; Mon, 16 Oct 2023 08:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697471781; cv=none; d=google.com; s=arc-20160816; b=hphU6Jia81syVlHOtnFaFtj3tMfFc2spuY2Wk5q7iXe1n3wssJTnkER3tGu7aY7Nr5 ep27qZI3ZKiEhhi0UWbPOVcZh25TsLhC7GB94Ee/D+PETPQA7ogg+zP4kxtTe3xEV1ez INPOHhndgKNZEgvv05xbuGKJpWWoEPzjvXBvniedpBWAxUGZ1HxX+Rd33tqBVbudYGtc t0EHlrfwOoSekJiRg8mZRp0muQm9oB+lvdR5O7LO/TB+LND3buqG0C1VhDmqv+2eKeMb Vnkr63voIeG74kjysPQhtuhwcsvpWgLB/E2NbCGKYHv5t1zJXlbXtlkPKFP5VRUGcJc4 JaFQ== 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=MK37q1XJzWSoKvjEt9e5ahg/V9ZLCNMRU55JDeXGR3I=; fh=a8pE7tHPgm+ig5DbYPPtK85Ir/phvJHeKKi6ewE1wOc=; b=DK8CaraojVa5sh3dBOQfsROEcWUGtn4ZCNhj6EcDXJdZmszGd8Sw99la3CMZTWWL7s mPuUigkDmuG6aH4QuG+xA7QNB7qN+jgk1awO0FVMHCftm7bIFIbuPuFG6uE+o/+RgAg5 EhKHyAzTNm2FuNzEurfzNX9y/cJQBUJ1i2GEsXtUm9eiB0fQZtjT6TEAcixgC27B2cOH aFPafiYKClwxfgbruVJ4Jf7c40JMM3lkx/HRSsPQ0hKBG9FSFKqPKkhWpUl5IOn2hvzC cF1HhVpbeBTowhMqfxo9fAWNUoab+p7LrEDXEQtvIwtux0TZa6OPyBphryW0Ki24+diZ p1oQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z18-20020a170903019200b001c752a540cdsi11375895plg.145.2023.10.16.08.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 08:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id DB016802FB89; Mon, 16 Oct 2023 08:56:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233955AbjJPP4Q (ORCPT + 18 others); Mon, 16 Oct 2023 11:56:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233920AbjJPP4I (ORCPT ); Mon, 16 Oct 2023 11:56:08 -0400 Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0A39AB; Mon, 16 Oct 2023 08:56:02 -0700 (PDT) Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-6c67060fdfbso3366761a34.2; Mon, 16 Oct 2023 08:56:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697471762; x=1698076562; 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=MK37q1XJzWSoKvjEt9e5ahg/V9ZLCNMRU55JDeXGR3I=; b=qvG/pr5FWjLuwpqTd2pwkVoJOMuAoBtK9trGHayaLILnmR8Vwen8g/1faYcXaBPXIm TSUgIlkNkloTUsRo0Zt5GsOk6trBR7EtPZN7emV95I/U8N4XeN6ZaWosjhUtbLcIXpo1 tYPAc30t7U/9hmo8Ug1kYrJhp7/QDDgueaLNBJefzF8j0TsdiHVXzQqAtJRIcWQnWgRq m+7R/lkhGXDCCLpqs6todiTEBdGlYjndn0aguKifsNgQS1IAySPZ0ZeZR6n+FdcNLTsr wl3CULG36KUnlVQv2z0Q6v7gI08gLQLrGwgRC3vTIej+VjA/aFTOHZySCt4H6QAHWVk/ +uKQ== X-Gm-Message-State: AOJu0YwMNdF8OBDMB8/5lhFxUtFP4km/Eets1xziXfcXRozsuOKaVzG2 OIkCXw14joOe8qbQLLT1W9ObT0R6wA== X-Received: by 2002:a9d:6849:0:b0:6c4:c026:a658 with SMTP id c9-20020a9d6849000000b006c4c026a658mr39826634oto.26.1697471762060; Mon, 16 Oct 2023 08:56:02 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id a24-20020a056830009800b006b4281cf424sm1731229oto.4.2023.10.16.08.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 08:56:01 -0700 (PDT) Received: (nullmailer pid 2974154 invoked by uid 1000); Mon, 16 Oct 2023 15:55:58 -0000 From: Rob Herring To: Damien Le Moal , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter Cc: linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: ata: tegra: Disallow undefined properties Date: Mon, 16 Oct 2023 10:55:54 -0500 Message-ID: <20231016155555.2974051-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 16 Oct 2023 08:56:20 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779928170832973972 X-GMAIL-MSGID: 1779928170832973972 Device specific bindings should not allow undefined properties. This is accomplished in json-schema with 'additionalProperties: false'. Signed-off-by: Rob Herring Acked-by: Conor Dooley --- Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml b/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml index 3c7a2425f3e6..a17297cbefcb 100644 --- a/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml +++ b/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml @@ -151,7 +151,7 @@ allOf: - interconnects - power-domains -additionalProperties: true +additionalProperties: false examples: - |