* [PATCH v1 1/4] dt-bindings: display: rockchip: analogix-dp: Add support for RK3576
2026-03-10 10:53 [PATCH v1 0/4] Add eDP support for RK3576 Damon Ding
@ 2026-03-10 10:53 ` 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
` (4 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Damon Ding @ 2026-03-10 10:53 UTC (permalink / raw)
To: hjc, heiko, andy.yan, maarten.lankhorst, mripard, tzimmermann,
airlied, simona, robh, krzk+dt, conor+dt, andrzej.hajda,
neil.armstrong, rfoss
Cc: Laurent.pinchart, jonas, jernej.skrabec, nicolas.frattaroli,
alchark, cristian.ciocaltea, sebastian.reichel, kever.yang,
dmitry.baryshkov, luca.ceresoli, dianders, m.szyprowski,
dri-devel, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel, Damon Ding
The eDP TX controller on RK3576 is the same as that on RK3588.
The newly added clock 'hclk' is the video datapath clock.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
---
.../bindings/display/rockchip/rockchip,analogix-dp.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
index d99b23b88cc5..4496a43881f9 100644
--- a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
+++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
@@ -15,6 +15,7 @@ properties:
enum:
- rockchip,rk3288-dp
- rockchip,rk3399-edp
+ - rockchip,rk3576-edp
- rockchip,rk3588-edp
clocks:
@@ -26,7 +27,9 @@ properties:
items:
- const: dp
- const: pclk
- - const: grf
+ - enum:
+ - grf
+ - hclk
power-domains:
maxItems: 1
@@ -65,6 +68,7 @@ allOf:
compatible:
contains:
enum:
+ - rockchip,rk3576-edp
- rockchip,rk3588-edp
then:
properties:
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Claude review: dt-bindings: display: rockchip: analogix-dp: Add support for RK3576
2026-03-10 10:53 ` [PATCH v1 1/4] dt-bindings: display: rockchip: analogix-dp: Add " Damon Ding
@ 2026-03-11 3:27 ` Claude Code Review Bot
0 siblings, 0 replies; 12+ messages in thread
From: Claude Code Review Bot @ 2026-03-11 3:27 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
**Clock-names binding change is problematic.** The patch changes the third clock-name from a fixed `const: grf` to an `enum: [grf, hclk]`:
```yaml
- - const: grf
+ - enum:
+ - grf
+ - hclk
```
This is a semantic change that affects **all** existing compatibles, not just the new RK3576 one. The RK3288 uses a `grf` clock, and now the schema would also allow `hclk` for RK3288, which doesn't make sense. This should instead be handled with a per-compatible conditional (in the `allOf` section), similar to how the reset constraints are already conditional. For example, add an `if`/`then` block that constrains clock-names for RK3576 to `[dp, pclk, hclk]` and keeps the existing behavior for other compatibles.
Alternatively, since RK3576 uses `hclk` and RK3288 uses `grf` as the third clock, consider restructuring the items list to use `oneOf` or per-compatible `clock-names` constraints.
**The cover letter says "The newly added clock 'hclk' is the video datapath clock"** — this description should be in the binding document itself (in the items description or the property description), not just the commit message.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v1 2/4] arm64: dts: rockchip: Add eDP node for RK3576
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-10 10:53 ` 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
` (3 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Damon Ding @ 2026-03-10 10:53 UTC (permalink / raw)
To: hjc, heiko, andy.yan, maarten.lankhorst, mripard, tzimmermann,
airlied, simona, robh, krzk+dt, conor+dt, andrzej.hajda,
neil.armstrong, rfoss
Cc: Laurent.pinchart, jonas, jernej.skrabec, nicolas.frattaroli,
alchark, cristian.ciocaltea, sebastian.reichel, kever.yang,
dmitry.baryshkov, luca.ceresoli, dianders, m.szyprowski,
dri-devel, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel, Damon Ding
Add support for the eDP output on RK3576 SoC.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3576.dtsi | 28 ++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576.dtsi b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
index a86fc6b4e8c4..14900a66d3e1 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
@@ -1446,6 +1446,34 @@ hdmi_out: port@1 {
};
};
+ edp: edp@27dc0000 {
+ compatible = "rockchip,rk3576-edp";
+ reg = <0x0 0x27dc0000 0x0 0x1000>;
+ clocks = <&cru CLK_EDP0_24M>, <&cru PCLK_EDP0>, <&cru HCLK_VO0_ROOT>;
+ clock-names = "dp", "pclk", "hclk";
+ interrupts = <GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&hdptxphy>;
+ phy-names = "dp";
+ power-domains = <&power RK3576_PD_VO0>;
+ resets = <&cru SRST_EDP0_24M>, <&cru SRST_P_EDP0>;
+ reset-names = "dp", "apb";
+ rockchip,grf = <&vo0_grf>;
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ edp_in: port@0 {
+ reg = <0>;
+ };
+
+ edp_out: port@1 {
+ reg = <1>;
+ };
+ };
+ };
+
sai7: sai@27ed0000 {
compatible = "rockchip,rk3576-sai";
reg = <0x0 0x27ed0000 0x0 0x1000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Claude review: arm64: dts: rockchip: Add eDP node for RK3576
2026-03-10 10:53 ` [PATCH v1 2/4] arm64: dts: rockchip: Add eDP node " Damon Ding
@ 2026-03-11 3:27 ` Claude Code Review Bot
0 siblings, 0 replies; 12+ messages in thread
From: Claude Code Review Bot @ 2026-03-11 3:27 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
The DTS node looks well-formed and follows the RK3588 edp0 node pattern closely. A few observations:
- The node uses `HCLK_VO0_ROOT` as the third clock (`hclk`), which matches the binding addition from patch 1.
- The register base `0x27dc0000`, interrupt, clocks, resets, power-domain, and phy references all look reasonable for RK3576.
- The node structure (ports with port@0/port@1) matches the existing RK3588 pattern.
No issues found with this patch.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v1 3/4] drm/bridge: analogix_dp: Add support for RK3576
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-10 10:53 ` [PATCH v1 2/4] arm64: dts: rockchip: Add eDP node " Damon Ding
@ 2026-03-10 10:53 ` 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
` (2 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Damon Ding @ 2026-03-10 10:53 UTC (permalink / raw)
To: hjc, heiko, andy.yan, maarten.lankhorst, mripard, tzimmermann,
airlied, simona, robh, krzk+dt, conor+dt, andrzej.hajda,
neil.armstrong, rfoss
Cc: Laurent.pinchart, jonas, jernej.skrabec, nicolas.frattaroli,
alchark, cristian.ciocaltea, sebastian.reichel, kever.yang,
dmitry.baryshkov, luca.ceresoli, dianders, m.szyprowski,
dri-devel, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel, Damon Ding
Expand enum analogix_dp_devtype with RK3576_EDP, and add max_link_rate
and max_lane_count configs for it.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
---
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 +
include/drm/bridge/analogix_dp.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
index fe7158d9edde..c4e49e8186ab 100644
--- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
+++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
@@ -1248,6 +1248,7 @@ static int analogix_dp_dt_parse_pdata(struct analogix_dp_device *dp)
video_info->max_link_rate = 0x0A;
video_info->max_lane_count = 0x04;
break;
+ case RK3576_EDP:
case RK3588_EDP:
video_info->max_link_rate = 0x14;
video_info->max_lane_count = 0x04;
diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h
index 854af692229b..d1a6e6d44a2b 100644
--- a/include/drm/bridge/analogix_dp.h
+++ b/include/drm/bridge/analogix_dp.h
@@ -16,12 +16,13 @@ enum analogix_dp_devtype {
EXYNOS_DP,
RK3288_DP,
RK3399_EDP,
+ RK3576_EDP,
RK3588_EDP,
};
static inline bool is_rockchip(enum analogix_dp_devtype type)
{
- return type == RK3288_DP || type == RK3399_EDP || type == RK3588_EDP;
+ return type == RK3288_DP || type == RK3399_EDP || type == RK3576_EDP || type == RK3588_EDP;
}
struct analogix_dp_plat_data {
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Claude review: drm/bridge: analogix_dp: Add support for RK3576
2026-03-10 10:53 ` [PATCH v1 3/4] drm/bridge: analogix_dp: Add support " Damon Ding
@ 2026-03-11 3:27 ` Claude Code Review Bot
0 siblings, 0 replies; 12+ messages in thread
From: Claude Code Review Bot @ 2026-03-11 3:27 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
The patch adds `RK3576_EDP` to the `analogix_dp_devtype` enum and makes it fall through to the `RK3588_EDP` case:
```c
+ case RK3576_EDP:
case RK3588_EDP:
video_info->max_link_rate = 0x14;
video_info->max_lane_count = 0x04;
```
This is clean — the cover letter states the eDP TX controller IP is the same as RK3588, so sharing the same max_link_rate (0x14 = HBR2, 5.4 Gbps) and max_lane_count (4) is correct.
The `is_rockchip()` update is also correct:
```c
- return type == RK3288_DP || type == RK3399_EDP || type == RK3588_EDP;
+ return type == RK3288_DP || type == RK3399_EDP || type == RK3576_EDP || type == RK3588_EDP;
```
**Minor nit:** This function keeps growing with each new SoC. It might be cleaner to use a range check or a default-true approach, but that's a pre-existing issue, not something to block this patch.
No blocking issues.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v1 4/4] drm/rockchip: analogix_dp: Add support for RK3576
2026-03-10 10:53 [PATCH v1 0/4] Add eDP support for RK3576 Damon Ding
` (2 preceding siblings ...)
2026-03-10 10:53 ` [PATCH v1 3/4] drm/bridge: analogix_dp: Add support " Damon Ding
@ 2026-03-10 10:53 ` Damon Ding
2026-03-11 3:27 ` Claude review: " Claude Code Review Bot
2026-03-10 11:11 ` [PATCH v1 0/4] Add eDP " Damon Ding
2026-03-11 3:27 ` Claude review: " Claude Code Review Bot
5 siblings, 1 reply; 12+ messages in thread
From: Damon Ding @ 2026-03-10 10:53 UTC (permalink / raw)
To: hjc, heiko, andy.yan, maarten.lankhorst, mripard, tzimmermann,
airlied, simona, robh, krzk+dt, conor+dt, andrzej.hajda,
neil.armstrong, rfoss
Cc: Laurent.pinchart, jonas, jernej.skrabec, nicolas.frattaroli,
alchark, cristian.ciocaltea, sebastian.reichel, kever.yang,
dmitry.baryshkov, luca.ceresoli, dianders, m.szyprowski,
dri-devel, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel, Damon Ding
RK3576 integrates the Analogix eDP 1.3 TX controller IP and the HDMI/eDP
TX Combo PHY based on a Samsung IP block - both of which are the same as
those on RK3588.
The patch currently adds only the basic support, specifically RGB output
up to 4K@60Hz, without the tests for audio, PSR and other eDP 1.3 specific
features.
In additon, the newly added clock 'hclk' is the video datapath clock,
which must be enabled during probing for RK3576 eDP controller.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
---
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
index 832e9766bef0..4f8511636cdf 100644
--- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
+++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
@@ -71,6 +71,7 @@ struct rockchip_dp_device {
struct clk *pclk;
struct clk *grfclk;
+ struct clk *hclk;
struct regmap *grf;
struct reset_control *rst;
struct reset_control *apbrst;
@@ -327,6 +328,11 @@ static int rockchip_dp_of_probe(struct rockchip_dp_device *dp)
return dev_err_probe(dev, PTR_ERR(dp->pclk),
"failed to get pclk property\n");
+ dp->hclk = devm_clk_get_optional_enabled(dev, "hclk");
+ if (IS_ERR(dp->hclk))
+ return dev_err_probe(dev, PTR_ERR(dp->hclk),
+ "failed to get hclk property\n");
+
dp->rst = devm_reset_control_get(dev, "dp");
if (IS_ERR(dp->rst))
return dev_err_probe(dev, PTR_ERR(dp->rst),
@@ -514,6 +520,14 @@ static const struct rockchip_dp_chip_data rk3288_dp[] = {
{ /* sentinel */ }
};
+static const struct rockchip_dp_chip_data rk3576_edp[] = {
+ {
+ .chip_type = RK3576_EDP,
+ .reg = 0x27dc0000,
+ },
+ { /* sentinel */ }
+};
+
static const struct rockchip_dp_chip_data rk3588_edp[] = {
{
.edp_mode = GRF_REG_FIELD(0x0000, 0, 0),
@@ -531,6 +545,7 @@ static const struct rockchip_dp_chip_data rk3588_edp[] = {
static const struct of_device_id rockchip_dp_dt_ids[] = {
{.compatible = "rockchip,rk3288-dp", .data = &rk3288_dp },
{.compatible = "rockchip,rk3399-edp", .data = &rk3399_edp },
+ {.compatible = "rockchip,rk3576-edp", .data = &rk3576_edp },
{.compatible = "rockchip,rk3588-edp", .data = &rk3588_edp },
{}
};
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Claude review: drm/rockchip: analogix_dp: Add support for RK3576
2026-03-10 10:53 ` [PATCH v1 4/4] drm/rockchip: " Damon Ding
@ 2026-03-11 3:27 ` Claude Code Review Bot
0 siblings, 0 replies; 12+ messages in thread
From: Claude Code Review Bot @ 2026-03-11 3:27 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
**hclk lifetime concern.** The `hclk` is acquired with `devm_clk_get_optional_enabled()`:
```c
+ dp->hclk = devm_clk_get_optional_enabled(dev, "hclk");
```
This means the clock is enabled at probe time and stays enabled for the entire lifetime of the device (until driver removal). The commit message says "which must be enabled during probing for RK3576 eDP controller," but keeping it permanently enabled may waste power. Consider whether it should instead be enabled/disabled alongside `pclk` in `rockchip_dp_poweron()`/`rockchip_dp_powerdown()`. If it truly needs to be always-on, a comment explaining why would be helpful.
That said, `devm_clk_get_optional_enabled` is a valid pattern used elsewhere in the kernel, and if the clock must be on whenever the device is bound (e.g., for register access), this is correct.
**Missing `edp_mode` GRF field.** The RK3576 chip_data has no `edp_mode` field set:
```c
+static const struct rockchip_dp_chip_data rk3576_edp[] = {
+ {
+ .chip_type = RK3576_EDP,
+ .reg = 0x27dc0000,
+ },
+ { /* sentinel */ }
+};
```
Compare with RK3588 which has:
```c
.edp_mode = GRF_REG_FIELD(0x0000, 0, 0),
```
The `edp_mode` field is used in `rockchip_dp_poweron()` and `rockchip_dp_powerdown()` via `rockchip_grf_field_write()`. Since the field's `.valid` will be `false` (zero-initialized), `rockchip_grf_field_write()` will return 0 early — so this is functionally safe. But the commit message should clarify whether RK3576 genuinely has no GRF edp_mode bit, or if this is an oversight.
**No `lcdc_sel` either** — this is used in `rockchip_dp_drm_encoder_enable()`. Again, `rockchip_grf_field_write()` will silently no-op due to `.valid = false`. This is consistent with RK3588 which also has no `lcdc_sel`, so this appears intentional.
No blocking issues, but the hclk lifecycle and missing `edp_mode` documentation could use clarification.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v1 0/4] Add eDP support for RK3576
2026-03-10 10:53 [PATCH v1 0/4] Add eDP support for RK3576 Damon Ding
` (3 preceding siblings ...)
2026-03-10 10:53 ` [PATCH v1 4/4] drm/rockchip: " Damon Ding
@ 2026-03-10 11:11 ` Damon Ding
2026-03-11 3:27 ` Claude review: " Claude Code Review Bot
5 siblings, 0 replies; 12+ messages in thread
From: Damon Ding @ 2026-03-10 11:11 UTC (permalink / raw)
To: hjc, heiko, andy.yan, maarten.lankhorst, mripard, tzimmermann,
airlied, simona, robh, krzk+dt, conor+dt, andrzej.hajda,
neil.armstrong, rfoss
Cc: Laurent.pinchart, jonas, jernej.skrabec, nicolas.frattaroli,
alchark, cristian.ciocaltea, sebastian.reichel, kever.yang,
dmitry.baryshkov, luca.ceresoli, dianders, m.szyprowski,
dri-devel, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel
[-- 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
^ permalink raw reply related [flat|nested] 12+ messages in thread* Claude review: Add eDP support for RK3576
2026-03-10 10:53 [PATCH v1 0/4] Add eDP support for RK3576 Damon Ding
` (4 preceding siblings ...)
2026-03-10 11:11 ` [PATCH v1 0/4] Add eDP " Damon Ding
@ 2026-03-11 3:27 ` Claude Code Review Bot
5 siblings, 0 replies; 12+ messages in thread
From: Claude Code Review Bot @ 2026-03-11 3:27 UTC (permalink / raw)
To: dri-devel-reviews
Overall Series Review
Subject: Add eDP support for RK3576
Author: Damon Ding <damon.ding@rock-chips.com>
Patches: 6
Reviewed: 2026-03-11T13:27:10.390206
---
This is a small, straightforward 4-patch series adding eDP support for the RK3576 SoC, leveraging the existing Analogix DP infrastructure already used by RK3288/RK3399/RK3588. The cover letter states it was tested on RK3576 EVB1 hardware. The series is generally well-structured and follows existing patterns, but there are a few issues in the DT binding patch and a concern about the hclk lifecycle management.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 12+ messages in thread