From patchwork Mon Mar 25 10:36:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13601804 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6FE51C54E64 for ; Mon, 25 Mar 2024 10:36:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E7DF10E737; Mon, 25 Mar 2024 10:36:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="wltc1km5"; dkim-atps=neutral Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 42C7610E737 for ; Mon, 25 Mar 2024 10:36:16 +0000 (UTC) Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-56bf63af770so824168a12.3 for ; Mon, 25 Mar 2024 03:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711362974; x=1711967774; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9sOPezhldmxSnr8OT7bAHjF4t98n/YFRx58g6GLuW1s=; b=wltc1km5firqulSdILGPquXBYvELyPkRwyG6zOjabwsb+eMUPalThAXWMdnqzugItV 0nFQGDBuUrhOmpVppA++7GpTm4uukgqHOiu9v1rRbHSlzYRvQmBB7VrLRKQfEKMKmNK8 vc08sJSQ3FdOA0dQOEj+5g4gmRchWkQLZhNYpeLI+sdFhmsW5igSg2792H375jp+BzJZ W5/NNEqltSqHbD8ktVoT13tWxp21R6c51BARJpNnZ64WrBkH1+7l/HNGMEj+LWFk7BM4 aBKYU5zcwS13eS1rygkbFZyFzBBipA3NpXNYZulltu92bFK00To+U5516s4znpVzLuDb uhvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711362974; x=1711967774; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9sOPezhldmxSnr8OT7bAHjF4t98n/YFRx58g6GLuW1s=; b=ImoQJDehGUk6oIs+jxPvLF46qL27EVHlTJMirMM/zch5vfFHFbw59IUNbL0nAeh2Tz YLbmSvVY0XrwoLjGsdPL8Sx3kGWuewMsXj1wyAnp3A7iErdADs88emAEdBct3kr0ZYsY OlnTOt5Ht2oRElLMJYVzB7GZi/0Yda7ZvEBMwICFmCk1RpJQTECTcH+nG+DVPxcuR6eC 5db2Js9tdZ7JqjEz6bDGt3eDy+HWVhJsdsw9hPn95m47KpxuZfnPgsLoHGydSH4T6g9t wiyMFtVprpRkzrEkq1euqQoLcwKz4G7/sTLDTFz9VBbnUMYxSSR8/JVJm/mg2Pmb87im 2/jg== X-Forwarded-Encrypted: i=1; AJvYcCVJcGSig3jpWgvSM/u45PPO19nPz0WdCw81hJSzbZy6ZjzbRfYDCWSoVfJt7gtuVnd/rVFJbW62kXg0F6A10ZDdYWbjuf0ZLiuhBT6NmFR0 X-Gm-Message-State: AOJu0Yw9q7YRoAw6koAjPZJ5kkfF00IbgQWKIVBWMYMNufmrMIq5GHyc buXLiwiVFA2kh3i/nInRDfz3vYiEln5+m/+6cMWT+AxfkKd4tiKQ4zn8yJaYDP4= X-Google-Smtp-Source: AGHT+IGxM8s228b1XWbE+SeGTrM1fDdyMya66yBrGFVuE7WBvD2ok2jlRcn2B1rUDQ1HBTx/Bvze3Q== X-Received: by 2002:a50:9e44:0:b0:568:d19e:7ab0 with SMTP id z62-20020a509e44000000b00568d19e7ab0mr5606866ede.36.1711362974289; Mon, 25 Mar 2024 03:36:14 -0700 (PDT) Received: from krzk-bin.. ([178.197.222.44]) by smtp.gmail.com with ESMTPSA id dm28-20020a05640222dc00b0056b7ed75a46sm2827319edb.27.2024.03.25.03.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 03:36:13 -0700 (PDT) From: Krzysztof Kozlowski To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jianhua Lu , Del Regno , Thierry Reding , Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Laurent Pinchart , Rob Herring Subject: [RESEND PATCH v4 1/3] dt-bindings: display: panel: add common dual-link schema Date: Mon, 25 Mar 2024 11:36:09 +0100 Message-Id: <20240325103611.28240-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add schema with common properties shared among dual-link panel ICs. Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- Changes since v3: 1. Re-phrase description of binding and ports (Laurent) v3: https://lore.kernel.org/all/20230823081500.84005-1-krzysztof.kozlowski@linaro.org/ Changes since v2: 1. New Patch v2: https://lore.kernel.org/all/20230502120036.47165-1-krzysztof.kozlowski@linaro.org/ v1: https://lore.kernel.org/all/20230416153929.356330-1-krzysztof.kozlowski@linaro.org/ --- .../display/panel/panel-common-dual.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml diff --git a/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml new file mode 100644 index 000000000000..cc7ea3c35c77 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for Dual-Link Display Panels + +maintainers: + - Thierry Reding + - Laurent Pinchart + +description: + Properties common for Panel IC supporting dual link panels. Devices might + support also single link. + +allOf: + - $ref: panel-common.yaml# + +properties: + ports: + $ref: /schemas/graph.yaml#/properties/ports + additionalProperties: false + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: First link + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Second link + + "#address-cells": true + "#size-cells": true + + required: + - port@0 + +# Single-panel setups are still allowed. +oneOf: + - required: + - ports + - required: + - port + +additionalProperties: true From patchwork Mon Mar 25 10:36:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13601805 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7478AC54E64 for ; Mon, 25 Mar 2024 10:36:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9646610E73F; Mon, 25 Mar 2024 10:36:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="iBzNi2Ye"; dkim-atps=neutral Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by gabe.freedesktop.org (Postfix) with ESMTPS id B87D210E73A for ; Mon, 25 Mar 2024 10:36:17 +0000 (UTC) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a466a1f9ea0so250805666b.1 for ; Mon, 25 Mar 2024 03:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711362976; x=1711967776; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=W09M8JIJtZCbNBhGe/AHRCcrRIGkrBwh+HJVwKRzmpo=; b=iBzNi2Yedwx7wqldKjBI254kHDJXxJk4lw3tkahNTgjHkzH0KSlHKi479zirURV4g3 w7kofDOkMdnWzS2+98Lhz6UTgxLvgf385lR0qgXhKpBsGGm/3tPDK5kOI3oq4eMcnmKM fujCLN8KGf064EHOwyffFkJ5p2594dyFxQdB0zR4N6lzpEzm0nMgxuIIwtK8KZYWXjxJ wO008ftrZZco24WEfQId7au5pd1793UebrosbH7+B1h/ZubUOQ8b8SWOw6T2TCOpYxZ+ W6EUL4qcBVLllJJ4Gcbllf3tB9MlgB6BX6tg963Hp1ZnXWl0FFgkwf8kGY+f2Ocm/8eS eR5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711362976; x=1711967776; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W09M8JIJtZCbNBhGe/AHRCcrRIGkrBwh+HJVwKRzmpo=; b=RP6AtoXs8WhtfUmtIPNwofhO/HAPAvRF8ir8+wURgjoMfcGP4r7MYVoQTIosP1JZmt OTEOeAuLzlJNAeKgtJBhtwUf3gznlzrwL+2f4aBMeqP/OV9ciWl74zdE+U1VOsns7H8G GBE3wDcAwMiibQXkG4ly2zhRuji9tp3xDAAL13yiayvDyaokfTsZgTRhOW7SKONCXu3y 6en1WqpL0Oe7uPl6/gpuHGPkAe88WYmby70sfYxhC8LhLgOJkmakJZGYBmjal8IZ/M6D J1DW+HIaL9G5vF4fRD+UqX7tdoMnq5rZCGz90RcDO+UOMgc0M4Qri06dtiULEJ4mOW9G zGjg== X-Forwarded-Encrypted: i=1; AJvYcCWyKW2OA2oXiL8s2JpvU4Rfg2oppoNjKb+sZkhqkPq48PAh6YH/fv14slkCW8gMIUzJuFyZ8yPenn3rlta5unisP1Wi/QlWPKuomKPYjsFE X-Gm-Message-State: AOJu0YzoTJ4PlJejKdXOluqOPZVtfHeGmS7r8lxfJAeSfCdRkNI7NO/e wcKBYgnwZA/6Fc1V50eaVvxg0YrTTctJ7NBnqJEzKpi01nZtGnr7Cj9yZMqc31g= X-Google-Smtp-Source: AGHT+IHmQpcP4djMqJlgyZNdnJK2o64l+ykSs8j6DoMBtPxwMAnnBzvrwX1Qg9HlK4MmGrHDb/DTZQ== X-Received: by 2002:a50:8717:0:b0:568:abe3:52b2 with SMTP id i23-20020a508717000000b00568abe352b2mr6048218edb.23.1711362975826; Mon, 25 Mar 2024 03:36:15 -0700 (PDT) Received: from krzk-bin.. ([178.197.222.44]) by smtp.gmail.com with ESMTPSA id dm28-20020a05640222dc00b0056b7ed75a46sm2827319edb.27.2024.03.25.03.36.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 03:36:15 -0700 (PDT) From: Krzysztof Kozlowski To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jianhua Lu , Del Regno , Thierry Reding , Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [RESEND PATCH v4 2/3] dt-bindings: display: novatek, nt35950: define ports Date: Mon, 25 Mar 2024 11:36:10 +0100 Message-Id: <20240325103611.28240-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325103611.28240-1-krzysztof.kozlowski@linaro.org> References: <20240325103611.28240-1-krzysztof.kozlowski@linaro.org> 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The panel-common schema does not define what "ports" property is, so bring the definition by referencing the panel-common-dual.yaml. Panels can be single- or dual-link, thus require only one port@0. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v3: 1. Rb tag Changes since v2: 1. Use panel-common-dual Changes since v1: 1. Rework to add ports to device schema, not to panel-common. --- .../devicetree/bindings/display/panel/novatek,nt35950.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml index 377a05d48a02..7cac93b20944 100644 --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml @@ -19,7 +19,7 @@ description: | either bilinear interpolation or pixel duplication. allOf: - - $ref: panel-common.yaml# + - $ref: panel-common-dual.yaml# properties: compatible: @@ -59,6 +59,7 @@ required: - avee-supply - dvdd-supply - vddio-supply + - ports additionalProperties: false From patchwork Mon Mar 25 10:36:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13601806 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0F30EC54E58 for ; Mon, 25 Mar 2024 10:36:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6219B10E740; Mon, 25 Mar 2024 10:36:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="JdvISq2X"; dkim-atps=neutral Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3698010E73F for ; Mon, 25 Mar 2024 10:36:19 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-56845954ffeso5676290a12.2 for ; Mon, 25 Mar 2024 03:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711362977; x=1711967777; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MzqGDlYO53VtpNTfk9/2jQSIhaYzka5q6tmocMJNTUk=; b=JdvISq2XCcJNpSChbqyRZiuIyJAZ2ZkSqLshiqsQehUb9XWXjdoeSIxsmfrJlyTb1z MYRdnmusuZm3Ne/rrMVpqMMeFKqhlqg5vdQlKZsg8IqQA92QBwTV3a9og6ASvbCCGuiy TaZrSk6u4cBez30EOzVkHTrL1am/3zSLhjJfnWtzktj7xgW9zpPaMVmU8VYFOA84lt3r 3r9wdi8lA9x+bZHAZh7VROHPmOWrod8dcW3oMzuT1kKgRHBmdjjfLZZNJtGMfGHjSZG1 H0blzoPMC2rxbhJzaY2gkSBTs7oLmqq6zOGCsZqjYlY7dMLXpfr6JSjEck+zRGcDXJsJ 7LiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711362977; x=1711967777; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MzqGDlYO53VtpNTfk9/2jQSIhaYzka5q6tmocMJNTUk=; b=IGzf/UeLs8BzB8ZR2F3vgnXTnDOh84y5VuIu80o+MpY9i/cOvF1rThsuGk/QkAyXy8 aNnPURMWp5zrWFygFfRUgbOxa3epqIejnwfpnWTbJq/Pzb8wd+CmaAI5GMuhpOFpyskg wH8KjcEakU6ljH49jIXp5oZHiphLupRjZWTcYLMsP/eIc2D6iYYpMOoqAwRY0XbzUa8p 6WljE3XvnUsEnXzJYh7T59KJGoWmOZbEgm2DHqVRut7RyyLbQG1U/8RBpRyEnZ++RYZP gLYTeQsVPbJ7YHsKI+pQW0RC/v1fDLASn9YssDKp2PMewYukbYKxofXosEzktgppjxuE qT+A== X-Forwarded-Encrypted: i=1; AJvYcCUBZ5B3/bAgRdOBsw8IjeSW8AcNs9/HMerNv0hJpzOregEM6k/lSfi8WSFBWVwbeSpx52dvVdjtSIkt+D9qek+WaWd7BqvDynKB7Da1rn7m X-Gm-Message-State: AOJu0Yy3P3WdmNvjXBzqzy12GOhep13a+jVebzhMYRtH3CxEhS7fEYQJ kIZUfgUv9WKBSqYSbhmkQtCaIYOJ1sxJa/e+w1y7NV8561HCNzZPKRPH2fqc7HM= X-Google-Smtp-Source: AGHT+IETJftRskEwl5RpRH8gvHqeBixLLouS91glYunfDQKwsjow2ORhmWr+ywgqdej1UpqdN9epjg== X-Received: by 2002:a50:9e45:0:b0:56b:cf42:bcf with SMTP id z63-20020a509e45000000b0056bcf420bcfmr4231366ede.1.1711362977412; Mon, 25 Mar 2024 03:36:17 -0700 (PDT) Received: from krzk-bin.. ([178.197.222.44]) by smtp.gmail.com with ESMTPSA id dm28-20020a05640222dc00b0056b7ed75a46sm2827319edb.27.2024.03.25.03.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 03:36:16 -0700 (PDT) From: Krzysztof Kozlowski To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jianhua Lu , Del Regno , Thierry Reding , Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [RESEND PATCH v4 3/3] dt-bindings: display: novatek, nt36523: define ports Date: Mon, 25 Mar 2024 11:36:11 +0100 Message-Id: <20240325103611.28240-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325103611.28240-1-krzysztof.kozlowski@linaro.org> References: <20240325103611.28240-1-krzysztof.kozlowski@linaro.org> 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The panel-common schema does not define what "ports" property is, so bring the definition by referencing the panel-common-dual.yaml. Panels can be single- or dual-link, depending on the compatible, thus add if:then:else: block narrowing ports per variant. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v3: 1. Rb tag Changes since v2: 1. Use panel-common-dual. 2. Add if:then:else: Changes since v1: 1. Rework to add ports to device schema, not to panel-common. --- .../display/panel/novatek,nt36523.yaml | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml index 5f7e4c486094..bbeea8cfa5fb 100644 --- a/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml @@ -14,9 +14,6 @@ description: | panels. Support video mode panels from China Star Optoelectronics Technology (CSOT) and BOE Technology. -allOf: - - $ref: panel-common.yaml# - properties: compatible: oneOf: @@ -38,7 +35,6 @@ properties: description: regulator that supplies the I/O voltage reg: true - ports: true rotation: true backlight: true @@ -47,7 +43,26 @@ required: - reg - vddio-supply - reset-gpios - - ports + +allOf: + - $ref: panel-common-dual.yaml# + - if: + properties: + compatible: + contains: + enum: + - novatek,nt36523w + then: + properties: + ports: + properties: + port@1: false + else: + properties: + port: false + ports: + required: + - port@1 unevaluatedProperties: false