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 60BF5CCF2E3 for ; Mon, 19 Oct 2026 10:28:54 +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:References:In-Reply-To: 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: List-Owner; bh=ccO9kmXjFG0FThjj090MJfFL8+nimrTZBJMry2fz3XQ=; b=Sj2Sgg7Dmbzabf BzwApU6md182RctQJiuNPCpbDMyN+HVNbxJhZC6vCBSk+yZRkGbi6xJb6RBx9V1V49TLgnVWm60sS +7Jp78aAGVYBXQoX3+RA3Yb18rfzCf7yE2a9BY5CIGIdP3ub6Wq2S8b9zpXpRo5j8LHhiiF004DVW mY2I2UgU4pEw/uRZpVg+Me/O2QRf03Zq4tTZ7dUYowAWiFaYL5ntzCSP0fKKrkg7tt2RuEIKBMsZe zB8TbqrtTHTPVY9TK/Y17nbuShpx/2Xa9YMOj2PwRnEtlzfLs0sHkc9ndf3b8gXnrzCAH/n7cjB6t UXcO+2cdPAer+e5yncHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xIkbt-00000007Bi2-3RGu; Mon, 19 Oct 2026 10:28:53 +0000 Received: from mail-m10313119186.xmail.ntesmail.com ([103.131.191.86]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xIkbr-00000007Bcz-08Zo; Mon, 19 Oct 2026 10:28:52 +0000 Received: from zyb-HP-ProDesk-680-G2-MT.. (unknown [61.154.14.86]) by smtp.qiye.163.com (Hmail) with ESMTP id 518d3dd9d; Mon, 19 Oct 2026 18:28:45 +0800 (GMT+08:00) From: Damon Ding To: Sandy Huang , Heiko Stuebner , Andy Yan , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Andrzej Hajda , Robert Foss Cc: Neil Armstrong , Manivannan Sadhasivam , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Dave Jones , Dmitry Baryshkov , dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Damon Ding Subject: [PATCH v2 3/6] drm/bridge: analogix_dp: Add support for RK3568 Date: Mon, 19 Oct 2026 18:28:21 +0800 Message-Id: <20261019102824.3157044-4-damon.ding@rock-chips.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20261019102824.3157044-1-damon.ding@rock-chips.com> References: <20261019102824.3157044-1-damon.ding@rock-chips.com> MIME-Version: 1.0 X-HM-Tid: 0aa153b4e18c03a8kunme348c01b2f6c34 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVkaSEJOVhgZGE0eSBlNSktMH1YVFA kWGhdVEwETFhoSFyQUDg9ZV1kYEgtZQVlNSlVKTk9VSk9VQ01ZV1kWGg8SFR0UWUFZT0tIVUpLSE pKQk1VSktLVUpCWQY+ DKIM-Signature: a=rsa-sha256; b=d+VPOf6W6mvTgDPcVFq/fttqL/HWCuxlB1VBSPWI4LiJAjkK2STu5KXpqrHPA6IE7G+RWvBz+VogodsnKp33IwEnh6TEf+510kDqzlUnBPsn3bBsqJ6ljPCPM2vjB5BeqZgGNHlf/0WZ0qFAhINXdeP166ocTHfcGTJbs2FDdCo=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=tCtH0nSoUz9rfFDR40EGktb2UZ4joiDlZGZt7iSx0Yo=; h=date:mime-version:subject:message-id:from; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261019_032851_411767_C086E420 X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The RK3568 SoC integrates an eDP transmitter based on the Analogix DisplayPort core. Like RK3288 and RK3399, its main link consists of 4 physical lanes running at 1.62/2.7 Gbps per lane. Add a new RK3568_EDP device type and let it share the link rate and lane count limits of the RK3288/RK3399 variants. Signed-off-by: Damon Ding --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 + include/drm/bridge/analogix_dp.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index 6df6963740d2..8bb4c48aa3b4 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -1319,6 +1319,7 @@ static int analogix_dp_dt_parse_pdata(struct analogix_dp_device *dp) switch (dp->plat_data->dev_type) { case RK3288_DP: case RK3399_EDP: + case RK3568_EDP: /* * Like Rk3288 DisplayPort TRM indicate that "Main link * containing 4 physical lanes of 2.7/1.62 Gbps/lane". diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h index 6033137b651e..e05ff4bd689c 100644 --- a/include/drm/bridge/analogix_dp.h +++ b/include/drm/bridge/analogix_dp.h @@ -16,6 +16,7 @@ enum analogix_dp_devtype { EXYNOS_DP, RK3288_DP, RK3399_EDP, + RK3568_EDP, RK3576_EDP, RK3588_EDP, }; @@ -25,6 +26,7 @@ static inline bool analogix_dp_is_rockchip(enum analogix_dp_devtype type) switch (type) { case RK3288_DP: case RK3399_EDP: + case RK3568_EDP: case RK3576_EDP: case RK3588_EDP: return true; -- 2.34.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy