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 1FAE4CD5BC8 for ; Mon, 25 May 2026 09:52:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4B08310E0B5; Mon, 25 May 2026 09:52:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=rock-chips.com header.i=@rock-chips.com header.b="LhdM9J5K"; dkim-atps=neutral X-Greylist: delayed 302 seconds by postgrey-1.36 at gabe; Mon, 25 May 2026 09:52:39 UTC Received: from mail-m25499.xmail.ntesmail.com (mail-m25499.xmail.ntesmail.com [103.129.254.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4B27510E0B5 for ; Mon, 25 May 2026 09:52:39 +0000 (UTC) Received: from zyb-HP-ProDesk-680-G2-MT.. (unknown [61.154.14.86]) by smtp.qiye.163.com (Hmail) with ESMTP id 3fb5f0035; Mon, 25 May 2026 17:47:33 +0800 (GMT+08:00) From: Damon Ding To: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, nicolas.frattaroli@collabora.com, cristian.ciocaltea@collabora.com, sebastian.reichel@collabora.com, dmitry.baryshkov@oss.qualcomm.com, luca.ceresoli@bootlin.com, dianders@chromium.org, m.szyprowski@samsung.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Damon Ding Subject: [PATCH v3 0/2] Add eDP lane mapping support Date: Mon, 25 May 2026 17:47:29 +0800 Message-Id: <20260525094731.121380-1-damon.ding@rock-chips.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Tid: 0a9e5e8855eb03a3kunm84eb206f10f6de X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVkaT0tKVhgaTE8YHUJOGEMaHVYVFA kWGhdVEwETFhoSFyQUDg9ZV1kYEgtZQVlNSlVKTk9VSk9VQ01ZV1kWGg8SFR0UWUFZT0tIVUpLSE pKQk1VSktLVUpCWQY+ DKIM-Signature: a=rsa-sha256; b=LhdM9J5K8Ff4EF6h/eqz/71N+GCQt1zn7XF4QRbFUj85GTayKMHtqx+Zn5aNDYN9GHdaN5LdhKHzg7EAebf9qSSuLxTZLdVjaT4JppPiW76gzei2ODx/QYnLjDW3t1VZ/mS8U2EdNM8BKpyCfPfmOSkBuE5otmOybJWOMHyVwH0=; s=default; c=relaxed/relaxed; d=rock-chips.com; v=1; bh=dJmxlSvWQVKoc/7QuMVj+YRRA1DlN4UUW864zJ29Qm8=; h=date:mime-version:subject:message-id:from; 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" This series adds configurable eDP physical lane mapping support via device tree data-lanes property. Lane mapping is mainly used for below scenarios: 1. Correct PCB lane swap and differential line routing crossover without hardware changes; 2. Adapt mismatched lane pin definitions between SoC and eDP panel; 3. Support multiple panel hardware variants on the same board by configuring data-lanes in device tree only. The series includes driver implementation and device tree binding updates to support custom lane mapping configuration from endpoint node, and keeps default linear lane order if no configuration is given. Patch 1: Add endpoint data-lanes property to analogix-dp binding Patch 2: Implement lane mapping in analogix_dp driver Damon Ding (2): dt-bindings: display: bridge: analogix-dp: Add data-lanes support for endpoint drm/bridge: analogix_dp: Add support for optional data-lanes mapping .../bindings/display/bridge/analogix,dp.yaml | 19 +++++-- .../rockchip/rockchip,analogix-dp.yaml | 1 + .../drm/bridge/analogix/analogix_dp_core.c | 56 +++++++++++++++++++ .../drm/bridge/analogix/analogix_dp_core.h | 4 +- .../gpu/drm/bridge/analogix/analogix_dp_reg.c | 15 +++-- .../gpu/drm/bridge/analogix/analogix_dp_reg.h | 4 ++ 6 files changed, 85 insertions(+), 14 deletions(-) --- Changes in v2: - Add lane mapping application scenarios in commit message. - Remove redundant deprecated property 'data-lanes' for eDP node. - Update port@1 $ref to /schemas/graph.yaml#/$defs/port-base. Changes in v3: - Squash [PATCH v2 2/3] into [PATCH v2 1/3]. - Add unevaluatedProperties: false to both the port@1 and endpoint nodes. -- 2.34.1