From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m19731100.qiye.163.com (mail-m19731100.qiye.163.com [220.197.31.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87125286A0; Mon, 19 Oct 2026 10:44:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792406651; cv=none; b=TPS+Ir3v2MdTtWhsI0yHBPbFzmXVDUul5z6Xt5mXk/xXh2fHrbgyB04aFSAxF4XEBuVlETll16v1o2tfdsYp92TNHo4gB94uqvespTL+yiBC/rYe1tPkLenD7GVpQPCS4mFT2vW+bupWAV5v7lr9853TvRUBtAGUCPSa9rhvOz8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792406651; c=relaxed/simple; bh=g0LJFnXbep4t5ChVn2l9AIWMeCe2/wz4aBSLAib6Veo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nUdgOkxmmUizgjnH+SyeZ8bfwi/N8xnGYGH56pdgsO+TMIOF+OevpeDGSoloZ+J3VgBfqfBxnwLh2RRCn9N3b/08B8EyTpvfXcL/oiEFNmPo7xOtxAcr+OlLnvQ95b3YQab7RJANQFk+ynKhh7wJKNkdxOMO4gu/u3ytj4Bzpoc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=d+VPOf6W; arc=none smtp.client-ip=220.197.31.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="d+VPOf6W" 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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; 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