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 04B76CD6E45 for ; Fri, 29 May 2026 08:47:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 618B410FB03; Fri, 29 May 2026 08:47:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="mwzEjsaX"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 38A5510FB03 for ; Fri, 29 May 2026 08:47:18 +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 E48FB1254; Fri, 29 May 2026 10:46:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1780044416; bh=fzDQkAC1FEgeII5oaBsYalF51qtpuLbGjpBpq89aIjo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=mwzEjsaX/TNzvwgeHP5LYXiaIK6zKNysvdVLHiYmicZ38w40VWGKUKsqBoswgYCij jbhxJ6dlNLXivST/VnEFb/Pp6Vjhz5p4uy6ZCA7Et60rW4k0WW77/PYC7TkHTTHtMJ 24Z8llhzZu/x6jvYsO2jEqQJ0AcG1xshN+ibeEZc= From: Tomi Valkeinen Date: Fri, 29 May 2026 11:45:32 +0300 Subject: [PATCH v3 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: <20260529-beagley-ai-display-v3-2-7fefdc5d1adf@ideasonboard.com> References: <20260529-beagley-ai-display-v3-0-7fefdc5d1adf@ideasonboard.com> In-Reply-To: <20260529-beagley-ai-display-v3-0-7fefdc5d1adf@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.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=4126; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=fzDQkAC1FEgeII5oaBsYalF51qtpuLbGjpBpq89aIjo=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBqGVKLSD83oGAUC3OtfKMhgKnDcXa/xR119ai6u 1IrlVwbyx6JAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCahlSiwAKCRD6PaqMvJYe 9YfiD/4p6W9i3/OfJZSuRwyyue3of3X7ohj83TUPIqsJb3/argKyg0Df+0H0Uv9hokKXC9oUPgU a3PufR1+sZOPrc/2yt7qncpHTTl4sFG8ldRq8fQojuMnxt5chFIHLh7lyZhAso255jrJ/rkksvS LY3e0qGxuzDhX8V6EbCf4wHYRLrQH1dLYNQ4eqAfKeNeIiemTWKiTl6rZ/du3WKlpnLgoZ81ta4 QmsDRreXrTd8rXS23oPIXrEzZ9Dr69YAu6zlBd0rasv25QgtjLjMXhpd+J6dg4GDinOgBVTSexM zCnr3b/QLiaWWvPyULyqQhSbSDn4V680exPM7PAAsVWj56LCPnR84V4i3zDf5cz/nWr6sG+paKE k8+WoeeAu/TDuYZTYhwjEk86N3RCmog+21dLmAnG9i1tpJshoVo5xYvJpPDv4bV+I8EGEEJbdbV CTCetFg2gAH+kYl/DUjRVY4ogCDFVrXm6UVx3Tc7CplJRK/DU665vil464/LBki0XFnGrycAUF3 kEYolsVbxFy8FVkUdrlWB2S/U63voELUqqf5NRwE0zAvqumwPlFFRefR8+bF/QZOvTh77m3urL5 VMKZpk1998vGBxcJb22PSnNkyA9jejGHkJnmbkBxTnMXjoxbpZJrD15SyuQ+2nTbS5IgEM3hAwB EvCV6N4Ub4kzkTw== 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. Reviewed-by: Rob Herring (Arm) 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