From: Damon Ding <damon.ding@rock-chips.com>
To: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
andrzej.hajda@intel.com, neil.armstrong@linaro.org,
rfoss@kernel.org
Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se,
jernej.skrabec@gmail.com, nicolas.frattaroli@collabora.com,
alchark@gmail.com, cristian.ciocaltea@collabora.com,
sebastian.reichel@collabora.com, kever.yang@rock-chips.com,
dmitry.baryshkov@oss.qualcomm.com, luca.ceresoli@bootlin.com,
dianders@chromium.org, m.szyprowski@samsung.com,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 0/4] Add eDP support for RK3576
Date: Tue, 10 Mar 2026 19:11:10 +0800 [thread overview]
Message-ID: <971a7aa1-54cb-4e44-a1c2-8d47687ed173@rock-chips.com> (raw)
In-Reply-To: <20260310105307.309765-1-damon.ding@rock-chips.com>
[-- Attachment #1: Type: text/plain, Size: 964 bytes --]
On 3/10/2026 6:53 PM, Damon Ding wrote:
> These patchs have been tested with a 1536x2048p60 eDP panel on
> RK3576 EVB1 board (hardware modified specially).
The DTS changes are attached as an attachment.
>
> Patch 1~2 are to add the RK3576 eDP node.
> Patch 3~4 are to support the RK3576 Analogix DP controller.
>
> Damon Ding (4):
> dt-bindings: display: rockchip: analogix-dp: Add support for RK3576
> arm64: dts: rockchip: Add eDP node for RK3576
> drm/bridge: analogix_dp: Add support for RK3576
> drm/rockchip: analogix_dp: Add support for RK3576
>
> .../rockchip/rockchip,analogix-dp.yaml | 6 +++-
> arch/arm64/boot/dts/rockchip/rk3576.dtsi | 28 +++++++++++++++++++
> .../drm/bridge/analogix/analogix_dp_core.c | 1 +
> .../gpu/drm/rockchip/analogix_dp-rockchip.c | 15 ++++++++++
> include/drm/bridge/analogix_dp.h | 3 +-
> 5 files changed, 51 insertions(+), 2 deletions(-)
>
Best regards,
Damon
[-- Attachment #2: 0001-Test-only-arm64-dts-rockchip-Enable-eDP-display-on-R.patch --]
[-- Type: text/plain, Size: 3034 bytes --]
From f4c8fe96b9731a4c1eb6321cde2449a15f5d6050 Mon Sep 17 00:00:00 2001
From: Damon Ding <damon.ding@rock-chips.com>
Date: Tue, 10 Mar 2026 18:15:57 +0800
Subject: [PATCH] [Test-only]arm64: dts: rockchip: Enable eDP display on RK3576
EVB1 board
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
---
.../boot/dts/rockchip/rk3576-evb1-v10.dts | 79 +++++++++++++------
1 file changed, 57 insertions(+), 22 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts
index db8fef7a4f1b..c16325266d09 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts
@@ -22,8 +22,15 @@ aliases {
ethernet1 = &gmac1;
};
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ power-supply = <&vcc3v3_lcd_n>;
+ pwms = <&gpio_pwm0 0 25000 0>;
+ };
+
chosen: chosen {
stdout-path = "serial0:1500000n8";
+ bootargs = "root=PARTUUID=614e0000-0000 rootwait";
};
adc_keys: adc-keys {
@@ -61,12 +68,6 @@ button-vol-up {
hdmi-con {
compatible = "hdmi-connector";
type = "a";
-
- port {
- hdmi_con_in: endpoint {
- remote-endpoint = <&hdmi_out_con>;
- };
- };
};
leds: leds {
@@ -78,6 +79,14 @@ work_led: led-0 {
};
};
+ gpio_pwm0: gpio-pwm0 {
+ compatible = "pwm-gpio";
+ gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
+ pinctrl-0 = <&gpio_pwm0_pin>;
+ pinctrl-names = "default";
+ #pwm-cells = <3>;
+ };
+
vbus5v0_typec: regulator-vbus5v0-typec {
compatible = "regulator-fixed";
regulator-name = "vbus5v0_typec";
@@ -264,6 +273,38 @@ &combphy1_psu {
status = "okay";
};
+&edp {
+ force-hpd;
+ status = "okay";
+
+ aux-bus {
+ panel {
+ compatible = "edp-panel";
+ backlight = <&backlight>;
+ power-supply = <&vcc3v3_lcd_n>;
+ no-hpd;
+
+ port {
+ panel_in_edp: endpoint {
+ remote-endpoint = <&edp_out_panel>;
+ };
+ };
+ };
+ };
+};
+
+&edp_in {
+ edp_in_vp0: endpoint {
+ remote-endpoint = <&vp0_out_edp>;
+ };
+};
+
+&edp_out {
+ edp_out_panel: endpoint {
+ remote-endpoint = <&panel_in_edp>;
+ };
+};
+
&gmac0 {
clock_in_out = "output";
phy-mode = "rgmii-rxid";
@@ -300,19 +341,7 @@ &gpu {
};
&hdmi {
- status = "okay";
-};
-
-&hdmi_in {
- hdmi_in_vp0: endpoint {
- remote-endpoint = <&vp0_out_hdmi>;
- };
-};
-
-&hdmi_out {
- hdmi_out_con: endpoint {
- remote-endpoint = <&hdmi_con_in>;
- };
+ status = "disabled";
};
&hdptxphy {
@@ -774,6 +803,12 @@ &pcie1 {
};
&pinctrl {
+ gpio_pwm0 {
+ gpio_pwm0_pin: gpio-pwm0-pin {
+ rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>;
+ };
+ };
+
bluetooth {
bt_reg_on: bt-reg-on {
rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
@@ -936,8 +971,8 @@ &vop_mmu {
};
&vp0 {
- vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
- reg = <ROCKCHIP_VOP2_EP_HDMI0>;
- remote-endpoint = <&hdmi_in_vp0>;
+ vp0_out_edp: endpoint@ROCKCHIP_VOP2_EP_EDP0 {
+ reg = <ROCKCHIP_VOP2_EP_EDP0>;
+ remote-endpoint = <&edp_in_vp0>;
};
};
--
2.34.1
next prev parent reply other threads:[~2026-03-10 11:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-10 10:53 [PATCH v1 0/4] Add eDP support for RK3576 Damon Ding
2026-03-10 10:53 ` [PATCH v1 1/4] dt-bindings: display: rockchip: analogix-dp: Add " Damon Ding
2026-03-11 3:27 ` Claude review: " Claude Code Review Bot
2026-03-10 10:53 ` [PATCH v1 2/4] arm64: dts: rockchip: Add eDP node " Damon Ding
2026-03-11 3:27 ` Claude review: " Claude Code Review Bot
2026-03-10 10:53 ` [PATCH v1 3/4] drm/bridge: analogix_dp: Add support " Damon Ding
2026-03-11 3:27 ` Claude review: " Claude Code Review Bot
2026-03-10 10:53 ` [PATCH v1 4/4] drm/rockchip: " Damon Ding
2026-03-11 3:27 ` Claude review: " Claude Code Review Bot
2026-03-10 11:11 ` Damon Ding [this message]
2026-03-11 3:27 ` Claude review: Add eDP " Claude Code Review Bot
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=971a7aa1-54cb-4e44-a1c2-8d47687ed173@rock-chips.com \
--to=damon.ding@rock-chips.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=alchark@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=andy.yan@rock-chips.com \
--cc=conor+dt@kernel.org \
--cc=cristian.ciocaltea@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=hjc@rock-chips.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kever.yang@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=luca.ceresoli@bootlin.com \
--cc=m.szyprowski@samsung.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=nicolas.frattaroli@collabora.com \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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