From: Damon Ding <damon.ding@rock-chips.com>
To: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
Dave Jones <s.dave.jones@gmail.com>,
linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Damon Ding <damon.ding@rock-chips.com>
Subject: [PATCH v5 3/3] arm64: dts: rockchip: rk356x: Add eDP controller and phy nodes
Date: Tue, 10 Nov 2026 15:45:33 +0800 [thread overview]
Message-ID: <20261110074533.4052196-4-damon.ding@rock-chips.com> (raw)
In-Reply-To: <20261110074533.4052196-1-damon.ding@rock-chips.com>
Add the eDP PHY GRF (with the eDP PHY child node mapped by its own
register window) and the eDP controller nodes for the RK3568/RK3566
SoCs.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
---
Changes in v4:
- Model the PHY node with a reg property under the parent syscon.
Changes in v5:
- Move the APB clock (PCLK_EDPPHY_GRF) from the parent syscon node to
the PHY node, matching the updated binding and driver. (Sashiko)
- Rename the PHY reference clock to "ref", matching the binding.
---
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
index 1a4562df20ee..e3f370cad5d5 100644
--- a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
@@ -402,6 +402,24 @@ usb2phy1_grf: syscon@fdca8000 {
reg = <0x0 0xfdca8000 0x0 0x8000>;
};
+ edp_phy_grf: syscon@fdcb0000 {
+ compatible = "rockchip,rk3568-edp-phy-grf", "syscon", "simple-mfd";
+ reg = <0x0 0xfdcb0000 0x0 0x8000>;
+ clocks = <&cru PCLK_EDPPHY_GRF>;
+ ranges = <0x0 0x0 0xfdcb0000 0x100>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ edp_phy: phy@0 {
+ compatible = "rockchip,rk3568-edp-phy";
+ reg = <0x0 0x100>;
+ clocks = <&pmucru XIN_OSC0_EDPPHY_G>, <&cru PCLK_EDPPHY_GRF>;
+ clock-names = "ref", "apb";
+ #phy-cells = <0>;
+ status = "disabled";
+ };
+ };
+
pmucru: clock-controller@fdd00000 {
compatible = "rockchip,rk3568-pmucru";
reg = <0x0 0xfdd00000 0x0 0x1000>;
@@ -878,6 +896,33 @@ hdmi_out: port@1 {
};
};
+ edp: edp@fe0c0000 {
+ compatible = "rockchip,rk3568-edp";
+ reg = <0x0 0xfe0c0000 0x0 0x10000>;
+ clocks = <&pmucru XIN_OSC0_EDPPHY_G>, <&cru PCLK_EDP_CTRL>, <&cru HCLK_VO>;
+ clock-names = "dp", "pclk", "hclk";
+ interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&edp_phy>;
+ phy-names = "dp";
+ power-domains = <&power RK3568_PD_VO>;
+ resets = <&cru SRST_EDP_24M>, <&cru SRST_P_EDP_CTRL>;
+ reset-names = "dp", "apb";
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ edp_in: port@0 {
+ reg = <0>;
+ };
+
+ edp_out: port@1 {
+ reg = <1>;
+ };
+ };
+ };
+
qos_gpu: qos@fe128000 {
compatible = "rockchip,rk3568-qos", "syscon";
reg = <0x0 0xfe128000 0x0 0x20>;
--
2.34.1
prev parent reply other threads:[~2026-11-10 7:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 7:45 [PATCH v5 0/3] Add eDP support for RK3568 Damon Ding
2026-11-10 7:45 ` [PATCH v5 1/3] dt-bindings: phy: Add rockchip,rk3568-edp-phy Damon Ding
2026-11-10 7:45 ` [PATCH v5 2/3] phy: rockchip: Add support for Naneng eDP phy Damon Ding
2026-11-10 7:45 ` Damon Ding [this message]
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=20261110074533.4052196-4-damon.ding@rock-chips.com \
--to=damon.ding@rock-chips.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=luca.ceresoli@bootlin.com \
--cc=mani@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=s.dave.jones@gmail.com \
--cc=sebastian.reichel@collabora.com \
--cc=vkoul@kernel.org \
/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
all inboxes | Powered by JetHome®