From patchwork Tue Jan 11 13:39:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 79900 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1n7HOR-0056jV-AE; Tue, 11 Jan 2022 13:40:56 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240393AbiAKNkx (ORCPT + 1 other); Tue, 11 Jan 2022 08:40:53 -0500 Received: from comms.puri.sm ([159.203.221.185]:42594 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239487AbiAKNkx (ORCPT ); Tue, 11 Jan 2022 08:40:53 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 95C51E0114; Tue, 11 Jan 2022 05:40:22 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IyqCxpHVHGDj; Tue, 11 Jan 2022 05:40:21 -0800 (PST) From: Martin Kepplinger To: laurent.pinchart@ideasonboard.com, mchehab@kernel.org, robh@kernel.org, sakari.ailus@linux.intel.com, geert@linux-m68k.org Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kepplinger Subject: [PATCH v2 1/2] dt-binding: media: hynix,hi846: use $defs/port-base port description Date: Tue, 11 Jan 2022 14:39:36 +0100 Message-Id: <20220111133937.1099917-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.4 (--) X-LSpam-Report: No, score=-2.4 required=5.0 tests=BAYES_00=-1.9,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no This is supposed to fix "make dt_binding_check": Documentation/devicetree/bindings/media/i2c/hynix,hi846.example.dt.yaml: camera@20: port:endpoint: Unevaluated properties are not allowed ('link-frequencies', 'data-lanes' were unexpected) From schema: Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml Fixes: f3ce7200ca18 ("media: dt-bindings: media: document SK Hynix Hi-846 MIPI CSI-2 8M pixel sensor") Reported-by: Geert Uytterhoeven Signed-off-by: Martin Kepplinger Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring --- revision history ---------------- v2: thank you, Laurent * add unevaluatedProperties: false v1: https://lore.kernel.org/linux-media/20220110123804.377944-1-martin.kepplinger@puri.sm/ Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml index 85a8877c2f38..5d0fc18a2ea2 100644 --- a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml +++ b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml @@ -49,7 +49,8 @@ properties: description: Definition of the regulator used for the VDDD power supply. port: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false properties: endpoint: