Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2638233rdh; Wed, 27 Sep 2023 08:22:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsFpP24a6Oi49lv3YbF+xRebZROqRtIQ5NB27nohQ1zOIunF4E+to7EjAjzblskS7+8G31 X-Received: by 2002:a05:6a20:8f23:b0:158:f65:12d5 with SMTP id b35-20020a056a208f2300b001580f6512d5mr2656011pzk.43.1695828172507; Wed, 27 Sep 2023 08:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695828172; cv=none; d=google.com; s=arc-20160816; b=FPQsAFk8DO9WqivztDRmyC7+aL3/ARU0bWhjYTMDncLvC2XaZkuRBNtMANNdfJlvtZ Fxq0bCF7IYnab/JpbhbS+00wO4YSKixK0tNvlVkPMdkAw2bOsDCLtS3og9Y2VnwHN9VY bx6Op8bOmiXuFxa6FrZWUOf3xNmeB50nbsC3aXKUl8oehZSb4ScGAme0g86t4+vMK6XH 2TpNeZGKolSr8Z1uEUg6gMdkGjwyDGZ1r32pooPcbf1rzB4b31ax4LJN1c5bCSDmTtjE 7SJsXCRLvh1oS3vkc9Sz6R53SblOQ40w7IcB94ZmmM+ouFgsLQqbWIeNaD1cL+erAXyc S0tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xCqUE3JoPiUnPm1K/t2hJF72bg4BnFAZd/ReeEtLWds=; fh=Mopujwxf6MafKq2KNiEAgK/nsvT5lck2JYwefA0ireM=; b=zBPHDxe/I+BLo2JKNz4671KYI4HbaEQuVX4iggForzSUMLiBYDxjooUaKdawrVHfL2 0TR6bg/DBckBPKYsAx+1xFxYNJMqbcLdMvVToZXtUaZhMIHa7cU4PW22d8JyL3z8nlmg WegOQP3Glq+O2fHPr55mUnFWfkZDjRrl0I41fXSksFsDS59/JacXyVPBYuhfJQnzDpJh GIhNaksYgxchGijvOTw28Kojz9aMT0FdHVESzSzjRzaxwyI5mnuA9N4WqWnRv5ZmRQac R8jfdKU7RukxzWWLHForCUI7gnDr9vsWS0RQo/OwAsdKGaDbUYgk/nDEZw9u3Pb8GKWZ LfaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mxgaPNkc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ca16-20020a056a00419000b0069342aef90bsi705441pfb.3.2023.09.27.08.22.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:22:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mxgaPNkc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 75A908027A7E; Wed, 27 Sep 2023 08:13:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232370AbjI0PNL (ORCPT + 99 others); Wed, 27 Sep 2023 11:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232289AbjI0PNJ (ORCPT ); Wed, 27 Sep 2023 11:13:09 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA893F5; Wed, 27 Sep 2023 08:13:08 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA932C433C8; Wed, 27 Sep 2023 15:13:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695827588; bh=g5EOXFHedEBnggecBSFHP8NOek2TJapAj4sjU/UIAz4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mxgaPNkc986KVYs3slQ+tMkDMhuGs1SZJEnQSCDks5EJZqTJ09v5w5xzWElWVQlHp e7FN3HgM/tb8EXKMB/2CexMjdwXYPxWXTW8Z7fUyY38cLl6OqR5KJeTJBNCsmNu/Vl 9Xjn/fmYvizs05tRnO/vbgslZyGoMSmA/XMbB3C2D+ChQ+QUVR0auIO6wDMpm1W31G UPa+zYTE7sTLPv2ybAOms8QfGlJ2IrC5Xao/sMXdgOhlTxze81sH4HeMuuvdHGSSX2 i1TeYB+IXYQw4WOfxFvs010/sG5ji9ERz8Tksjm97dD8nidsXX2M2BaSS715P6ptx4 aEjlMTo1IpuJA== Date: Wed, 27 Sep 2023 16:13:03 +0100 From: Conor Dooley To: Rob Herring Cc: "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: thermal: nvidia,tegra124-soctherm: Add missing unevaluatedProperties on child node schemas Message-ID: <20230927-tiling-hunting-453feaac8b1c@spud> References: <20230926164500.101593-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IhOOYgmqxIzylWTn" Content-Disposition: inline In-Reply-To: <20230926164500.101593-1-robh@kernel.org> 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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 27 Sep 2023 08:13:21 -0700 (PDT) --IhOOYgmqxIzylWTn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 26, 2023 at 11:44:52AM -0500, Rob Herring wrote: > 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. >=20 > Add unevaluatedProperties as needed, and then add any missing properties > flagged by the addition. >=20 > Signed-off-by: Rob Herring Acked-by: Conor Dooley Thanks, Conor. > --- > .../bindings/thermal/nvidia,tegra124-soctherm.yaml | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-so= ctherm.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soc= therm.yaml > index 04a2ba1aa946..b0237d236021 100644 > --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.= yaml > +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.= yaml > @@ -68,7 +68,12 @@ properties: > patternProperties: > "^(light|heavy|oc1)$": > type: object > + additionalProperties: false > + > properties: > + "#cooling-cells": > + const: 2 > + > nvidia,priority: > $ref: /schemas/types.yaml#/definitions/uint32 > minimum: 1 > --=20 > 2.40.1 >=20 --IhOOYgmqxIzylWTn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRRGfwAKCRB4tDGHoIJi 0pL5AP93nGR1ok7VfGFI8vPrm3J9Y/DSPEG2zoqDGmjLAOyZHwD+OeCakWy91CkC Eur1LH00tjtdCXMthnUKfCT3lj9c8wo= =CF+b -----END PGP SIGNATURE----- --IhOOYgmqxIzylWTn--