From patchwork Mon Sep 25 21:24:24 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: 727308 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B0AFCE79A1 for ; Mon, 25 Sep 2023 21:25:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229485AbjIYVZF (ORCPT ); Mon, 25 Sep 2023 17:25:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjIYVZF (ORCPT ); Mon, 25 Sep 2023 17:25:05 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D39E1103; Mon, 25 Sep 2023 14:24:58 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EF48C433C8; Mon, 25 Sep 2023 21:24:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695677098; bh=lG0yL+eeYGuTlpkLttZs74ATqRMRX0Pu1q2jQdiN/BM=; h=From:To:Cc:Subject:Date:From; b=Tm61ldPqTCtxDXjiWNw+TTkbyOgJdeNdv0E/dtI4RAOOeskTn1xbn+aHJqLtBYelB VvV4eDnlAnedgpP6dl+EsQIeoyoUGx0e2fIXc7jUINHvwao24+B14CaMdOffTjcAmH cS0KnQhpKI7ljPBwjbLCZJGrO4C73bzAiEDYpDbfkjDbt4tAWSeXze3/8lzVNFwOvA 6iYQkEQ3sYJeRm/T5m36AjbRcyD/JolsgUdmON0wE/ckV26gqcaznnIDtdV8jhmfql aVh6ffpaeRG1/DPOHE/L1Uy5svEKD6P4O0+yqxfFDFpH7ZG7Nv97dUWwiNCYzR90xx 6NzwToDKkDk0Q== Received: (nullmailer pid 1972777 invoked by uid 1000); Mon, 25 Sep 2023 21:24:46 -0000 From: Rob Herring To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: display: msm: Add missing unevaluatedProperties on child node schemas Date: Mon, 25 Sep 2023 16:24:24 -0500 Message-Id: <20230925212434.1972368-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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/display/msm/dp-controller.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index f12558960cd8..dbe398f84ffb 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -114,6 +114,7 @@ properties: port@1: $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: Output endpoint of the controller properties: endpoint: