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
From f4c8fe96b9731a4c1eb6321cde2449a15f5d6050 Mon Sep 17 00:00:00 2001
From: Damon Ding <[email protected]>
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 <[email protected]>
---
 .../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

Reply via email to