From patchwork Mon Jul 19 19:50:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 480042 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4439070jao; Mon, 19 Jul 2021 12:50:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7XkOgZc9WnX1Lr4Iqw5S5aeK9UygsIHwZBkSjOSKANxiPkvDMlwGvG8uSHwkm8BG97iiF X-Received: by 2002:a17:90a:c788:: with SMTP id gn8mr25717743pjb.202.1626724210189; Mon, 19 Jul 2021 12:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626724210; cv=none; d=google.com; s=arc-20160816; b=Jpnci0d5iY+5wotggacvnExU1kW3afbqHCAjQzr2YWppG4W8MQkQ9jCOAQHO3qb4k5 0SMhxaisWUtyZc2BGoby8J5C8XtJE4IFzUtxlM0sfzbXFVxLkg0HqUpapF6ClrnxXbgF Y1lecqGm8ipGe7b5H6g/KKUs4Pfu+ZwnzbmF6RtczkEvYA7F3G91JEcFnvKot/8e4mUZ uQGCooo05PNxvOB/Gqh2ZfyWKQWrSozhGUqBKPBl7IH/0XFVMPpU1MDEVg63UHci+JbS E0a/6vGlpdPF6hJpQCIuUMm0gHzEaj7kmp729vMKjg5jZYhFMxp2tSoEw+uDNDeawets j3Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:delivered-to; bh=aG3jRlbPN2vUwxCTM7m5lg6AuY6gMHA+0U8gF5Ougek=; b=QEoj9vZa7YKHoecURT8aXzv4+EmJ9mB2axWvLT6xfONEPGYmGZ9KnBdWKj+19h43pf QKyq7gGktqfutTbU8NNHYJ80JnPBoUz0hgtmwrx/Z9hrG9rYQsiDyRtfeFOK6M0MJbPS gzhKhYCfKplzuhD2g6vWx7iCcZlxHdCK5lMX0SR08gi8IADlU4JaueAkSMK6HZY0CksR NS1Tefm+rQpb3UHlAe0whhekMwbB1t/fKgbeCZg2FAsS5Ns4DdkWHI3P6GNrmFUirX6L xdquTz0EZ7gUE604Mi+/YlOyB4CHAtyOAbPWOxolbf2UmtXaIhg5iNj8NVNo4iHauWiF oxMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a13si8121508pfl.279.2021.07.19.12.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 12:50:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5EEC46E0DA; Mon, 19 Jul 2021 19:50:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD5266E07B for ; Mon, 19 Jul 2021 19:50:05 +0000 (UTC) Received: by mail-io1-f53.google.com with SMTP id x10so21375423ion.9 for ; Mon, 19 Jul 2021 12:50:05 -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=aG3jRlbPN2vUwxCTM7m5lg6AuY6gMHA+0U8gF5Ougek=; b=PjvPeeCTKSJmRWMFNukQvYx4eekS7HyijdaQaDVaet5CC2cULtoIEdTcPGxqIfgHIA qQI/nlJdg29NqnMVI7Azz7cHIOWFZSyHuVReRDf2g2uevORXMApZRd1/s/GdDZRQM15E n97aVauaNuVzn9npCBQDKc0Xt8QS+vXAHpcIwiH34yIZy/wskGqppFNFhWHxDnumR9kf VYjIUQRI7SCquqjwYnWEIReImnxFNaKeWkn0hWl4gwRJH3WMHP4j2O3/Q1m1V94C18bz dwMGjLH1qbMxEcCnTqzkCoXPVZ0hhXHEPDwBxkhZCCwdI4pTGaGeIe7Nov79CKNO0n8Z d/Og== X-Gm-Message-State: AOAM5315u3bapGqNPBcSN86oCSu4orsJTTtwrYT/c4rtIhCJv2XMjTth MXvW6CSttjh5vWi3H0Nu8g== X-Received: by 2002:a05:6602:59d:: with SMTP id v29mr9469036iox.132.1626724205186; Mon, 19 Jul 2021 12:50:05 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.248]) by smtp.googlemail.com with ESMTPSA id g22sm10898287ion.10.2021.07.19.12.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 12:50:04 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Subject: [PATCH] dt-bindings: display: Fix graph 'unevaluatedProperties' related warnings Date: Mon, 19 Jul 2021 13:50:01 -0600 Message-Id: <20210719195001.2412345-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Krishna Manikandan , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: David Airlie Cc: Daniel Vetter Cc: Rob Clark Cc: Sean Paul Cc: Marek Vasut Cc: Krishna Manikandan Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring --- .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml | 6 ++++-- .../bindings/display/msm/dsi-controller-main.yaml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) -- 2.27.0 Acked-by: Sam Ravnborg diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml index d101233ae17f..07b20383cbca 100644 --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml @@ -37,7 +37,8 @@ properties: properties: port@0: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: Video port for MIPI DSI Channel-A input properties: @@ -57,7 +58,8 @@ properties: - const: 4 port@1: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: Video port for MIPI DSI Channel-B input properties: diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml index 76348b71f736..de23cab9b5f1 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -77,7 +77,8 @@ properties: properties: port@0: - $ref: "/schemas/graph.yaml#/properties/port" + $ref: "/schemas/graph.yaml#/$defs/port-base" + unevaluatedProperties: false description: | Input endpoints of the controller. properties: @@ -92,7 +93,8 @@ properties: enum: [ 0, 1, 2, 3 ] port@1: - $ref: "/schemas/graph.yaml#/properties/port" + $ref: "/schemas/graph.yaml#/$defs/port-base" + unevaluatedProperties: false description: | Output endpoints of the controller. properties: