devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 v7 07/10] arm64: dts: rockchip: Add DP0 for rk3588
Date: Fri, 22 Aug 2025 14:39:51 +0800	[thread overview]
Message-ID: <20250822063959.692098-8-andyshrk@163.com> (raw)
In-Reply-To: <20250822063959.692098-1-andyshrk@163.com>

From: Andy Yan <andy.yan@rock-chips.com>

The DP0 is compliant with the DisplayPort Specification
Version 1.4, and share the USBDP combo PHY0 with USB 3.1
HOST0 controller.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---

(no changes since v1)

 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
index 70f03e68ba550..b8bcf450e9153 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
@@ -1472,6 +1472,36 @@ dsi1_out: port@1 {
 		};
 	};
 
+	dp0: dp@fde50000 {
+		compatible = "rockchip,rk3588-dp";
+		reg = <0x0 0xfde50000 0x0 0x4000>;
+		interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH 0>;
+		clocks = <&cru PCLK_DP0>, <&cru CLK_AUX16M_0>,
+			 <&cru CLK_DP0>, <&cru MCLK_I2S4_8CH_TX>,
+			 <&cru MCLK_SPDIF2_DP0>;
+		clock-names = "apb", "aux", "hdcp", "i2s", "spdif";
+		assigned-clocks = <&cru CLK_AUX16M_0>;
+		assigned-clock-rates = <16000000>;
+		resets = <&cru SRST_DP0>;
+		phys = <&usbdp_phy0 PHY_TYPE_DP>;
+		power-domains = <&power RK3588_PD_VO0>;
+		#sound-dai-cells = <0>;
+		status = "disabled";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			dp0_in: port@0 {
+				reg = <0>;
+			};
+
+			dp0_out: port@1 {
+				reg = <1>;
+			};
+		};
+	};
+
 	hdmi0: hdmi@fde80000 {
 		compatible = "rockchip,rk3588-dw-hdmi-qp";
 		reg = <0x0 0xfde80000 0x0 0x20000>;
-- 
2.43.0


  parent reply	other threads:[~2025-08-22  6:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-22  6:39 [PATCH v7 00/10] Add support for RK3588 DisplayPort Controller Andy Yan
2025-08-22  6:39 ` [PATCH v7 01/10] dt-bindings: display: rockchip: Add schema for RK3588 DPTX Controller Andy Yan
2025-08-22  6:39 ` [PATCH v7 02/10] drm/bridge: synopsys: Add DW DPTX Controller support library Andy Yan
2025-08-22  6:39 ` [PATCH v7 03/10] drm/rockchip: Add RK3588 DPTX output support Andy Yan
2025-08-23 14:36   ` Heiko Stübner
2025-08-22  6:39 ` [PATCH v7 04/10] MAINTAINERS: Add entry for DW DPTX Controller bridge Andy Yan
2025-08-23 14:35   ` Heiko Stübner
2025-08-22  6:39 ` [PATCH v7 05/10] dt-bindings: display: simple-bridge: Add ra620 compatible Andy Yan
2025-08-22  6:39 ` [PATCH v7 06/10] drm/bridge: simple-bridge: Add support for radxa ra620 Andy Yan
2025-08-22  6:39 ` Andy Yan [this message]
2025-08-22  6:39 ` [PATCH v7 08/10] arm64: dts: rockchip: Add DP1 for rk3588 Andy Yan
2025-08-22  6:39 ` [PATCH v7 09/10] arm64: dts: rockchip: Enable DisplayPort for rk3588s Cool Pi 4B Andy Yan
2025-08-22  6:39 ` [PATCH v7 10/10] arm64: dts: rockchip: Enable DP2HDMI for ROCK 5 ITX Andy Yan
2025-08-22 18:12 ` (subset) [PATCH v7 00/10] Add support for RK3588 DisplayPort Controller Dmitry Baryshkov
2025-08-27 22:24 ` Dmitry Baryshkov
2025-08-28  7:50   ` Thomas Zimmermann
2025-08-28  8:05     ` Maxime Ripard
2025-08-28 12:18       ` Heiko Stuebner
2025-08-28 12:56       ` Dmitry Baryshkov
2025-09-02 17:07         ` Maxime Ripard
2025-08-28 12:51 ` (subset) " Dmitry Baryshkov
2025-08-29 14:41 ` Maud Spierings
2025-08-31 12:12   ` Andy Yan
2025-09-01 10:59 ` (subset) " Heiko Stuebner

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=20250822063959.692098-8-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).