From patchwork Mon Sep 26 23:45:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12989611 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5685FC07E9D for ; Mon, 26 Sep 2022 23:46:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DweBOuaLwSX8uQQyLnnntzLWv7Qlr1daUPtJAccATkg=; b=qda47YDomruIIV Alj409jB67U913BmX7frAx7mBawoNnP6mw/v64B/xvBST4s26K/YvTz4qdnVrTKI17jbNTp7JfrUN FaQYJ2G0+wznr9VeblT/aGyWBtbGrFXqxalUZJ/C0EWKBwPusTOOKxzPEX4X6qlC8e+yvXQl7KUzA lFAH8vGP1ofm8iCGIwaBWvj3aRlnVMes1k3ckRM2oiAzD3YC6TbijnZlKOaxmD2sk97ASqzqOg61K 2HeeW0z6q8MtdrzCyas8hGMT61nGzU8JxyBUix0djJQDrgSGfNBI+ZI/JljSsYsIzC8KerSxWwsoO LJmUQqYuJ/8mM5UtDK4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocxmp-007QjU-NP; Mon, 26 Sep 2022 23:45:19 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocxmn-007QjB-0G for linux-arm-kernel@lists.infradead.org; Mon, 26 Sep 2022 23:45:18 +0000 Received: from tr.lan (ip-86-49-12-201.bb.vodafone.cz [86.49.12.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9686E84BEF; Tue, 27 Sep 2022 01:45:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664235914; bh=C8gWIDs4Jz5cItlEC5PdGI7V8drgK9GC2bW5sHDcyZ8=; h=From:To:Cc:Subject:Date:From; b=v1Z6T9uaBNPppQ/epfPscPQTDY0JANoqvraXOQRxfFfjeegZqOUAjIf8F7kC6BsVk x+vN94AmrhB+JB47OEz+/w/dBuGfCATnmOxQoN+Zfub8T1zYoOvSu2krYnYiA5WfCo 76ZhezfE4prgnxANWhOmBYg3RcVsmhqZ1lMXgQK7dvHy4Sjd0RHO1ojx7KPrY0nOMt +jtksQYd0pYEB0DyWfGW1eRyGMZTaoWs6Xve0lRNQGkPwkIVBaoI/FiTwhm2g4OQ+a lZxcVYAp0pOiRYMfa+Df2FwrvtQpKDbk4TAnU2/GQW8qAWxJgpnnwvpR8il2gs1Ih0 HYFIWt8pa0v9g== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Alexandre Torgue , Krzysztof Kozlowski , Maxime Coquelin , Philippe Cornu , Rob Herring , Yannick Fertre , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH] dt-bindings: display: st,stm32-dsi: Handle data-lanes in DSI port node Date: Tue, 27 Sep 2022 01:45:01 +0200 Message-Id: <20220926234501.583115-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220926_164517_281565_3B9F1076 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Handle 'data-lanes' property of the DSI output endpoint, it is possible to describe DSI link with 1 or 2 data lanes this way. Signed-off-by: Marek Vasut --- Cc: Alexandre Torgue Cc: Krzysztof Kozlowski Cc: Maxime Coquelin Cc: Philippe Cornu Cc: Rob Herring Cc: Yannick Fertre Cc: devicetree@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org --- .../bindings/display/st,stm32-dsi.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/display/st,stm32-dsi.yaml b/Documentation/devicetree/bindings/display/st,stm32-dsi.yaml index 54f67cb510401..c488308d7be13 100644 --- a/Documentation/devicetree/bindings/display/st,stm32-dsi.yaml +++ b/Documentation/devicetree/bindings/display/st,stm32-dsi.yaml @@ -58,9 +58,20 @@ properties: DSI input port node, connected to the ltdc rgb output port. port@1: - $ref: /schemas/graph.yaml#/properties/port - description: - DSI output port node, connected to a panel or a bridge input port" + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: | + DSI output port node, connected to a panel or a bridge input port. + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + properties: + data-lanes: + minItems: 1 + items: + - const: 1 + - const: 2 required: - "#address-cells"