From mboxrd@z Thu Jan 1 00:00:00 1970 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 4A6DCF588C2 for ; Mon, 20 Apr 2026 12:54:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B092E10E05F; Mon, 20 Apr 2026 12:54:39 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="HngQQALN"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8AC4110E05F for ; Mon, 20 Apr 2026 12:54:37 +0000 (UTC) Received: from [127.0.1.1] (91-158-153-178.elisa-laajakaista.fi [91.158.153.178]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9C9792677; Mon, 20 Apr 2026 14:52:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1776689579; bh=fExIAih1V/hUxLXpMt7LVH1DfE+RqN2Y1ycWAegD0uk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=HngQQALN8W5cp1iABKNlfrEY1iO0zLyhduFC0O5EjsjD3ewMFKyYcDmUargaq1OYT mmwBivFjYsQ4FbaJa5dpfduQiWTuPgEjqZy7VH4TeoBCkTTYpbkuxICCpxgc1xSlaT E7eZStwzRosl9DuPTBz0Gk+gjMoMQOcFrGA7/Ifw= From: Tomi Valkeinen Date: Mon, 20 Apr 2026 15:54:09 +0300 Subject: [PATCH 02/15] dt-bindings: display: ti,am65x-dss: Simplify binding MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260420-beagley-ai-display-v1-2-f628543dfd14@ideasonboard.com> References: <20260420-beagley-ai-display-v1-0-f628543dfd14@ideasonboard.com> In-Reply-To: <20260420-beagley-ai-display-v1-0-f628543dfd14@ideasonboard.com> To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Aradhya Bhatia , Nishanth Menon , Vignesh Raghavendra , Swamil Jain , Devarsh Thakkar , Louis Chauvet Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tomi Valkeinen X-Mailer: b4 0.15-dev-c25d1 X-Developer-Signature: v=1; a=openpgp-sha256; l=4076; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=fExIAih1V/hUxLXpMt7LVH1DfE+RqN2Y1ycWAegD0uk=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBp5iIDVQka58bN3HLS4c+NlZswqixlG/xqmGICs ymyuvYjy2uJAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCaeYiAwAKCRD6PaqMvJYe 9aGsD/9n256V6XjrpI6lnUsY3QZ9Uin8/hpZ2dn2RxWzS6WIJkT5ak5+hUNTBUeGgRbAe+7AUvR J5L/zug7O2P7r4DCiy6rfGyvvGg72AWaaehgIjfME8pyp4lpBNcDnPDobS1kAjHt7nH8pOIxTs4 wc+P4yppYNaFuLlBp2gWLrzGLSjZ9cEi1lAf+5LjP15SMqUYmzF3ka0fOjiv9WGFB6huFo8wgtJ fhrNybFqE4iDNLvfNY3ZhZwdpoISSQMaV9ZRkDEriGDefrF3dtrc9uI/sGw+Z5whWYHg8GFWkvH JmVkCFkFYE9d75hdbuKZvBjwNRwkGKPro0CoJlGqUjg8QFmLUZonasd6atlWrhWwFFUlCSz+Fvm rDFwE+WBvZKY/a567XZghGqkUv0ych5zbDp9/ciUGYFaLsDJtBcnS+0bjJJM1j1Ov4OxGveOnCE jpoh0zcIvAXrKYII7QArV90f5M/hpS1IuveCPmgxQIXX8MIySviHcRkEJhI+7KwhDPLVgBAhg5f XBrEZLCcGn5riJxaI3tyGgl6N9LC0EWRLtgGscs08mbneFGnMuRHvByKi2PGGscoetEULbgwp6z k3DHBGtk+fPfp54uO+tpEzRpEzWLBM4BiASygc703zmKVHHeS2xzZvUs7ZBOwuD7rHeltN6GVvI 5nYYmydQj26sqzw== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 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" In principle the DT binding for the DSS IP should mainly cover the DSS IP. The current binding also covers the SoC integration topics outside the DSS, mainly via the endpoint related rules and descriptions. A more recent SoC, AM62P, has two instances of the DSS IP, and while both DSS IPs are identical, they are integrated slightly differently (e.g. which DSS output goes to an in-SoC DSI bridge, which goes to DPI pins, etc.). To make the bindings usable for both DSS instances, relax the binding slightly: remove the explicit endpoint rules, and generalize the descriptions. Signed-off-by: Tomi Valkeinen --- .../bindings/display/ti/ti,am65x-dss.yaml | 55 ++++++++-------------- 1 file changed, 20 insertions(+), 35 deletions(-) diff --git a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml index 75d9640398f0..588d72d4ec0d 100644 --- a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml +++ b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml @@ -12,12 +12,21 @@ maintainers: - Tomi Valkeinen description: | - The AM625 and AM65x TI Keystone Display SubSystem has two output - ports and two video planes. In AM65x DSS, the first video port - supports 1 OLDI TX and in AM625 DSS, the first video port output is - internally routed to 2 OLDI TXes. The second video port supports DPI - format. The first plane is full video plane with all features and the - second is a "lite plane" without scaling support. + The Display Subsystem (DSS) used in e.g. AM65x and AM625 SoCs has two output + video ports (VP) and two video planes. The integration varies from SoC to SoC, + affecting the routing of the video ports. + + The first plane is full video plane with all features and the second is a + "lite plane" without scaling support. + + On AM65x, the first VP has an integrated OLDI TX, thus the first output port + is OLDI output. The second VP is routed to external MIPI DPI pins. + + On AM625, the first VP is connected to two OLDI TX instances, and the second + VP is routed to external MIPI DPI pins. + + On AM62A7, the first VP is tied off in the SoC, and the second VP is routed to + external MIPI DPI pins. properties: compatible: @@ -85,34 +94,15 @@ properties: properties: port@0: $ref: /schemas/graph.yaml#/properties/port - description: - For AM65x DSS, the OLDI output port node from video port 1. - For AM625 DSS, the internal DPI output port node from video - port 1. - For AM62A7 DSS, the port is tied off inside the SoC. - properties: - endpoint@0: - $ref: /schemas/graph.yaml#/properties/endpoint - description: - For AM625 DSS, VP Connection to OLDI0. - For AM65X DSS, OLDI output from the SoC. - - endpoint@1: - $ref: /schemas/graph.yaml#/properties/endpoint - description: - For AM625 DSS, VP Connection to OLDI1. - - anyOf: - - required: - - endpoint - - required: - - endpoint@0 - - endpoint@1 + description: | + AM65x: OLDI output from video port 1 + AM62A7: Not available, tied off inside the SoC + Other SoCs: Parallel video from video port 1 port@1: $ref: /schemas/graph.yaml#/properties/port description: - The DSS DPI output port node from video port 2 + Parallel video from video port 2 ti,am65x-oldi-io-ctrl: $ref: /schemas/types.yaml#/definitions/phandle @@ -168,11 +158,6 @@ allOf: then: properties: oldi-transmitters: false - ports: - properties: - port@0: - properties: - endpoint@1: false required: - compatible -- 2.43.0