From patchwork Mon Jul 19 19:48:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 480067 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4526569jao; Mon, 19 Jul 2021 14:56:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJuoUM0DfE8j/R8J0Y8soaF3/9m0QOoYYiCsbwMLM24cDCw+NUUgSTxqGOdbWsagnw5IHE X-Received: by 2002:a17:906:4a05:: with SMTP id w5mr29016235eju.2.1626731804233; Mon, 19 Jul 2021 14:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626731804; cv=none; d=google.com; s=arc-20160816; b=pvQTF1jEQBGJxnNM6CRXkmJit7j9yPVkRlRXf7GjA60esFXuow0+2UgoeJNWWAgKlZ mifr7+0NPwbDFBqtdilllS52o4vH/x5paaUOcBCdKuyrywtdwSdLLD2aM7aCDixY4Slp uYB0Tba6ErisMMn+7T/4An4pRdGT92RUez0QZGoXvCmqykSefCZ+myeLf06beo/t/Zal wYTOiZEPkfYxQnT6xwvukeGKPlqMTFlHmP4bSAxP3ejZOt2m55FcVDbLwEhwK7il5OrJ WF3aKphj6CQZhccuz7Y90eyNzqGvs9JMA0lu/YCWcUFKswhX61AR8pnWvGR/DahuJIIX BO6Q== 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=GDUH5kKZnOHRCAbBYePTCiIA1/WaZH91n3x0Dno6HFQ=; b=r0H0lZSMCl64pHLq38Vcje9sZtTZHTCLEtPlEiVP32+YRwg+dQzNZz2fsE2kIegrqy P1Vo5+StqcrbQ3uzOTl+Xm9zpT/37bRp5MPwvDxRBpdLpMbXATQAnJjwN4tQ01avp1na uNfROImmTPYAvjB+itwR8x2CciBkqCUA2GEOuHPRLENd5UG3GR/YeVE55oH8i1kEvpd1 frOjlp/N4d3U8iSAV9fwkJve5oJYhXJmFdu9ltWAr9Uxig0fFc+7TB0Rz/86dmWh9emS 3YR184y1ybsgpPcGOH9mqE8mnep4L+TFCHhWzXAIe3mnk4pTuEakMJ9p16quM5oO+TJi DJoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p26si22115036ejf.481.2021.07.19.14.56.44; Mon, 19 Jul 2021 14:56:44 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242989AbhGSVNN (ORCPT + 7 others); Mon, 19 Jul 2021 17:13:13 -0400 Received: from mail-il1-f171.google.com ([209.85.166.171]:36523 "EHLO mail-il1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385732AbhGSTIa (ORCPT ); Mon, 19 Jul 2021 15:08:30 -0400 Received: by mail-il1-f171.google.com with SMTP id j5so17112595ilk.3; Mon, 19 Jul 2021 12:48:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GDUH5kKZnOHRCAbBYePTCiIA1/WaZH91n3x0Dno6HFQ=; b=pOBPpmIUxOFi9+EDBocKHUAb6m+mJ/KxYcJ63V9wxvHyP4BwmzWmz7B0bZ3Y4KYuQK ocf78dq0hez9lXKVRKEAZLSGqFA5n+OleUYZCk/2ZdRR5S6Ti9CqAicgdO0YZ0WX5cc8 JxnhGe99DKIj1LywuwAQEy7YA9Of4lZsRU5i9aI1VSOUdiMfrqBOcMeOPuN7fKklvAxM xOlvwoTiZOShIiQwHLi7N3vhLrA1lbzuvY8BeWOsz8yipDAJcb4er1uRmtXqc/2LLiY8 6kiz8+PGhKvXykZAyFSNFZ94sjP5caS5kFlK6DY2fYA8UOJTbTZRbUfjtJuEs0FoGexK TZcA== X-Gm-Message-State: AOAM532glg2WgmxKxiUHyH8iOEWTZrXM9rxQvbDRaDtvd2ZJnXrBOvfy cSjjTrlhNtcVFbnIWSKD+A== X-Received: by 2002:a92:d5cb:: with SMTP id d11mr17647954ilq.133.1626724133543; Mon, 19 Jul 2021 12:48:53 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.248]) by smtp.googlemail.com with ESMTPSA id h10sm11306196ioe.43.2021.07.19.12.48.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 12:48:52 -0700 (PDT) From: Rob Herring To: Mauro Carvalho Chehab Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Eugen Hristev , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Fabrizio Castro , Ramesh Shanmugasundaram , linux-media@vger.kernel.org Subject: [PATCH] dt-bindings: media: Fix graph 'unevaluatedProperties' related warnings Date: Mon, 19 Jul 2021 13:48:50 -0600 Message-Id: <20210719194850.2410511-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The graph schema doesn't allow custom properties on endpoint nodes for '#/properties/port' and '#/$defs/port-base' should be used instead. This doesn't matter until 'unevaluatedProperties' support is implemented. Cc: Eugen Hristev Cc: Mauro Carvalho Chehab Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Cc: Fabrizio Castro Cc: Ramesh Shanmugasundaram Cc: linux-media@vger.kernel.org Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/media/atmel,isc.yaml | 3 ++- Documentation/devicetree/bindings/media/microchip,xisc.yaml | 2 +- Documentation/devicetree/bindings/media/renesas,drif.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) -- 2.27.0 diff --git a/Documentation/devicetree/bindings/media/atmel,isc.yaml b/Documentation/devicetree/bindings/media/atmel,isc.yaml index 3e4bb8892d94..cd6d7af0c768 100644 --- a/Documentation/devicetree/bindings/media/atmel,isc.yaml +++ b/Documentation/devicetree/bindings/media/atmel,isc.yaml @@ -44,7 +44,8 @@ properties: const: isc-mck port: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: Input port node, single endpoint describing the input pad. diff --git a/Documentation/devicetree/bindings/media/microchip,xisc.yaml b/Documentation/devicetree/bindings/media/microchip,xisc.yaml index 41afe2e5f133..086e1430af4f 100644 --- a/Documentation/devicetree/bindings/media/microchip,xisc.yaml +++ b/Documentation/devicetree/bindings/media/microchip,xisc.yaml @@ -52,7 +52,7 @@ properties: of the data and clock lines. port: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base description: Input port node, single endpoint describing the input pad. diff --git a/Documentation/devicetree/bindings/media/renesas,drif.yaml b/Documentation/devicetree/bindings/media/renesas,drif.yaml index 817a6d566738..2867d11fe156 100644 --- a/Documentation/devicetree/bindings/media/renesas,drif.yaml +++ b/Documentation/devicetree/bindings/media/renesas,drif.yaml @@ -96,7 +96,7 @@ properties: Indicates that the channel acts as primary among the bonded channels. port: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base unevaluatedProperties: false description: Child port node corresponding to the data input. The port node must