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 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 111DDCD98DE for ; Mon, 15 Jun 2026 12:35:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qY5kOzqcJfORXQNkdCMcMwTxAyKHZxf9POk2wrTq/zs=; b=O6cmxCQnXbjXqiiIYOR7NArtN7 ctiUjX+6f4KPYtqXZjfT6RgewwZ9xCW39NylthmhJqEVV9yNgLCI4YZJSQifAteGSFJX2C5gdtMXY K/J14DwpGUacTk3TCxl9TM3TBdoZ6Uisg9gQvhc4u4s01vYmp1RKFJgCNM/NGoyx74RPBIWHETIfB Iv7gac/8lN/S6AHGB4GAnIZKmunH/bRCtJKonX+EylNCQ1TMAlTSOSgZbA+eVA4kZ0rc8XLWJJ8+e P7ttW2MMLnSTLHPSp1HuPMRPPyBrY+qE9pJKDqWgOmDHBcHm5V+ejk4OGh/Bx3OTkJxJkSl3+IbDL r63vul+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wZ6Ww-0000000EDNT-1KCh; Mon, 15 Jun 2026 12:35:06 +0000 Received: from mail-m9337.xmail.ntesmail.com ([103.126.93.37]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wZ6Ws-0000000EDMA-2VoF; Mon, 15 Jun 2026 12:35:04 +0000 Received: from [172.16.12.74] (unknown [61.154.14.86]) by smtp.qiye.163.com (Hmail) with ESMTP id 427046fb6; Mon, 15 Jun 2026 20:34:58 +0800 (GMT+08:00) Message-ID: <8da02c6f-030d-4033-935b-a44c777a14d2@rock-chips.com> Date: Mon, 15 Jun 2026 20:34:58 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 0/4] Add eDP lane mapping support 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 References: <20260604085220.2862986-1-damon.ding@rock-chips.com> Content-Language: en-US From: Damon Ding In-Reply-To: <20260604085220.2862986-1-damon.ding@rock-chips.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HM-Tid: 0a9ecb4725bc03a8kunmad12dd9f4325 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVkZShkaVhkYTxoaGEsYQhpIGVYVFA kWGhdVEwETFhoSFyQUDg9ZV1kYEgtZQVlNSlVKTk9VSk9VQ01ZV1kWGg8SFR0UWUFZT0tIVUpLSE pKQk1VSktLVUpCWQY+ DKIM-Signature: a=rsa-sha256; b=H2pYc5H4U519kPcqsLXiGZSqfal7roIZHKjog0oUnFm77yfp9eZTtdfOGTPLM5/Lcsv+XL4jWuNSRzLTovnS6ukbqMHh0l4IBojJTjDT+R0HGDUMdDikxtVT4j36p8sRGDPrJFuqrwx4ZAj5tX2uj6ZkKN0BqpTpcTwOo+O86QA=; s=default; c=relaxed/relaxed; d=rock-chips.com; v=1; bh=qY5kOzqcJfORXQNkdCMcMwTxAyKHZxf9POk2wrTq/zs=; h=date:mime-version:subject:message-id:from; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260615_053502_895776_D8FD7D03 X-CRM114-Status: GOOD ( 13.72 ) 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 Hi all, Gentle ping on this patch series. Best regards, Damon On 6/4/2026 4:52 PM, Damon Ding wrote: > 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: Add DRM DP helper API to validate DP lane counts > Patch 3: Add validation for samsung,lane-count property as preparation > Patch 4: Implement lane mapping in analogix_dp driver > > Damon Ding (4): > dt-bindings: display: bridge: analogix-dp: Add data-lanes support for > endpoint > drm/dp: Add helper to validate DP lane counts > drm/bridge: analogix_dp: Add validation for samsung,lane-count > property > 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 | 64 ++++++++++++++++++- > .../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 ++ > include/drm/display/drm_dp_helper.h | 6 ++ > 7 files changed, 97 insertions(+), 16 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. > > Changes in v4: > - Add validation for samsung,lane-count property as preparation. > > Changes in v5: > - Add DRM DP helper API to validate DP lane counts. > - Apply DRM DP helper API to check the validity of samsung,lane-count > property. > - Add Acked-by and Reviewed-by tags. >