From: Andy Yan <andyshrk@163.com>
To: dmitry.baryshkov@oss.qualcomm.com, heiko@sntech.de
Cc: hjc@rock-chips.com, mripard@kernel.org, naoki@radxa.com,
stephen@radxa.com, cristian.ciocaltea@collabora.com,
neil.armstrong@linaro.org, Laurent.pinchart@ideasonboard.com,
yubing.zhang@rock-chips.com, krzk+dt@kernel.org,
devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
robh@kernel.org, sebastian.reichel@collabora.com,
Andy Yan <andy.yan@rock-chips.com>
Subject: [PATCH v6 10/10] arm64: dts: rockchip: Enable DP2HDMI for ROCK 5 ITX
Date: Mon, 28 Jul 2025 16:28:35 +0800 [thread overview]
Message-ID: <20250728082846.3811429-11-andyshrk@163.com> (raw)
In-Reply-To: <20250728082846.3811429-1-andyshrk@163.com>
From: Andy Yan <andy.yan@rock-chips.com>
The HDMI0(Port next to Headphone Jack) is drived by DP1 on rk3588
via RA620(a dp2hdmi converter).
Add related dt nodes to enable it.
Note: ROCKCHIP_VOP2_EP_DP1 is defined as 11 in dt-binding header,
but it will trigger a dtc warning like "graph node unit address
error, expected "b"" if we use it directly after endpoint, so we
use "b" instead here.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
(no changes since v3)
Changes in v3:
- Add RA620 into bridge chain.
.../boot/dts/rockchip/rk3588-rock-5-itx.dts | 59 +++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
index 7de17117df7ae..903ad42f97177 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
@@ -57,6 +57,29 @@ analog-sound {
"Headphone", "Headphones";
};
+ bridge {
+ compatible = "radxa,ra620";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ hdmi_bridge_in: endpoint {
+ remote-endpoint = <&dp1_out_con>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ hdmi_bridge_out: endpoint {
+ remote-endpoint = <&hdmi_con_in>;
+ };
+ };
+ };
+ };
+
gpio-leds {
compatible = "gpio-leds";
pinctrl-names = "default";
@@ -73,6 +96,17 @@ hdd-led2 {
};
};
+ hdmi0-con {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con_in: endpoint {
+ remote-endpoint = <&hdmi_bridge_out>;
+ };
+ };
+ };
+
hdmi1-con {
compatible = "hdmi-connector";
type = "a";
@@ -268,6 +302,24 @@ &cpu_l3 {
cpu-supply = <&vdd_cpu_lit_s0>;
};
+&dp1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&dp1m0_pins>;
+};
+
+&dp1_in {
+ dp1_in_vp2: endpoint {
+ remote-endpoint = <&vp2_out_dp1>;
+ };
+};
+
+&dp1_out {
+ dp1_out_con: endpoint {
+ remote-endpoint = <&hdmi_bridge_in>;
+ };
+};
+
&gpu {
mali-supply = <&vdd_gpu_s0>;
status = "okay";
@@ -1261,3 +1313,10 @@ vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
remote-endpoint = <&hdmi1_in_vp1>;
};
};
+
+&vp2 {
+ vp2_out_dp1: endpoint@b {
+ reg = <ROCKCHIP_VOP2_EP_DP1>;
+ remote-endpoint = <&dp1_in_vp2>;
+ };
+};
--
2.43.0
next prev parent reply other threads:[~2025-07-28 9:03 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-28 8:28 [PATCH v6 00/10] Add support for RK3588 DisplayPort Controller Andy Yan
2025-07-28 8:28 ` [PATCH v6 01/10] dt-bindings: display: rockchip: Add schema for RK3588 DPTX Controller Andy Yan
2025-07-28 8:28 ` [PATCH v6 02/10] drm/bridge: synopsys: Add DW DPTX Controller support library Andy Yan
2025-07-28 12:05 ` Dmitry Baryshkov
2025-08-15 17:44 ` Sebastian Reichel
2025-07-28 8:28 ` [PATCH v6 03/10] drm/rockchip: Add RK3588 DPTX output support Andy Yan
2025-07-28 8:28 ` [PATCH v6 04/10] MAINTAINERS: Add entry for DW DPTX Controller bridge Andy Yan
2025-08-21 11:31 ` Dmitry Baryshkov
2025-07-28 8:28 ` [PATCH v6 05/10] dt-bindings: display: simple-bridge: Add ra620 compatible Andy Yan
2025-07-28 8:28 ` [PATCH v6 06/10] drm/birdge: simple-bridge: Add support for radxa ra620 Andy Yan
2025-08-21 11:36 ` Dmitry Baryshkov
2025-07-28 8:28 ` [PATCH v6 07/10] arm64: dts: rockchip: Add DP0 for rk3588 Andy Yan
2025-07-29 15:10 ` Sebastian Reichel
2025-07-28 8:28 ` [PATCH v6 08/10] arm64: dts: rockchip: Add DP1 " Andy Yan
2025-07-29 15:10 ` Sebastian Reichel
2025-07-28 8:28 ` [PATCH v6 09/10] arm64: dts: rockchip: Enable DisplayPort for rk3588s Cool Pi 4B Andy Yan
2025-07-29 17:09 ` Sebastian Reichel
2025-07-30 12:15 ` Andy Yan
2025-07-31 2:52 ` Andy Yan
2025-08-15 18:00 ` Sebastian Reichel
2025-07-28 8:28 ` Andy Yan [this message]
2025-08-21 10:44 ` Re:[PATCH v6 00/10] Add support for RK3588 DisplayPort Controller Andy Yan
2025-08-21 11:36 ` [PATCH " Dmitry Baryshkov
2025-08-22 9:34 ` Andy Yan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250728082846.3811429-11-andyshrk@163.com \
--to=andyshrk@163.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=andy.yan@rock-chips.com \
--cc=cristian.ciocaltea@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=hjc@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mripard@kernel.org \
--cc=naoki@radxa.com \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=stephen@radxa.com \
--cc=yubing.zhang@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).